; 感觉双休就想睡觉,这鬼天气,一直下雨。设置时间未完成,只是加了一个所谓的主界面; display
system time. press f1 to change the color displayed, press esc to return main
list. f3 exit; clear_...
分类:
其他好文 时间:
2014-05-27 03:09:58
阅读次数:
320
fetch_row转换成数组这个有0123下标的
fetxh_array转换不仅有数字下标还有字段名mysql_close($connent)关闭数据库连接type=file
分类:
其他好文 时间:
2014-05-27 03:05:54
阅读次数:
253
php模拟多线程用到curl库,这个库很强大,可以做好多事,比如模拟登陆,文件上传/下载,数据采集等。
下面是我的代码,很简单,有些还功能还不会用。 0);$res=array();for($j=0;$j 这段代码就是并行爬取百度和谷歌的代码,以后再慢慢完善。
...
分类:
Web程序 时间:
2014-05-27 02:50:52
阅读次数:
282
Given a collection of numbers, return all
possible permutations.For example,[1,2,3]have the following
permutations:[1,2,3],[1,3,2],[2,1,3],[2,3,1],[3,...
分类:
其他好文 时间:
2014-05-27 02:42:35
阅读次数:
202
echo -e "#include \nint main()\n{\n printf(\"hello
world\\\n\");\n return 0;\n}" > h.c; gcc h.c; ./a.outh.c里的内容#include int
main(){ printf("h...
分类:
其他好文 时间:
2014-05-24 07:34:05
阅读次数:
213
/** * isAjaxRequest:判断请求是否为Ajax请求. * @param request
请求对象 * @return boolean * @since JDK 1.6 */public boolean
isAjaxRequest(HttpServletRequest request....
分类:
编程语言 时间:
2014-05-24 06:11:54
阅读次数:
254
/** *加载所有已经在系统表被启用的模块。
*@参数$bootstrap*是否加载在“引导模式”缓存页面加载的模块只减少集。见bootstrap.inc文件。*@return*如果$bootstrap为NULL,则返回一个布尔值,指示是否所有的模块已加载。
*/function module_l....
分类:
其他好文 时间:
2014-05-24 03:01:09
阅读次数:
315
概述:try {
//执行的代码,其中可能有异常。一旦发现异常,则立即跳到catch执行。否则不会执行catch里面的内容 } catch {
//除非try里面执行代码发生了异常,否则这里的代码不会执行 } finally { //不管什么情况都会执行,包括try catch
里面用了return...
分类:
编程语言 时间:
2014-05-24 02:48:49
阅读次数:
702
0); return $output; } public function
decode($input) { $length = strlen($input); $number = 0; $...
分类:
其他好文 时间:
2014-05-24 02:46:45
阅读次数:
319
Remove Duplicates from Sorted Array IGiven a
sorted array, remove the duplicates in place such that each element appear only
once and return the new l...
分类:
其他好文 时间:
2014-05-19 12:10:41
阅读次数:
329