上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页
摘要: 一,安装 mod_wsgisudo apt-get installapache2-threaded-devsudo apt-get install apache2 libapache2-mod-wsgidjango 最新版已经不支持mod_python,所以mod_wsgi是最好的选择增加apach... 阅读全文
posted @ 2014-08-28 20:09 UCanBeFree 阅读(355) 评论(0) 推荐(0)
摘要: 每个人都有自己注释的风格,不强求格式一样。基本注释内容: 类注释:/** * The control file of dashboard module of ZenTaoPMS. * * @copyright Copyright 2009-2013 青岛易软天创网络科技有限公司 (QingDa... 阅读全文
posted @ 2014-08-28 09:46 UCanBeFree 阅读(411) 评论(0) 推荐(0)
摘要: 统计算法执行时间: 1> 事后统计的方法。 2>事前分析估算的方法。 阅读全文
posted @ 2014-08-26 17:46 UCanBeFree 阅读(144) 评论(0) 推荐(0)
摘要: 如何快速上传windows上的文件sudo apt-get install lrzsz.执行rz命令即可上传。执行sz命令即可下载客户端建立生成公钥和私钥。ssh-keygen-trsacat~/.ssh/id_rsa.pub>>~/.ssh/authorized_keys服务器上:cd /etc/... 阅读全文
posted @ 2014-08-25 18:43 UCanBeFree 阅读(268) 评论(0) 推荐(0)
摘要: 根据函数名调用方法如: call_user_func 阅读全文
posted @ 2014-08-23 16:11 UCanBeFree 阅读(232) 评论(0) 推荐(0)
摘要: #!/usr/bin/env python#!-*-coding=utf-8-*-import refp=open("/home/xyt/桌面/erp_access.log","r")str=fp.readline()while str: str=fp.readline() ... 阅读全文
posted @ 2014-08-16 12:17 UCanBeFree 阅读(223) 评论(0) 推荐(0)
摘要: 1,生成项目生成一个django项目django-admin.py startproject django-demo生成数据库表python manage.py syncdb生成已个django应用django-admin.py startapp polls生成应用中定义过的模块的sql语句,并不执... 阅读全文
posted @ 2014-08-01 19:36 UCanBeFree 阅读(152) 评论(0) 推荐(0)
摘要: 查看netstat -anptcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN 12410/python 关闭kill -9 12410 阅读全文
posted @ 2014-08-01 19:23 UCanBeFree 阅读(137) 评论(0) 推荐(0)
摘要: 批量执行:update `erp_orders` set `orders_shipping_code`='RL007169726CN' where `erp_orders_id`=1055614141 and orders_shipping_code='';update `erp_orders` s... 阅读全文
posted @ 2014-07-25 12:41 UCanBeFree 阅读(224) 评论(0) 推荐(0)
摘要: 复制: 阅读全文
posted @ 2014-07-24 15:47 UCanBeFree 阅读(95) 评论(0) 推荐(0)
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 18 下一页