1.unicode、gbk、gb2312、utf-8的关系http://www.pythonclub.org/python-basic/encode-detail这篇文章写的比较好,utf-8是unicode的一种实现方式,unicode、gbk、gb2312是编码字符集;2.python中的中文编...
分类:
编程语言 时间:
2014-06-07 09:31:22
阅读次数:
280
原题地址:https://oj.leetcode.com/problems/sudoku-solver/题意:Write
a program to solve a Sudoku puzzle by filling the empty cells.Empty cells are
indicated b...
分类:
编程语言 时间:
2014-06-07 09:30:06
阅读次数:
342
json.Append(String.Format("{\"total\":{0},\"row\":{1}}",
lineCount, strJSON));直接会报错字符串中包含{或者},则需要用{{ 来代替字符 {,用}} 代替
}如:json.Append(String.Format("{{\"...
分类:
Web程序 时间:
2014-06-07 08:48:42
阅读次数:
921
/////ado.net1.0中使用Transacation(事务)string
connectionString =
"database=Northwind;pwd=admin;uid=sa;server=DATABASE-VPC\\SQL2005";using
(SqlConnection co...
分类:
其他好文 时间:
2014-06-07 08:09:03
阅读次数:
244
1 /// 2 /// 下载文件 TransmitFile 3 /// 4 /// 5 public
static void DownloadFile(string filePath) 6 { 7...
分类:
Web程序 时间:
2014-06-07 07:59:55
阅读次数:
311
1 /// 2 /// 浏览文件 3 /// 4 /// 5 public static void
ExploreFile(string filePath) 6 { 7 P...
分类:
其他好文 时间:
2014-06-07 07:55:26
阅读次数:
252
1 public static string GetMacAddress() 2 { 3
ManagementClass class2 = new
ManagementClass("Win32_NetworkAdapterConfiguration")...
分类:
其他好文 时间:
2014-06-07 07:54:48
阅读次数:
1258
Openerp中workflow的设计机制工作流程系统在OpenERP里是非常有用的机制,可以用于即时描述单据(模型)状态的演进过程。工作流实现了状态流转的可配置,通过迁移的
condition代替python代码中的判断语句,通过迁移的signal增加审批按钮,增加了系统的灵活性。工作流程是完全可...
分类:
其他好文 时间:
2014-06-07 07:50:49
阅读次数:
217
题目链接题意:扩展gcd模板: 1 #include 2 #include 3 #include 4
#include 5 #define LL long long 6 using namespace std; 7 8 void exgcd(LL a, LL
b, LL &d, LL &x...
分类:
其他好文 时间:
2014-06-07 07:50:13
阅读次数:
187
timeZoneAbbreviation = @“America/New_York”;#pragma
mark - 转换时区- (NSDate *) convertDate:(NSDate *) date toTimeZone:(NSString *)
timeZoneAbbreviation { ...
分类:
其他好文 时间:
2014-06-07 07:46:59
阅读次数:
183