第一步:下载安装cx_Oracle下载地址:http://sourceforge.net/projects/cx-oracle/files/5.1.2/,下载cx_Oracle的rmp安装文件,注意下载版本最好和Oracle、Python环境保持一致,我当前的环境是Oracle 11g和Python...
分类:
数据库 时间:
2014-07-19 00:00:09
阅读次数:
267
1.启动hadoop守护进程 bin/hadoop start-all.sh2.在hadoop的bin目录下建立一个input文件夹 mkdire input3.进入input目录之后,在input目录下新建两个文本文件,并想其写入内容echo "hello excuse me fuck thank...
分类:
其他好文 时间:
2014-07-18 23:39:00
阅读次数:
350
Java \Python \ RPC \mongoDB \memcached \hornetQ \Jetty \Maven \Redis \H2 \Clustor \spring \vertx
分类:
其他好文 时间:
2014-07-18 23:30:03
阅读次数:
214
一、基本原理请查看这个网址,讲得灰常详细:http://www.jeffkit.info/2010/01/476/二、实现步骤1、安装linux下SQL Server的驱动程序安装Freetds,不要使用apt-get install 来安装,因为源里的版本不一定是新的,建议使用stable版本,下...
分类:
数据库 时间:
2014-07-18 23:15:43
阅读次数:
490
Python程序调试:断点调试是必须有的功能,以Pycharm开发工具为例:一、理论知识:1. step into(F7)就是单步执行,遇到子函数就进入并且继续单步执行;2 step over(F8)是在单步执行时,在函数内遇到子函数时不会进入子函数内单步执行,而是将子函数整个执行完再停止,也就是把...
分类:
编程语言 时间:
2014-07-18 21:07:36
阅读次数:
182
挺高兴的老师借了我一块K60的开发板,趁着暑假好好鼓捣鼓捣!
有了上图的过程分析我想心里大概有个低了吧!
下面看代码:
/* CodeWarrior ARM Runtime Support Library
* Copyright ?2012 Freescale Semiconductors. All rights reserved.
...
分类:
其他好文 时间:
2014-07-17 10:57:49
阅读次数:
238
Given a string containing just the characters '(', ')', '{', '}', '[' and ']',
determine if the input string is valid.
The brackets must close in the correct order, "()" and "()[]{}" are
all va...
分类:
其他好文 时间:
2014-07-17 10:18:17
阅读次数:
181
使用python的MySQLdb库连接本地的mysql数据库,报错如下:
File "/usr/lib/python2.7/dist-packages/MySQLdb/__init__.py", line 81, in Connect
return Connection(*args, **kwargs)
File "/usr/lib/python2.7/dist-pack...
分类:
数据库 时间:
2014-07-17 10:15:49
阅读次数:
255
nagios配置文件生成htpasswd/etc/nagios/passwdnagiosadminidentity资产唯一编号chmod444/etc/assetid接口要写的健壮接口判断值是否全面批量的生成ip,主机名,其它项都一致pipinstall‘ipython<2.0‘CURR_DIR=os.path.abspath(os.path.dirname(__file__))当前这个文件名所在..
分类:
移动开发 时间:
2014-07-17 08:14:03
阅读次数:
323