上一页 1 ··· 8 9 10 11 12 13 下一页

2012年12月28日

python access mssql server.

摘要: 1. use pyodbc.(http://code.google.com/p/pyodbc/)1.1 access database directly connection = pyodbc.connect('DRIVER={SQL SERVER};SERVER=local;DATABASE=D... 阅读全文

posted @ 2012-12-28 23:16 jmbkeyes 阅读(313) 评论(0) 推荐(0)

2012年12月17日

linuxmint auto mount floopy issue.

摘要: If I receive this error msg in Linux Mint 14, codename (Nadia) ''Error mounting system-managed device /dev/fd0: Command-line `mount "/media/floppy0"' exited with non-zero exit status 32: mount: /dev/fd0 is not a valid block device'' it means that the floppy driver is lo 阅读全文

posted @ 2012-12-17 17:47 jmbkeyes 阅读(611) 评论(0) 推荐(0)

2012年11月18日

install redis on linux

摘要: #! /bin/bashcd /usr/local/srcwget http://redis.googlecode.com/files/redis-2.6.4.tar.gztar -xvf redis-2.6.4.tar.gzcd redis-2.6.4make && make installif [ -d /usr/local/redis ];then echo 'already installed, remove the redis first'else mkdir /usr/local/redis mkdir /usr/local/redis/etc mk 阅读全文

posted @ 2012-11-18 23:14 jmbkeyes 阅读(255) 评论(0) 推荐(0)

Install apache in linux(ubuntu or redhat/centos)

摘要: #! /bin/bashcd /usr/local/src#yum install -y gcc make gcc-c++ wget pcre* apt-get install build-essential#download fileswget http://mirror.bit.edu.cn/apache/apr/apr-1.4.6.tar.gzwget http://mirror.bit.edu.cn/apache/apr/apr-util-1.5.1.tar.gzwget http://mirror.bit.edu.cn/apache/apr/apr-iconv-1.2.1.tar.g 阅读全文

posted @ 2012-11-18 20:47 jmbkeyes 阅读(279) 评论(0) 推荐(0)

2012年11月16日

python subprocess

摘要: http://www.cnblogs.com/oubo/archive/2011/10/10/2394594.html 阅读全文

posted @ 2012-11-16 09:33 jmbkeyes 阅读(124) 评论(0) 推荐(0)

2012年11月13日

MySQL Master Slave Replication配置

摘要: http://www.cnblogs.com/whoknows/articles/2220640.html 阅读全文

posted @ 2012-11-13 16:37 jmbkeyes 阅读(126) 评论(0) 推荐(0)

mysqldump

摘要: 使用mysqldump 将一台服务器上的 一个 数据库移到另一台服务器mysqldump Testing -uroot -pnewman1 --opt|mysql Testing -uroot -pjmbkeyes -h 10.197.43.76 阅读全文

posted @ 2012-11-13 16:22 jmbkeyes 阅读(143) 评论(0) 推荐(0)

2012年10月25日

Install libGeoIP in linux

摘要: installation guide1. download source code from following locations: GeoIP C API - http://geolite.maxmind.com/download/geoip/api/c/GeoIP-1.4.8.tar.gz GeoIP-Python - http://geolite.maxmind.com/download/geoip/api/python/GeoIP-Python-1.2.7.tar.gz GeoLiteCity .dat file - http://geolite.maxmind.com/do... 阅读全文

posted @ 2012-10-25 11:42 jmbkeyes 阅读(565) 评论(0) 推荐(0)

fix issue on ImportError: libGeoIP.so.1

摘要: libGeoIP works well in Python web app while using eclipse embeded server, but error occurs when using apache as the web server.The error message as below,ImportError: libGeoIP.so.1: cannot open shared object file: No such file or directoryFixed steps:1. Make a symbolic link for "libGeoIP.so.1&q 阅读全文

posted @ 2012-10-25 11:41 jmbkeyes 阅读(555) 评论(0) 推荐(0)

2012年5月10日

rgba for background color of IE 7 & 8

摘要: RGB色彩模式(也翻译为“红绿蓝”,比较少用)是工业界的一种颜色标准,是通过对红(R)、绿(G)、蓝(B)三个颜色通道的变化以及它们相互之间的叠加来得到各式各样的颜色的,RGB即是代表红、绿、蓝三个通道的颜色,这个标准几乎包括了人类视力所能感知的所有颜色,是目前运用最广的颜色系统之一。RGBA在RGB的基础上多了控制alpha透明度的参数。以上R、G、B三个参数,正整数值的取值范围为:0 – 255。百分数值的取值范围为:0.0% – 100.0%。超出范围的数值将被截至其最接近的取值极限。并非所有浏览器都支持使用百分数值。A参数,取值在0~1之间,不可为负值RGBA语法:div { back 阅读全文

posted @ 2012-05-10 10:25 jmbkeyes 阅读(1321) 评论(0) 推荐(2)

上一页 1 ··· 8 9 10 11 12 13 下一页

导航