1、
??
Valid Palindrome
Given a string, determine if it is a palindrome, considering only alphanumeric characters and ignoring cases.
For example,
"A man, a plan, a canal: Panama" is a palindrom...
分类:
其他好文 时间:
2014-05-13 07:06:35
阅读次数:
284
Problem Description
Many years ago , in Teddy’s hometown there was a man who was called “Bone Collector”. This man like to collect varies of bones , such as dog’s , cow’s , also he went to the grav...
分类:
其他好文 时间:
2014-05-13 06:58:19
阅读次数:
523
看到很多程序都是根据CPU个数来创建线程个数,当时很不理解他们之间的关系,咨询了项目组的同事后才有了大致了解。1.相关系统函数下面的函数可以通过man命令查询到。SYNOPSIS
#define_GNU_SOURCE
#include<pthread.h>
intpthread_setaffinity_np(pthread_tthread,size_tc..
分类:
编程语言 时间:
2014-05-13 04:08:00
阅读次数:
450
1、复制表命令格式Createtable表名复制表时,原表key字段的属性不会被复制给新表。复制学生信息表stuinfo复制叫stuinfo_1402Createtablestuinfo_1402select*fromstuinfo;//把stuinfo中的内容全部复制Createtablestuinfo_1402selectname,age,sexfromstuinfowheresex=”man”;/..
分类:
其他好文 时间:
2014-05-13 00:43:38
阅读次数:
311
零、求人不如求已:
1、 在Linux中,文件,文件夹,驱动,命令,脚本都视为文件,也即一切皆file。
2、记住使用Linux 的关键就是六个字: 命令、选项、参数。
3、学会看帮助,不用求人。
学会看帮助,不用求人。
man touch
touch --help...
分类:
系统相关 时间:
2014-05-11 06:07:02
阅读次数:
567
yum install policycoreutils-python
分类:
其他好文 时间:
2014-05-10 07:59:06
阅读次数:
163
windows下编写的脚本,上传到linux上执行,有时会出现莫名其妙的结果,也是折腾了半天才找出原因,windows和linux有些编码不同,经dos2unix处理后,结果一切正常man
dos2unix结果如下,英文不难理解,一看就基本懂,所以也懒得翻译了NAME dos2unix - DOS/...
分类:
其他好文 时间:
2014-05-10 06:08:31
阅读次数:
370
命令描述?apropos whatis显示和word相关的命令。 参见线程安全?man-t
man | ps2pdf - > man.pdf生成一个PDF格式的帮助文件which command显示命令的完整路径名time
command计算命令运行的时间?time cat开始计时. Ctrl-d停...
分类:
系统相关 时间:
2014-05-09 09:53:58
阅读次数:
507
1 JSON结果集 1 [ 2 { 3 "J_LP_OPERATE_MAIN": { 4 "ID":
"1900036295", 5 "FILL_MAN": "周兴福", 6 "FILL_DE...
分类:
Web程序 时间:
2014-05-08 22:52:12
阅读次数:
565
Linux man命令的使用方法(整理收集自网络)Linux提供了丰富的帮助手册,使用Linux
man命令来查看一些不熟悉的命令的使用方法,还可以用来查询系统库文件中的一些函数定义和使用方法。Linux
man中的man就是manual的缩写,用来查看系统中自带的各种参考手册,但是手册页分为好几个...
分类:
系统相关 时间:
2014-05-08 10:17:35
阅读次数:
464