max.hpp/* The following code example is taken
from the book * "C++ Templates - The Complete Guide" * by David Vandevoorde and
Nicolai M. Josuttis, Add...
分类:
其他好文 时间:
2014-05-10 08:18:25
阅读次数:
394
新建两个本地环境变量:LANG=zh_CN.GBKNLS_LANG=SIMPLIFIED
CHINESE_CHINA.ZHS16GBK注:oracle的字符集:select * from
v$nls_parameters;1NLS_LANGUAGESIMPLIFIED CHINESE2NLS_TER...
分类:
数据库 时间:
2014-05-10 07:51:32
阅读次数:
598
1. dialyzer Dialyzer starts its analysis from
either debug-compiled BEAM bytecode or from Erlang source code. Dialyzer
可以分析*.erl和有debug-info的BEAM, Dia...
分类:
其他好文 时间:
2014-05-10 06:32:02
阅读次数:
253
Percona XTRADB Cluster 5.6在Ubuntu Server 14.04上的安装文档,参考了官方安装文档和国外网友的安装记录才安装成功。确保可以安装成功。...
分类:
数据库 时间:
2014-05-10 04:32:46
阅读次数:
448
现在又很多工具能将文字转换成图片,这样就可以发送长微博,其实python实现这很容易的,主要就是用到了pygame模块
import os
import pygame
from pygame.locals import *
pygame.init()
text = u"这是一段测试文本,test 123。"
font = pygame.font.SysFont('SimHei', 14)
...
分类:
编程语言 时间:
2014-05-10 04:25:52
阅读次数:
620
需要每隔一段时间选取最老的商户更新时间戳:
update DP_Shop set DP_Shop.LastDate = now() where DP_Shop.ShopId in (select ShopId from DP_Shop order by LastDate limit 5);
ERROR 1235 (42000): This version of MySQL doesn't ...
分类:
数据库 时间:
2014-05-10 04:22:58
阅读次数:
423
在执行/etc/init.d/ndbd--initial出现下列错误[root@ndbd1~]#/etc/init.d/ndbd--initialUnabletoconnectwithconnectstring:nodeid=0,localhost:1186Retryingevery5seconds.Attemptsleft:121110987654321,failed.解决办法1.查看/etc/my.cnf文件配置[root@ndbd1~]#cat/etc/my.cnf..
分类:
数据库 时间:
2014-05-10 04:07:58
阅读次数:
1778
installing-percona XTRADB Cluster 5.6
For Redhat 6.4
一、 服务器版本查看
Root# cat /etc/redhat-release
Red Hat Enterprise Linux Server release 6.4 (Santiago)
二、 新建目录:
Root#mkdir -p /softwares
三、 下载RPM包
1、下载XTRADB Cluster包
2、下载XTRABACKUP包
四、 安装依赖包
1、 安装包准备
2、 安...
分类:
数据库 时间:
2014-05-10 03:27:27
阅读次数:
628
Problem DescriptionThere are N villages, which
are numbered from 1 to N, and you should build some roads such that every two
villages can connect to e...
分类:
其他好文 时间:
2014-05-10 02:28:50
阅读次数:
374
测试webservice的时候,如果出现这个错误:"The test form is only
available for requests from the local machine" 在web.config中加入以下配置,就可以解决问题。
也就是说,在默认情况下,...
分类:
Web程序 时间:
2014-05-10 02:24:13
阅读次数:
352