系统# uname -a # 查看内核/操作系统/CPU信息# head -n 1 /etc/issue # 查看操作系统版本# cat /proc/cpuinfo # 查看CPU信息# hostname # 查看计算机名# ls...
分类:
其他好文 时间:
2014-10-08 18:12:05
阅读次数:
214
关于python的编码问题一直以来不得解,终于在今天从这篇博文中明白了。原文地址:http://nedbatchelder.com/text/unipain.html译文地址:http://pycoders-weekly-chinese.readthedocs.org/en/latest/issue...
分类:
编程语言 时间:
2014-10-06 05:20:19
阅读次数:
375
2down voteAdditional to B H answer. Also lookthis answer.Got this issue when launching my landscape only app from portrait orientation (also the app s...
分类:
移动开发 时间:
2014-10-02 16:58:43
阅读次数:
3647
最近bash漏洞在网上闹得沸沸扬扬的,我也修补一下,以防万一。
需要用到的命令:
查看操作形同版本:cat /etc/issue
查看操作系统是64位还是32位:sudo uname --m
查看bash版本:bash -version
需要修复的ubuntu版本及bash版本:
ubuntu 14.04 kylin (4.3.11) 64bit
ubuntu...
分类:
其他好文 时间:
2014-09-30 22:08:50
阅读次数:
237
这篇文章中,有介绍UIWebView与JavaScript交互,在UIWebView截获JavaScript请求处理,从app的角度,这是JavaScript的Hook请求。
在Xcode6之前的App版本,JavaScript可以这样将Hook请求发送出来:
HTML:
test linkJavaScript:
function xcode6(){
var...
分类:
编程语言 时间:
2014-09-30 20:00:29
阅读次数:
171
一. 官网说明 在MOS 上的一篇文章讲到了rebuild online 和offline的区别: ?????? Index Rebuild Is Hanging Or Taking Too Long [ID 272762.1] ? Symptoms: ========= ?????? Performance ?issue...
分类:
数据库 时间:
2014-09-29 21:00:31
阅读次数:
375
一:#cat/etc/issue二:#lsb_release-a三:cat/etc/redhat-release
分类:
系统相关 时间:
2014-09-29 17:08:31
阅读次数:
190
查看linux的版本信息 cat /etc/issue//查看linux的版本信息[root@VM_32_234_centos mysql-5.6.15]# cat /etc/issueCentOS release 6.2 (Final)Kernel \r on an \m lsb_relea...
分类:
系统相关 时间:
2014-09-29 12:24:40
阅读次数:
166
SqlServer2012中identity列存在一个特性:当服务器重启时,定义为int的identity列会自动在原来最大值上加1000。例如你原来一个自增列中最大值是2,那你重启后插入一条数据到这个表中,你的这个自增列就会是1002了,在2008里就应该是3.定义为bigint的identity...
分类:
数据库 时间:
2014-09-25 19:28:57
阅读次数:
170
一、环境操作系统:#uname-r
2.6.32-358.el6.x86_64
#cat/etc/issue
CentOSrelease6.4(Final)
Kernel\ronan\m主:192.168.137.148从:192.168.137.154二、主从同步系统时间#ntpdatentp.api.bz&&hwclock-w--systohc三、安装#wget
#tarxfmongodb-linux-x86_64-enterprise..
分类:
数据库 时间:
2014-09-24 18:55:18
阅读次数:
296