一、题目DescriptionWangpeng is good at drawing. Now he wants to say numbers like “521” to his girlfriend through the game draw something.Wangpeng can’t wr...
分类:
其他好文 时间:
2014-07-22 22:53:15
阅读次数:
242
一:mmc的命令例如以下:1:对mmc读操作mmc read addr blk# cnt 2:对mmc写操作 mmc write addr blk# cnt3:对mmc擦除操作mmc erase blk# cnt4:又一次搜索mmc设备mmc rescan5:列出mmc的分区mmc part ...
分类:
其他好文 时间:
2014-07-22 22:51:54
阅读次数:
222
不知大家是否见过这样一种让人“眼花缭乱”的位域操作, int read = 0 << 1; int write = 0 << 2; int connect = 0<<3; 最典型的就是jdk nio里的SelectionKey了,当你判断一个selectionkey所感兴趣的操作时,你不...
分类:
其他好文 时间:
2014-07-22 08:25:36
阅读次数:
201
Description
Problem C: A Walk Through the Forest
Jimmy experiences a lot of stress at work these days, especially since his accident made working difficult. To relax after a hard day, he likes to ...
分类:
其他好文 时间:
2014-07-21 09:27:14
阅读次数:
300
题目链接 Write a function to find the longest common prefix string amongst an array of strings. 题目的意思说的不是很清楚,开始理解成了求任意两个字符串的前缀中的最长者。但是本题的意思是求所有字符串的最长公共前缀,...
分类:
其他好文 时间:
2014-07-21 09:14:25
阅读次数:
225
mac的QuickTime player 默认打开视频之后,是暂停的状态
解决方法:进入终端输入以下命令,可以实现打开视频就开始播放
defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1
mac的QuickTime Player 播放器上点击双箭头按钮可以用
2 倍的速度播放视频,
但是 2 ...
分类:
其他好文 时间:
2014-07-20 23:00:58
阅读次数:
258
从写一个TCP套接字的write调用成功返回仅仅表示我们可以重新使用原来的应用进程缓冲区,并不代表对端TCP或应用进程已接收到数据。
对端TCP必须确认收到的数据,伴随来自对端的ACK的不断到达,本端TCP至此才能从套接字发送缓冲区中丢弃已确认的数据,TCP必须为已发送的数据保留一个副本,直到它被对端确认为止。
UDP不保存应用进程数据的副本因此无需一个真正的发送缓冲区,wri...
分类:
其他好文 时间:
2014-07-20 22:12:23
阅读次数:
333
Given two binary trees, write a function to check if they are equal or not.
Two binary trees are considered equal if they are structurally identical and the nodes have the same value.
比较两个...
分类:
编程语言 时间:
2014-07-20 22:12:03
阅读次数:
273
Modelmany-to-many可以通过through来定义详细信息。表结构:property
分类:
其他好文 时间:
2014-07-20 08:20:30
阅读次数:
254
In this article, I gathered up all the dumps, who found. If you see something new table will be updated.If you want to replenish the base - write in c...
分类:
移动开发 时间:
2014-07-19 23:12:35
阅读次数:
867