上一页 1 2 3 4 5 6 ··· 16 下一页

2016年7月13日

摘要: 为避免在模板中使用URL的硬编码,可以使用{% url %}模板标签来解决 阅读全文

posted @ 2016-07-13 11:09 NooBkey 阅读(213) 评论(0) 推荐(0) 编辑


2016年7月4日

摘要: #!/usr/bin/python2.7#coding:utf8import sysimport jpypeimport os.path phone_num = sys.argv[1]#jarpath = os.path.join(os.path.abspath('.'), 'build/jar') 阅读全文

posted @ 2016-07-04 12:41 NooBkey 阅读(4393) 评论(0) 推荐(0) 编辑


2016年6月28日

摘要: 把fonts.googleapis.com替换为fonts.useso.com即可 阅读全文

posted @ 2016-06-28 20:06 NooBkey 阅读(503) 评论(0) 推荐(0) 编辑


2016年6月2日

摘要: 我们需要对List、Dict进行排序,Python提供了两个方法对给定的List L进行排序,方法1.用List的成员函数sort进行排序,在本地进行排序,不返回副本方法2.用built-in函数sorted进行排序(从2.4开始),返回副本,原始输入不变 sorted >>> help(sorte 阅读全文

posted @ 2016-06-02 13:29 NooBkey 阅读(246) 评论(0) 推荐(0) 编辑


2016年6月1日

摘要: 阅读全文

posted @ 2016-06-01 09:27 NooBkey 阅读(113) 评论(0) 推荐(0) 编辑


2016年5月23日

摘要: 在是用freeswitch时利用ESL的python调用时传递字符串报错 修改文件esl_wrap.cpp ##### /* for C or C++ function pointers *///添加定义#define SWIG_InternalNewPointerObj(ptr, type, fl 阅读全文

posted @ 2016-05-23 02:02 NooBkey 阅读(1011) 评论(0) 推荐(0) 编辑


2016年4月25日

摘要: int doses[] = {1,3,2,1000}; printf("%i",3[doses]) doses[3] == *(doses +3) == *(3+doses) == 3[doses] 阅读全文

posted @ 2016-04-25 13:30 NooBkey 阅读(137) 评论(0) 推荐(0) 编辑


2016年4月14日

摘要: os.environ['TZ'] = 'Asia/Shanghai' os.environ['TZ'] = 'Europe/London' hour_cur = time.strftime('%H') 阅读全文

posted @ 2016-04-14 11:17 NooBkey 阅读(788) 评论(0) 推荐(0) 编辑


2016年3月25日

摘要: Salt官方将RHEL5/CentOS5的软件包维护迁移到了Fedora Corp (https://copr.fedoraproject.org/coprs/saltstack/salt-el5/)中, RHEL5/CentOS5的用户可以增加如下repo进行安装更新,你可以下载 https:// 阅读全文

posted @ 2016-03-25 16:52 NooBkey 阅读(172) 评论(0) 推荐(0) 编辑


2016年3月9日

摘要: (error) MISCONF Redis is configured to save RDB snapshots, but is currently not able to persist on disk. Commands that may modify the data set are dis 阅读全文

posted @ 2016-03-09 11:22 NooBkey 阅读(153) 评论(0) 推荐(0) 编辑


上一页 1 2 3 4 5 6 ··· 16 下一页

Copyright © 2024 NooBkey
Powered by .NET 8.0 on Kubernetes