1 PHP研发工程师(Junior)
职责:
-负责运营活动功能模块开发及数据统计
-负责服务后台管理平台开发 要求:
-1年以上服务端开发经验
-熟练掌握LNMP开发,并具备良好的编程风格
-熟悉shell、awk/sed等常用文本工具处理数据
-了解CI或用过其他MVC等常用框架;
-了解sma...
分类:
其他好文 时间:
2014-07-28 14:34:43
阅读次数:
375
打造最全的CMS类教程聚合!日期时间格式 (利用strftime()函数格式化时间)首页:([field:pubdate function='strftime("%m-%d",@me)'/])==(5-15) ([field:pubdate function='strftime("%b %d, %Y...
分类:
其他好文 时间:
2014-07-27 09:58:22
阅读次数:
240
都是工作中用到的,解决问题至上,不求甚解,怕再忘了,所以记录一下,勿喷。cat xxx.20140725.log |grep ,,2,,1,,|sed 's/,,/\t/g'|cut -f 1,10|awk '{a[$0]++}END{for(i in a) print i}'|awk '{a[$2...
分类:
系统相关 时间:
2014-07-25 14:16:41
阅读次数:
319
在/etc/profile追加exportHISTORY_FILE=/var/log/history/userhistory.log
readonlyPROMPT_COMMAND=‘{date"+%y-%m-%d%T#####$(whoami|awk"{print\$1\"\"\$2\"\"\$NF}")####$(id|awk"{print\$1}")####$(history1|{readxcmd;echo"$cmd";})";}>>$HISTORY_FILE‘重读source/et..
分类:
系统相关 时间:
2014-07-24 23:54:14
阅读次数:
281
一下是重启Linux下某进程的shell脚本,以tomcat进程为例:
#!/bin/sh
pid=`ps -ef|grep tomcat|grep -v grep|awk '{print $2}'`
if [ "$pid" = "" ] ; then
echo "tomcat service does not start!"
else
kill -9 $pid
pi...
分类:
系统相关 时间:
2014-07-24 10:28:03
阅读次数:
251
import osimport timesource= r"out_res.txt"target_dir= r"F:\python\Doc"target=target_dir+time.strftime('%Y%m%d%H%M%S')+'.zip'zip_commond="makecab %s %....
分类:
编程语言 时间:
2014-07-23 12:39:46
阅读次数:
236
shell脚本报错:"[:=:unaryoperatorexpected"md5_109a="81ab961153b62d207f0f517048881b5d"md5_109b=`md5suminstall.bin|awk‘{print$1}‘`if[$md5_109a!=$md5_109b]原因,当文件install.bin不存在时,$md5_109b为空这样对比字符串就变成了if[81ab961153b62d207f0f517048881b5d!..
分类:
其他好文 时间:
2014-07-23 00:20:38
阅读次数:
211
目标
}掌握linux的一些基本命令
}掌握linux常用的系统管理命令
}学会日常软件的安装
}在linux系统里面发布web项目
正文...
分类:
系统相关 时间:
2014-07-23 00:01:04
阅读次数:
468
#!/usr/bin#设置数据库连接conn='mysql -hhost -Pport -uusername -ppassword'#获取最新的binlog文件logfile=$($conn -e "show master logs" | tail -n 1 | awk -F" " '{print ...
分类:
数据库 时间:
2014-07-22 23:22:47
阅读次数:
298