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
现在又很多工具能将文字转换成图片,这样就可以发送长微博,其实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
1、整行数据更新//获取grid表格var table0 =
$(updateTableID).data("kendoGrid");//删除第一条var lastTableData =
table0.dataSource.at(0);table0.dataSource.remove(lastTabl...
分类:
其他好文 时间:
2014-05-10 02:49:35
阅读次数:
1090
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
题目:
Clone an undirected graph. Each node in the graph contains a label and
a list of its neighbors.
OJ's undirected graph serialization:
Nodes are labeled uniquely.
We use # as a separat...
分类:
其他好文 时间:
2014-05-09 22:31:35
阅读次数:
353
安装pomelo时发现:错误解释:node-gyp和node的版本不一致,有可能是python版本太低,默认是2.6.6最后更改node版本和python版本node版本是10.2.6python版本是2.7.3再次重新安装无错误
分类:
其他好文 时间:
2014-05-09 21:32:43
阅读次数:
451
一、安装pomelo安装前准备:根据需要安装相应版本的Python和node[root@AY14041810545836988bZopt]#python--versionPython2.6.6一、下载Python2.7.3,此版本是适合node-gpy的#wgethttp://python.org/ftp/python/2.7.3/Python-2.7.3.tar.bz22.#tar-jxvfPython-2.7.3.tar.bz23.cdP..
分类:
其他好文 时间:
2014-05-09 21:27:46
阅读次数:
493