Part 1: man PagesAs previously mentioned, UNIX was the operating system from which the Linux foundation was built. The developers of UNIX created help...
分类:
系统相关 时间:
2015-09-15 18:07:20
阅读次数:
376
extension String{ func subString(from fromIndex: Int, to toIndex: Int) -> String{ var halfString = self.substringWithRange(Range(start: adva...
分类:
编程语言 时间:
2015-09-15 18:00:22
阅读次数:
122
可使用如下语句查询11g告警日志存放路径:--显示DIAGNOSTIC_DEST的位置1.show parameter DIAGNOSTIC_DEST; --查询xml文件的目录2.select value from v$diag_info where name='Diag Alert';--查询文...
分类:
数据库 时间:
2015-09-15 17:59:50
阅读次数:
220
如下代码使用HTMLParser方便的实现htmldecode,替换html实体。 import?HTMLParserdef?decodeHtml(input):
????h?=?HTMLParser.HTMLParser()
????s?=?h.unescape(input)
????return?s...
分类:
编程语言 时间:
2015-09-15 16:47:23
阅读次数:
206
>>> dir (__builtins__)['ArithmeticError', 'AssertionError', 'AttributeError', 'BaseException', 'BlockingIOError', 'BrokenPipeError', 'BufferError', 'B...
分类:
编程语言 时间:
2015-09-15 16:31:18
阅读次数:
253
Get Files from Directory [C#]This example shows how to get list of file names from a directory (including subdirectories). You can filter the list by ...
参考:使用R进行数据可视化套路之-茎叶图、盒形图step by stepR 读取数据在网上下载的2013全国各省区GDP排名(exl文件)先 另存为 data.txt(为了方便存到D盘文件夹下)參考:R?读?取?t?x?t?,?e?x?c?e?l?数?据(百度文库里的)> data data算是读取...
分类:
编程语言 时间:
2015-09-15 16:25:10
阅读次数:
220
1、wget http://www.python.org/ftp/python/2.6.6/Python-2.6.6.tar.bz22、 tar xvjf Python-2.6.6.tar.bz23、cd Python-2.6.64、./configure5、 make6、 make install
分类:
编程语言 时间:
2015-09-15 16:14:12
阅读次数:
165
>>> movies =[ "the holy grail", 1975,"terry jones",91, ["graham chapman", ["michel palin","john cheelse","terry gilliam","eric idle","terry ...
分类:
编程语言 时间:
2015-09-15 16:13:53
阅读次数:
166
快速排序,没什么可说的,直接看代码: 先来看 Lua 的,代码取自 Lua5.1.4 的 test 目录的 sort.lua --?extracted?from?Programming?Pearls,?page?110
function?qsort(x,l,u,f)
?if?l<u?then
??local...
分类:
编程语言 时间:
2015-09-15 15:08:02
阅读次数:
183