03 2017 档案
摘要:输入sudo 出现 sudoers的权限被改了
阅读全文
摘要:1 : cd /usr/local 2 : sudo wget http://nginx.org/download/nginx-1.2.8.tar.gz 3 : sudo tar -zxvf nginx-1.2.8.tar.gz 4 : sudo apt-get install libpcre3 libpcre3-dev zlib1g-dev 5 : cd nginx-...
阅读全文
摘要:cutlog.sh mv 后面的路径一定要加 " " crontab -e * * * * * /usr/local/Cellar/nginx/1.10.3/logs/nginx_log.sh
阅读全文
摘要:手动切割: 手动切割只需要两个1:备份,2新开 脚本切割: 新建脚本cutlog.sh D = $(data +%Y%m%d) #获取当天的日期 mv /user/logcal/nginx/logs/access.log ${D}.log #将老的日志文件备份到 以当天的日期命名的日志中 kill
阅读全文
摘要:http://wenqiang-china.github.io/2016/05/13/python-opetating-excel/
阅读全文
摘要:http://www.bjhee.com/flask-ext8.html 中文文档:http://docs.jinkan.org/docs/flask-login/
阅读全文
摘要:官网:http://www.pythondoc.com/flask-login/ http://liuliqiang.info/flask_login_usage_and_more_tech/ https://amberno1111.github.io/2016/03/22/Flask/Flask-
阅读全文
摘要:window.onresize = adjuest; function adjuest(){ var picw = $(".imgbox img").width(); var pich = $(".imgbox img").height(); var x1 = parseInt(picw*0.287
阅读全文
摘要:你要填写的内容 .wrapper{ height:400px; display:table; } .content{ vertical-align:middle; display:table-cell; border:1pxsolid#FF0099; background-color:#FFCCFF;...
阅读全文
摘要:官网:http://docs.jinkan.org/docs/flask/patterns/fileuploads.html
阅读全文
摘要:更多 http://www.qingpingshan.com/bc/flex/205196.html https://www.polarxiong.com/archives/Flask%E4%BD%BF%E7%94%A8%E6%97%A5%E5%BF%97%E8%AE%B0%E5%BD%95%E5%
阅读全文
摘要:function isValidDate(sText) { var reDate = /(?:0[1-9]|[12][0-9]|3[01])\/(?:0[1-9]|1[0-2])\/(?:19|20\d{2})/; return reDate.test(sText); } function vali
阅读全文

浙公网安备 33010602011771号