Update July 2011:?This list has been reviewed and made current with the most recent Eclipse 3.7 release. If you are a Java developer and use the new @SuppressWarnings annotation in your code from...
分类:
其他好文 时间:
2014-10-24 20:54:22
阅读次数:
214
由于最近用到省市区号查询,但是在网上搜索很长时间,没有现成的数据库,只有码表,无奈之下,只能下载个码表,写个小程序跑出来个所需码表库。现帖下,希望节省下有相同需求的人的时间。insert into t_city(id,code,name,pcode)values(1,'0100','北京市','.....
分类:
数据库 时间:
2014-10-24 18:32:54
阅读次数:
382
增删改之前先说一下笔记1里提到的一个无法创建ISqlMapper对象的问题。 INSERT INTO [dbo].[T_USER] ( [U_ID], [U_Name], [U_Dept]) VALUES ( #UID,dbType=Int#
,#U...
分类:
Web程序 时间:
2014-10-24 18:21:49
阅读次数:
288
zencart用sql将某个产品属性值设为只读和默认UPDATE `products_attributes` SET `attributes_display_only` = '1',`attributes_default` = '1' WHERE `options_values_id` =7;注:红...
分类:
数据库 时间:
2014-10-24 18:06:42
阅读次数:
197
问题描述:
Given n, how many structurally unique BST's (binary search trees) that store values 1...n?
For example,
Given n = 3, there are a total of 5 unique BST's.
1 3 3 2...
分类:
其他好文 时间:
2014-10-24 16:33:10
阅读次数:
117
示例数据表: CREATE?TABLE?test_bin?(
???bin_id?BINARY(16)?NOT?NULL
)?Engine=InnoDB; 插入数据(内容是一个32位的UUID字符串值): INSERT?INTO?test_bin(bin_id)?VALUES(UNHEX(‘FA34E10293CB428...
分类:
数据库 时间:
2014-10-24 13:10:00
阅读次数:
3565
迭代dict的value1:values()2:itervalues()3:forkey inDi:print(Di[key])我们已经了解了dict对象本身就是可迭代对象,用 for 循环直接迭代 dict,可以每次拿到dict的一个key。如果我们希望迭代 dict 对象的value,应该怎么做...
分类:
编程语言 时间:
2014-10-24 12:59:11
阅读次数:
380
在storm中的Bolt中可以处理完成逻辑后,向后面的Blot继续发送消息。可以发送多个不同的消息,如:collector.emit("update-delivered-status",new Values(emailDeliverStatus)); collector.emit("save-...
分类:
其他好文 时间:
2014-10-24 12:44:07
阅读次数:
313
获取: Type type = typeof(ParamServiceType); var values = Enum.GetValues(type); for (int i = 0; i < values.Length; i++) { var v = va...
1、二次打包时报错:Error retrieving parent for item: No resource found that matches the given name
如:
D:\用户目录\Desktop\APP反编译\Android反编译工具包(最新版)\apk2java\apktool1.4.
1\HJ7\res\values\styles.xml:11: error: Err...
分类:
移动开发 时间:
2014-10-23 17:41:36
阅读次数:
222