文章先由stackoverflow上面的一个问题引起吧,如果使用如下的代码: @makebold @makeitalic def say(): return "Hello" 打印出如下的输出: <b><i>Hello<i></b> 你会怎么做?最后给出的答案是: def makebold(fn): ...
分类:
编程语言 时间:
2016-07-02 00:31:13
阅读次数:
339
使用了一段时间CocoaPods来管理Objective-c的类库,方便了不少。但是有一个小问题,当我在xcode输入import关键字的时候,没有自动联想补齐代码的功能,需要手工敲全了文件名,难以适应。 在stackoverflow上找到了解决办法: Go to the Target > ”Bui ...
分类:
其他好文 时间:
2016-07-01 08:55:49
阅读次数:
130
Package Explorer -> View Menu -> Filters -> uncheck .* resources http://stackoverflow.com/questions/98610/how-can-i-get-eclipse-to-show-files ...
分类:
系统相关 时间:
2016-07-01 06:33:50
阅读次数:
231
参考:http://stackoverflow.com/questions/25826383/when-to-use-dequeuereusablecellwithidentifier-vs-dequeuereusablecellwithidentifi 区别 对于dequeueReusableCe ...
分类:
其他好文 时间:
2016-07-01 01:17:03
阅读次数:
125
背景 系统中使用了jqgrid的展示,现在要处理10w+的数据量 现状 使用了全查询的,查询到了10w+的数据放到了datatable中,每次页面刷新需要9秒多,并且传递给另一个dll来处理一些事情。偶尔会出现StackOverFlow的异常问题,但是频率较大。 分析 现有的就有两个问题需要解决: ...
分类:
数据库 时间:
2016-06-30 23:19:09
阅读次数:
296
本文转自:http://stackoverflow.com/questions/2083929/dropdownlist-doesnt-postback-after-page-clientvalidate Update: I have just found the solution. The fol ...
分类:
其他好文 时间:
2016-06-30 19:55:30
阅读次数:
194
http://stackoverflow.com/questions/1791570/modelstate-isvalid-false-why 第一个 About "can it be that 0 errors and IsValid == false": here's MVC source co ...
分类:
其他好文 时间:
2016-06-30 14:24:20
阅读次数:
99
使用了一段时间CocoaPods来管理Objective-c的类库,方便了不少。但是有一个小问题,当我在xcode输入import关键字的时候,没有自动联想补齐代码的功能,需要手工敲全了文件名,难以适应。 在stackoverflow上找到了解决办法: Go to the Target > ”Bui ...
分类:
其他好文 时间:
2016-06-30 08:38:37
阅读次数:
153
出现这个错误主要有两类错误 依赖包重复 方法数超过65K 针对第一种错误,可能是由于build.gradle里写了 这种方式,同时又加了单独的依赖针对第二种错误原因,使用multidex打包可以解决问题,在build.gradle里添加 即可。解决方法整理自:http://stackoverflow ...
分类:
移动开发 时间:
2016-06-29 22:14:19
阅读次数:
173
使用了一段时间CocoaPods来管理Objective-c的类库,方便了不少。但是有一个小问题,当我在xcode输入import关键字的时候,没有自动联想补齐代码的功能,需要手工敲全了文件名,难以适应。 在stackoverflow上找到了解决办法: Go to the Target > ”Bui ...
分类:
其他好文 时间:
2016-06-29 20:42:00
阅读次数:
222