预定义html代码:没有 所有代码通过js生成和移除。预定义css/* 基本弹出层样式 */.my-popup-overlay { width:100%; height:auto; /* width height is defined by javascript */ p...
分类:
Web程序 时间:
2014-06-26 00:21:57
阅读次数:
296
预定义html代码:没有 所有代码通过js生成和移除。预定义css/* 基本弹出层样式 */.my-popup-overlay { width:100%; height:auto; /* width height is defined by javascript */ p...
分类:
Web程序 时间:
2014-06-25 23:17:14
阅读次数:
303
在虚拟机上測评了下MySQL 和 PostgreSQL 的各种LOAD FILE方式以及时间。 由于是虚拟机上的測评,所以时间仅仅做參考,不要太较真, 看看就好了。MySQL 工具: 1. 自带mysqlimport工具。 2. 命令行 load data infile ... 3. 利用my...
分类:
数据库 时间:
2014-06-25 23:01:08
阅读次数:
328
Previously, I used the following LaTeX preamble for my TexMaths extension in LibreOffice:\usepackage{amsmath}\usepackage{amssymb}\usepackage[usenames]...
分类:
其他好文 时间:
2014-06-25 22:04:03
阅读次数:
428
One of my Ubuntu systems would pop up the following message multiple times after logging in:System program problem detectedDo you want to report the p...
分类:
其他好文 时间:
2014-06-24 10:18:19
阅读次数:
360
同一服务器上运行两个mysql实例其实没那么复杂,两个mysql实例使用不同的目录存储,使用不同的端口访问,加载不同的配置文件即可实现。假如有两个MYSQL A和BMYSQL A为系统标准安装的RPM程序。存储在 /var/lib/mysql 配置文件为 /etc/my.cnf,这没什么特别的什么都...
分类:
数据库 时间:
2014-06-24 09:52:00
阅读次数:
222
1.从pfx格式的证书提取出密钥和证书set OPENSSL_CONF=openssl.cnfopenssl pkcs12 -in my.pfx -nodes -out server.pemopenssl rsa -in server.pem -out server.keyopenssl x509 ...
分类:
其他好文 时间:
2014-06-23 06:45:18
阅读次数:
211
在之前的一篇博文<>中,我介绍了一种查找内核内存泄露的一种方法。这不才几个月,又有客户埋怨:使用了产品5天左右后,Suse服务器由于内存耗尽而Crash。O My God,不会吧,在我机器上跑的好好的哇(程序员常用名言 嘿嘿)。 那么就让我们一起来看看,苦逼的博主是如何确定问题并且找到问题的.......
分类:
系统相关 时间:
2014-06-22 18:51:54
阅读次数:
304
随时修改: 1 [mysqld] 2 #basedir= 3 datadir=/var/lib/mysql 4 #mysql.default_port=3306 5 #mysql.default_socket=/tmp/mysql.sock 6 socket=/var/lib/mysql/mysql...
分类:
数据库 时间:
2014-06-22 10:53:32
阅读次数:
277
虽然内存对齐是老话题,但还是时常犯错,几下个例子,谨记: 1 void func10() 2 { 3 //要牢记,默认按4字节对齐,其他就很容易想了=============================== 4 union u_my 5 { 6 int n...
分类:
其他好文 时间:
2014-06-21 17:33:45
阅读次数:
198