`
FZtree
  • 浏览: 109996 次
  • 性别: Icon_minigender_1
  • 来自: 上海
社区版块
存档分类
最新评论
文章列表
js is awesome  
http://blog.csdn.net/lyx2007825/article/details/10089115
linux 有两种登录shell:login和non-login:   login shell:登录shell时需要完整的登录流程,称为 login shell。何为完整:输入用户名和密码。例如:走tty1-tty6控制终端,或走ssh等伪终端远程登入。   non-login shell:登入shell时不需要输入帐号信息。例如在X11下,打开伪终端,或者在shell下,进入shell子进程。   这两种登入shell的区别是:在登入shell时,读取的配置文件不同。   login shell(bash)在登入时,会读取的配置文件: 1. /etc/profile 2 ...
问:adduser --gecos GECOS是什么意思呢? 答:GECOS:用户的详细信息(如姓名,年龄,电话等)   less /etc/passwd 查看用户列表 格式:account:password:UID:GID:GECOS:diretory:shell         account: 用户名或帐号         password :用户密码占位符         UID:用户的ID号         GID:用户所在组的ID号         GECOS:用户的详细信息(如姓名,年龄,电话等)         diretory:用户所的家目录       ...
http://www.tantengvip.com/2013/11/php-reflectionclass-object/      
<?php $tar = array('father'=>'rendy'); function test(array $arr){ $arr['father'] = 'test'; echo 'TEST>>'.$arr['father']; echo "\n"; } test($tar); echo $tar['father']; 输出  TEST>>test rendy       <?php $tar = new stdClass(); $tar->father ...

ufw

sudo ufw status numbered   sudo ufw enable   sudo ufw allow mysql sudo ufw allow ssh sudo ufw allow 3000   sudo ufw delete 3 删除第三条规则   sudo ufw allow from 192.168.1.100 允许此IP访问所有的本机端口 sudo ufw allow from 192.168.1.132/24 允许子网所有机器访问所有的本机端口   --------------------------------------------- ...
cat /etc/passwd   sudo mount -o username=Administrator,password=czdtellyou,rw,uid=33,gid=33  //192.168.1.90/www  /home/ufzt/work/czd    
 http://fztree.iteye.com/blog/2211746  在这篇文章里,我写了一个php脚本,用来定时关闭未付款的订单。   考虑到脚本的可扩展性 我简单封装了一个worker类 具体的执行类是CloseTradeWorker 配置文件config 日志写在/var/log/etz-dev/   先看配置文件 <?php return array( 'database' => array( 'host' => "localhost", ...
<?php function std_echo($words){ echo date('Y-m-d H:m:s')."\t".$words."\n"; } std_echo ('This is a job.'); $host = "localhost"; $username = "cc"; $password = "cc"; $database_test = "c0516"; // 连接到数据库 $con ...
Configuration of System V init under Debian GNU/Linux   Most Unix versions have a file here that describes how the scripts in this directory work, and how the links in the /etc/rc?.d/ directories influence system startup/shutdown.   For Debian, this information is contained in the policy manua ...
Ubuntu 12.04 LTS http://cdimage.ubuntu.com/releases/12.04/release/ubuntu-12.04.4-desktop-amd64+mac.iso   curl -L --progress http://download.redis.io/releases/redis-2.8.19.tar.gz | tar xz cd redis-2.8.19 make sudo make install #conf vi redis.conf -+ daemonize yes -+ pidfile /var/run/ ...
$cat /proc/version Linux version 3.11.0-15-generic (buildd@allspice) (gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5) ) #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 $cat /etc/issue Ubuntu 12.04.4 LTS \n \l $redis-server --version Redis server version 2.2.12 (00000000:0)   less /e ...
$('#msm_send').css('background', '#4EAFE1').css('cursor','pointer');  改为 $('#msm_send').css({"background":"#4EAFE1","cursor":"pointer"});  
PHP Fatal error:  Call to undefined function curl_init() in /home/ufzt/work/dev/App/Common/function.php on line 1406, referer: http://dev.etz.com/   $sudo apt-get install php5-curl $sudo service apache2 restart  
Global site tag (gtag.js) - Google Analytics