Gparted for partition of Linux on graphic interface

摘要: You can change the partition table on Linux by a group of tools, which is tool comprehansive for a newbee. While I find this work will be easily done ... 阅读全文
posted @ 2014-11-27 22:34 很遗憾我不是 阅读(125) 评论(0) 推荐(0) 编辑

hadoop native lib can't load use local lib

摘要: compile hadoop and change the auto moded 阅读全文
posted @ 2014-11-22 04:06 很遗憾我不是 阅读(185) 评论(0) 推荐(0) 编辑

oracle java for ubuntu apt-get

摘要: oracle java PPA: ppa:webupd8team/javathe key word use for search more infomation: webupd8team 阅读全文
posted @ 2014-11-21 21:26 很遗憾我不是 阅读(199) 评论(0) 推荐(0) 编辑

vi set the tab width for python

摘要: Put your desired settings in the~/.vimrcfile -- See below for some guidelines and best practices.There are four main ways to use tabs in Vim:Always ke... 阅读全文
posted @ 2014-11-12 21:32 很遗憾我不是 阅读(544) 评论(0) 推荐(0) 编辑

sqlite3 on python for newbies

摘要: python 集成了 sqlite3 ,其接口很简单:import sqlite3db_connection = sqlite3.connect(db_filename)db_cursor = db_connection.cursor()db_cursor.execute('select * fro... 阅读全文
posted @ 2014-07-02 11:19 很遗憾我不是 阅读(230) 评论(0) 推荐(0) 编辑

python multiprocessing pool

摘要: python 本身是不是单线程这个我真心搞不懂但是我是来吐槽的:multiprocessing.Pool(precesses = 2)这个语句曾经让我的内存爆满,死机不解释。在重装 python 之后,冒着重装系统的危险,我再次尝试,警报解除。然后:mypool = multiprocessing.... 阅读全文
posted @ 2014-07-01 00:41 很遗憾我不是 阅读(1825) 评论(0) 推荐(0) 编辑

dbscan

摘要: This is a pseudocode for DBSCAN from "A Density-Based Algorithm for Discovering Clusters in Large Spatial Databases with Noise".And I have tried the p... 阅读全文
posted @ 2014-06-05 10:11 很遗憾我不是 阅读(174) 评论(0) 推荐(0) 编辑

HRESULT: 0x80040228

摘要: When run the arcgis engine codes in the console application, may come to the exception:HRESULT: 0x80040228.Then can use these code to enable the lisence:ESRI.ArcGIS.RuntimeManager.Bind(ESRI.ArcGIS.ProductCode.EngineOrDesktop);ESRI.ArcGIS.esriSystem.IAoInitialize ao = new ESRI.ArcGIS.esriSystem.AoIni 阅读全文
posted @ 2014-03-25 23:12 很遗憾我不是 阅读(1581) 评论(0) 推荐(0) 编辑

获取鼠标坐标

摘要: Control.MousePosition 阅读全文
posted @ 2014-03-19 14:03 很遗憾我不是 阅读(146) 评论(0) 推荐(0) 编辑

Oracle 与 ODAC 一起安装

摘要: Oracle 需要设置path变量支持运行,ODAC安装时会将其路径加入path变量。导致先搜索到ODAC,连接出现:ora-12560: TNS:protocol adapter error将path变量中的ODAC路径置后解决该问题。安装之后需要将tnsnames.ora、listener.ora和sqlnet.ora从Oracle的NETWORK/admin路径下拷贝到client相同路径下,并进行编辑:将 HOST = localhost改为 HOST = 127.0.0.1 阅读全文
posted @ 2014-03-17 22:22 很遗憾我不是 阅读(676) 评论(0) 推荐(0) 编辑