上一页 1 ··· 5 6 7 8 9 10 11 下一页
  2010年9月14日
摘要: Linux Command Line and Shell Scripting Bible__第10章第10章 更多结构化命令-----------for-----------[代码]内部字段分隔符IFS(internal field separator) bash shell默认将 空格、制表符、换行符 看作字段分隔符。如果想将IFS的值更改为只识别换行符,需要这样做:IFS=$'\n'警告:当使... 阅读全文
posted @ 2010-09-14 17:47 oyzway 阅读(660) 评论(0) 推荐(0)
摘要: Chapter 2: Date Manipulation __Linux 101 HacksHack 7. Set System Date and TimeTo change the system date use:[代码]For example, to set system date to Jan 31st 2009, 10:19 p.m, 53 seconds[代码]You can also ... 阅读全文
posted @ 2010-09-14 00:23 oyzway 阅读(434) 评论(0) 推荐(0)
  2010年9月12日
摘要: If you want to be a good programmer, you just program ever day for two years, you will be an excellent programmer.If you want to be a world-class programmer, you can program every day for ten years, o... 阅读全文
posted @ 2010-09-12 23:06 oyzway 阅读(306) 评论(0) 推荐(0)
摘要: Chapter 1: Powerful CD Command Hacks __Linux 101 HacksHack 1. Use CDPATH to define the base directory forcd command[代码]To make this change permanent, add export CDPATH=/etc to your ~/.bash_profileSimi... 阅读全文
posted @ 2010-09-12 18:22 oyzway 阅读(424) 评论(2) 推荐(0)
摘要: 推荐一本好书——《Linux 101 Hacks》一本关于Linux使用技巧的免费电子书籍。-----------------------以下摘自一个很欣赏的师兄的博客-----------------------《Linux 101 Hacks》是一本关于 Linux 使用技巧的免费电子书籍。本书总计 140 页,包含 12 章,讲解了 101 个 hack,涉及的内容包... 阅读全文
posted @ 2010-09-12 16:28 oyzway 阅读(776) 评论(0) 推荐(0)
摘要: str1 = str2 str1与str2是否相同 str1 != str2 str1与str2是否不同 str1 str2 str1是否大于str2 -n str1 str1长度是否大于0 -z str1 str1长度是否为0 阅读全文
posted @ 2010-09-12 14:45 oyzway 阅读(312) 评论(0) 推荐(0)
  2010年8月18日
摘要: NetWork :计算机网络(第5版)__谢希仁TCP/IP详解(卷1)__范建华 译Python核心编程(第2版)__宋吉广 译Done. 阅读全文
posted @ 2010-08-18 03:09 oyzway 阅读(250) 评论(0) 推荐(0)
  2010年8月10日
摘要: We can describe it like this:In computer science, abinary searchis an algorithm for locating the positionof an item in a sorted array.The idea is simple: compare the target to the middle item in the l... 阅读全文
posted @ 2010-08-10 18:19 oyzway 阅读(3411) 评论(0) 推荐(0)
  2010年8月8日
摘要: ### what about making trans? ###Hint: K->M O->Q E->Geverybody thinks twice before solving this.g fmnc wms bgblr rpylqjyrc gr zw fylb.rfyrq ufyr amknsrcpq ypc dmp.bmgle gr gl zw fylbgq glcdd... 阅读全文
posted @ 2010-08-08 14:59 oyzway 阅读(1559) 评论(0) 推荐(0)
摘要: 活动规则不细讲。我也不是很清楚,呵呵。网上大把。=.=### warming up ###Hint: try to change the URL address.###如标题所示,确实是热身题目。不过也向解题者显示了Python强大的地方:轻而易举地表示一个很大的整型。很简单是的东西,无需解释。直接上代码。在python shell中输入即可。[代码]输出:274877906944将浏览器地址栏中... 阅读全文
posted @ 2010-08-08 03:08 oyzway 阅读(1610) 评论(0) 推荐(0)
上一页 1 ··· 5 6 7 8 9 10 11 下一页