摘要:
1.设置IDE皮肤主题 File -> Settings -> IDE Settings -> Appearance -> Theme -> 选择“Alloy.IDEA Theme”2.设置编辑器“颜色与字体”主题 File -> Settings -> IDE Settings -> Editor... 阅读全文
摘要:
查看系统版本[root@webtest76 ~]# cat /etc/redhat-releaseCentOS Linux release 7.0.1406 (Core)[root@localhost ~]# cat /etc/locale.conf LANG=en_US.UTF-8[root@lo... 阅读全文
摘要:
脚本代码function submitForm(){ var post_data = $("#form1").getdict(); var data_dict = {}; $.each(post_data, function(){ data_dict[this.name] = this.... 阅读全文
摘要:
## test.py #########################import sysif __name__ == "__main__": args = sys.argv print args print len(args)######################$ python t... 阅读全文
摘要:
有人说:virtualenv、fabric 和 pip 是 pythoneer 的三大神器。不管认不认同,至少要先认识一下,pip现在倒是经常用到,virtualenv第一次听说,不过,总得尝试一下吧。一、安装$ sudo pip install virtualenv因为我已经安装了pip,那么就直... 阅读全文
摘要:
import datetimeimport time#获取当前时间datetime.datetime.now()#获取当前日期datetime.date.today()#字符串转换为时间格式>>> t = time.strptime("2009-08-08", "%Y-%m-%d")>>> y,m,... 阅读全文
摘要:
内容链接:http://www.liaoxuefeng.com/wiki/001374738125095c955c1e6d8bb493182103fac9270762a000/001386832360548a6491f20c62d427287739fcfa5d5be1f000http://www.r... 阅读全文
摘要:
#coding=utf-8import urllib2import threadingimport timeTOTAL = 0 #总数 SUCC = 0 #响应成功数 FAIL = 0 #响应失败数 EXCEPT = 0 #响应异常数 MAXTIME=0 #最大响应时间 MINTIME=100 #最... 阅读全文
摘要:
centos 安装pdfkit1、先安装pdfkit依赖包 wkhtmltopdf 安装方式: # wget http://download.gna.org/wkhtmltopdf/0.12/0.12.2.1/wkhtmltox-0.12.2.1_linux-centos6-amd64.rp... 阅读全文
摘要:
备份数据库(包含全部表和全部存储过程):C:\Documents and Settings\Administrator>mysqldump -h localhost -u root -p -R bannei >d:/log/mydb.sqlEnter password: ******//备份数据库所... 阅读全文