菜园前端 菜园前端
1年前
JavaScript的基础语法介绍
原文链接:变量声明在JavaScript程序中,使用一个变量之前应当先声明。变量是使用关键字var来声明的。javascriptvarivarsum20如果未在var声明语句中给变量赋予初始值,那么虽然声明了这个变量,但在给它传入一个值之前,它的初始值就是
Stella981 Stella981
2年前
RabbitMQ 日志管理
日志默认输出位置如果我们是通过rpm方式进行安装的,那么系统默认会把日志放在/var/log/rabbitmq/目录下日志说明在日志目录/var/log/rabbitmq目录下,默认会有两类日志文件,一个是rabbit@{hostname}.log,另一个是rabbit@{hostname}sasl.log。
Wesley13 Wesley13
2年前
ubuntu下安装dokuwiki
1.1\.安装apache2、php5sudoaptgetinstallapache2php52.2\.下载dokuwiki,解压cd/var/wwwsudocp~/download/dokuwiki20110525a.tgz./
Wesley13 Wesley13
2年前
ubuntu中apache2设置html编码UTF8
针对每个目录设置编码/etc/apache2/sitesavailable/000default.conf<VirtualHost:80ServerAdminwebmaster@localhostDocumentRoot/var/www/htmlError
Stella981 Stella981
2年前
Delphi 目录操作
删除目录:function DelDirectory(const Source:string): boolean; var   fo: TSHFILEOPSTRUCT; begin   FillChar(fo, SizeOf(fo), 0);   with fo do   begi
Stella981 Stella981
2年前
Linux用户登录记录日志和相关查看命令汇总(转)
\1utmp、wtmp、btmp文件Linux用户登录信息放在三个文件中:1  /var/run/utmp:记录当前正在登录系统的用户信息,默认由who和w记录当前登录用户的信息,uptime记录系统启动时间;2  /var/log/wtmp:记录当前正在登录和历史登录系统的用户信息,默认由las
Wesley13 Wesley13
2年前
JS授权
(function(){varorigin_urllocation.href;varoauth_url'https://vx.mcilife.com/weixin/api/oauth/?callback';var$_GET(function(){
Stella981 Stella981
2年前
Linux substring & if
!/bin/bashx.$HOME/.bash_profilevarPOJ_2versionNumber${var:4:1}if"$versionNumber""1";thenecho"Project1"elif"$versionNum
Stella981 Stella981
2年前
Layer 关闭弹窗
var index  parent.layer.getFrameIndex(window.name); //获取窗口索引parent.layer.close(index);layer.open({                            type : 2,                            skin : '
十月飞翔 十月飞翔
2年前
Docker FAQ
1.isthedockerdaemonrunning?解决办法:$systemctldaemonreload$sudoservicedockerrestart$sudoservicedockerstatus(shouldseeactive(running))(docker客户端通过unix:///var/run/doc