36个扁平化设计的iphone和ipad应用界面设计案例http://designwoop.com/2014/04/36-examples-of-flat-iphone-and-ipad-application-ui-designs/32个动画效果很赞的移动APP设计http://designwoo...
分类:
Web程序 时间:
2014-09-03 09:38:46
阅读次数:
259
unity版本:4.5.1 NGUI版本:3.5 参考链接:http://blog.csdn.net/g__dragon/article/details/17242969,作者:CSDN G_Dragon Tabview可以参考NGUI中的示例,场景Examples\Scenes\Example.....
分类:
其他好文 时间:
2014-09-01 20:58:53
阅读次数:
241
一、计算PI值的方式与原理 ? ? ? 百度一下,计算PI的方法还真不少。但在hadoop examples代码中的注释写的是:是采用 Quasi-Monte Carlo 算法来估算PI的值。? ? ? ? 维基百科中对Quasi-Monte Carlo的描述比...
分类:
其他好文 时间:
2014-08-30 11:24:49
阅读次数:
394
刚学HTML5没多久,写了个简单画板,勿喷~Examples 请选择画笔颜色:清除画板
分类:
其他好文 时间:
2014-08-29 12:33:17
阅读次数:
185
[ 问题: ]
Some examples:
"0" => true
" 0.1 " => true
"abc" => false
"1 a" => false
"2e10" => true
Note: It is intended for the problem statement to be ambiguous. You should gather all requirements up front before implementing one....
分类:
其他好文 时间:
2014-08-27 16:43:58
阅读次数:
177
不多说,直接上地址: http://zvon.org/xxl/XPathTutorial/General/examples.html 点击左上角“中文”即可显示中文翻译实例。 xpath用于解析html,xml.xhtml这一类标签文档很方便,也很直接,用简短的语法提取标签...
分类:
其他好文 时间:
2014-08-25 17:22:44
阅读次数:
168
Validate if a given string is numeric.Some examples:"0" => true" 0.1 " => true"abc" => false"1 a" => false"2e10" => trueNote: It is intended for the p...
分类:
其他好文 时间:
2014-08-25 16:52:14
阅读次数:
168
看了很多,不是很早不更新了,就是不支持gevent 最终选用了sleekxmpp #!/usr/bin/env?python
#?-*-?coding:?utf-8?-*-
#?https://github.com/fritzy/SleekXMPP/tree/develop/examples
import?sys
if?"th...
分类:
编程语言 时间:
2014-08-24 22:23:38
阅读次数:
682
计算逆波兰式子:
有效的操作只有 +, -, *, /.
每一个输入不是一个整数就是一个操作符。
Some examples:
["2", "1", "+", "3", "*"] -> ((2 + 1) * 3) -> 9
["4", "13", "5", "/", "+"] -> (4 + (13 / 5)) -> 6
#include
#include
#i...
分类:
其他好文 时间:
2014-08-23 23:02:10
阅读次数:
465
本实例主要参考的是官网的examples:点击这里
使用场景:客户端向Netty请求一个文件,Netty服务端下载指定位置文件到客户端。
本实例使用的是Http协议,当然,可以通过简单的修改即可换成TCP协议。
需要注意本实例的关键点是,为了更高效的传输大数据,实例中用到了ChunkedWriteHandler编码器,它提供了以zero-memory-copy方式写文件。
第一步:先写一个...
分类:
Web程序 时间:
2014-08-19 12:55:04
阅读次数:
387