一。查看内核版本命令:1) [root@SOR_SYS ~]# cat /proc/versionLinux version 2.6.18-238.el5 (mockbuild@x86-012.build.bos.redhat.com) (gcc version 4.1.2 20080704 (Re...
分类:
系统相关 时间:
2014-06-25 22:40:48
阅读次数:
361
[ Talk is Cheap Show me the CODE ] : jQuery Mobile工具栏
Written In The Font
“ Wirte less Do more”
学习内容:
页眉工具栏和页眉按钮导航工具栏页脚工具栏定位工具栏
页眉工具栏和页眉按钮
页眉是网页身体的头不一样.下面我们演示下在页面工具栏中添加两个连接,中间...
分类:
Web程序 时间:
2014-06-25 20:07:02
阅读次数:
280
启动:
sudo /etc/init.d/mysql start
停止:
sudo /etc/init.d/mysql stop
重启:
sudo /etc/init.d/mysql restart
查看日志:
cat /var/log/mysql.err
cat /var/log/mysql/error.log...
分类:
数据库 时间:
2014-06-24 23:06:43
阅读次数:
242
shell linux基本命令实例 随笔2014年6月23日19:22:27...
分类:
系统相关 时间:
2014-06-24 22:07:42
阅读次数:
346
绝对路径与相对路径:目录及其相关操作:. 代表此层目录..代表上一层目录- 代表前一个工作目录~ 代表目前用户身份所在的主文件夹1.cd 切换目录 eg:cd ..2.pwd [-p] 显示目前所在目录,-P代表不使用链接路径3.mkdir 新建新目录 -m 配置文件权限 -P 地柜创建目录 ...
分类:
系统相关 时间:
2014-06-24 21:20:38
阅读次数:
329
题目
Implement regular expression matching with support for '.' and '*'.
'.' Matches any single character.
'*' Matches zero or more of the preceding element.
The matching should cover the ent...
分类:
其他好文 时间:
2014-06-24 18:43:56
阅读次数:
224
一:勘误
classifier类中: def fprob(self, f, cat):
if self.catcount(cat) == 0:
return 0
#notice: rember change int to double or float
# + 0.0 or *1.0 is ok, other wise, may get 0.
return self.fc...
分类:
其他好文 时间:
2014-06-24 17:49:42
阅读次数:
211
OK,上一篇总结了executionmodules的用法。这一篇准备总结一下statemodules该怎么写。顺便把上一篇executionmodules遗留下来的那个装饰器给写一下。看一下写的这个模块
root@salt-master:~#cat/srv/salt/_modules/liss.py
importsalt.utils.decoratorsasdecorators
importos
@d..
分类:
其他好文 时间:
2014-06-24 17:00:37
阅读次数:
265
微软近期Open的职位:Job Description:Bing Index Serve team is hiring! We are one of the core teams in Bing serving more than 30% of worldwide search traffic wi...
分类:
其他好文 时间:
2014-06-24 11:06:44
阅读次数:
268
我在编写游戏的时候遇到了这个问题, 物理引擎其他的内容还好理解, 就这三个函数就是没找到有人详细的解释一下。 我不知道这个都没弄明白,游戏是怎么做出来的。那我就不吐糟了, 下面的所有内容都是我的个人推断。不知道正不正确。 反正我目前是这么理解的。
我们先来看看这三个函数的定义:
/**
* A mask that defines which cat...
分类:
其他好文 时间:
2014-06-22 08:01:58
阅读次数:
217