class BubbleSorter { static public void Sort(IList sortArray, Func comparison) { bool swapped = true; do ...
分类:
其他好文 时间:
2014-07-10 12:34:06
阅读次数:
159
最近在折腾IOS新闻浏览客户端,当中需要用到webview传递JSON数据到IOS上,然后在IOS上解析。刚入门IOS不久,看了不少的书,但都是囫囵吞枣。在开发过程中,遇到不少问题。开发环境mac mini (IOS端开发)thinkpad x200s(PHP开发)功能实现:在WEBVIEW创建DO...
分类:
移动开发 时间:
2014-07-10 12:15:14
阅读次数:
307
src_dir=$(pwd)/All_hdst_dir=$(pwd)/Alldiff_dir=$(pwd)/diffif [ ! -d $diff_dir ]then mkdir $diff_dirfifor src_full_entry in $src_dir/*do src_cat_entry=...
分类:
其他好文 时间:
2014-07-10 10:07:49
阅读次数:
241
大家好/HI everyone,Thanks for viewing my blogs, starting to use cnblogs to write blogs about programming. Hope I can keep writing and growing up together...
分类:
其他好文 时间:
2014-07-10 10:05:59
阅读次数:
197
class Customer < ActiveRecord::Base has_many :ordersendclass Order < ActiveRecord::Base belongs_to :customerend如上代码两个model在做如下查询的时候:c = Customer.fir.....
分类:
其他好文 时间:
2014-07-10 10:03:57
阅读次数:
293
Given preorder and inorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.方法一:最先想到的就是递归,注...
分类:
其他好文 时间:
2014-07-10 09:58:40
阅读次数:
224
译者注:这是原文地址。另外,关键的单词我保留原文】作者:Hasselt University -Expertise Centre for Digital Media1. 引言这个是 EMIPLIB 的说明手册,EMIPLIB 即 EDM Media over IP libray。这个库开发于 Has...
分类:
其他好文 时间:
2014-07-10 00:54:22
阅读次数:
273
QEMU Networking QEMU has a number of really nice ways to set up networking for its guests. It can be a little bewildering to figure out how each of th...
分类:
Web程序 时间:
2014-07-10 00:32:27
阅读次数:
499
Python服务器开发三:Socketsocket是操作系统中I/O的延续,它可以使进程和机器之间的通信成为可能。socket可以看成一个标准的文件描述符。不同的是文件需要用open()函数打开,而socket用socket()函数建立.recv()、send()函数和read()、write()函...
分类:
编程语言 时间:
2014-07-09 23:37:56
阅读次数:
284
Given inorder and postorder traversal of a tree, construct the binary tree.Note:You may assume that duplicates do not exist in the tree.方法:在inorder中寻找...
分类:
其他好文 时间:
2014-07-07 23:18:53
阅读次数:
283