Chinaunix首页 | 论坛 | 博客
  • 博客访问: 463405
  • 博文数量: 108
  • 博客积分: 25
  • 博客等级: 民兵
  • 技术积分: 1134
  • 用 户 组: 普通用户
  • 注册时间: 2010-03-29 19:43
文章分类

全部博文(108)

文章存档

2016年(10)

2015年(9)

2014年(73)

2013年(16)

我的朋友

发布时间:2014-08-18 17:01:31

Fatal error: Uncaught exception ‘RedisException’ with message ‘read error on connection’ini_set('default_socket_timeout', -1);另外redis.conf里的设置需设置成timeout=0;......【阅读全文】

阅读(1317) | 评论(0) | 转发(0)

发布时间:2014-08-14 18:28:03

点击(此处)折叠或打开Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> import re>>> re.split('\W+','Words, words, words').........【阅读全文】

阅读(1044) | 评论(0) | 转发(0)

发布时间:2014-08-13 12:26:06

计算pi。  pi=$(echo "scale=10; 4*a(1)" | bc -l)下面的代码会在子网掩码计算上有用。点击(此处)折叠或打开root@localhost:~# echo "obase=2;ibase=10;255"|bc11111111root@localhost:~# echo "obase=16;ibase=10;100"|bc64.........【阅读全文】

阅读(1362) | 评论(0) | 转发(0)

发布时间:2014-08-13 12:00:02

点击(此处)折叠或打开TAILF(1) Linux Programmer’s Manual TAILF(1)NAMEtailf - follow the growth of a log fileSYNOPSIStailf [OPTION] fileDESCRIPTION.........【阅读全文】

阅读(1345) | 评论(0) | 转发(0)

发布时间:2014-08-11 13:14:06

点击(此处)折叠或打开[root@20-11-13-9 ~]# pythonPython 2.6.6 (r266:84292, Jan 22 2014, 09:42:36) [GCC 4.4.7 20120313 (Red Hat 4.4.7-4)] on linux2Type "help", "copyright", "credits" or "license" for more information.>>> .........【阅读全文】

阅读(907) | 评论(0) | 转发(0)
给主人留下些什么吧!~~
留言热议
请登录后留言。

登录 注册