发布时间:2016-01-18 10:30:17
在eclipse.ini中,如下配置-vmD:\jdk1.6.0_45\bin\javaw.exe-vmargs-Dosgi.requiredJavaVersion=1.6-Xms512m-Xmx1024m补充:要注意eclipse和java必须同为32bit或64bit,不然会报 failed load JNI server\jvm.dll.........【阅读全文】
发布时间:2015-11-30 19:04:10
从http://dev.mysql.com/downloads下载mysql-connector-python_2.1.3-1debian7.9_all.debdpkg -i mysql-connector-python_2.1.3-1debian7.9_all.deb发生错误Selecting previously unselected package mysql-connector-python.(Reading database ... 53381 files and directories currently inst.........【阅读全文】
发布时间:2015-11-23 19:33:37
被这个错搞了半天,尝试一堆encode,decode,还尝试了import sysreload(sys)sys.setdefaultencoding('utf8')也不管用。最后查到需要转成utf-8,再调用sha1.hashlib.sha1(s).hexdigest()UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-81: ordinal not in range(128)Apparently h.........【阅读全文】
发布时间:2015-11-16 16:14:21
./configure --prefix=/usr2/php-5.6.15 --enable-fpm --with-zlib \--enable-bcmath --enable-mbstring --enable-sockets --with-gettext=/usr \--with-png-dir=/usr --with-freetype-dir=/usr \--with-gd=/usr/local/gd2 --with-t1lib=/usr \--with-xpm-dir=/usr --with-mysqli --with-mysql=/usr2/mysql......【阅读全文】
发布时间:2015-02-17 17:36:24
概要通过word vba读取word文档,遍历文档中的Tables,如果table的格式符合预想,则读取数据库定义信息。根据定义信息生成建表sql语句,并写出到文件。Option Explicit Public Const DEFAULT_FILEPATH = "E:\test\" Public Const DEFAULT_SQL_OUTPUT_PATH = "E:\sql" .........【阅读全文】