正则表达式\<the\>:精确匹配the,不包括包含the的单词[^b-d]:不包含b~da\{2\}:a出现2次a\{2,3\}:a出现2~3次a\{2,\}:a至少出现2次[:upper:]:大写字母(用的时候外面加一层[]表示匹配字符集合)[:lower:]:小写字母[:digit:]:数字[:alnum:]:大小写字母和数字[:space..
分类:
其他好文 时间:
2014-08-15 02:52:37
阅读次数:
199
操作分区#fdisk-l......Disk/dev/sdb:32.2GB,32212254720bytes255heads,63sectors/track,3916cylindersUnits=cylindersof16065*512=8225280bytesSectorsize(logical/physical):512bytes/512bytesI/Osize(minimum/optimal):512bytes/512bytesDiskidentifier:0x00000000Disk/dev/..
分类:
其他好文 时间:
2014-08-15 02:51:17
阅读次数:
311
When designing your application to support a wide range of screen sizes, you can reuse your fragments in different layout configurations to optimize the user experience based on the available screen space.
For example, on a handset device it might be appr...
分类:
移动开发 时间:
2014-08-15 01:33:26
阅读次数:
344
VirtualBox虚拟磁盘空间不够了,默认10G。想扩大,图形界面下没有找到可操作菜单。Google了一下用 Vbox自带的命令工具VBoxManage即可解决。C:\Program Files\Oracle\VirtualBox>VBoxManage modifyhd e:\vbox\Ubunt...
分类:
其他好文 时间:
2014-08-14 16:11:28
阅读次数:
178
详见:嵌入式大讲堂由于FatFs模块完全与磁盘I/O层分开,因此底层磁盘I/O需要下列函数去读/写物理磁盘以及获取当前时间。由于底层磁盘I/O模块并不是FatFs的一部分,因此它必须由用户提供。disk_initialize: 1 /*--------------------------------...
分类:
其他好文 时间:
2014-08-14 15:53:38
阅读次数:
253
Virtual addresses from multiple address spaces are translated to real addresses in main memory by generating for each virtual address an address space...
分类:
移动开发 时间:
2014-08-14 13:24:28
阅读次数:
489
Understanding the Space Used by ZFSBy Brian Leonard on Sep 28, 2010Until recently, I've been confused and frustrated by the zfs list output as I try t...
分类:
其他好文 时间:
2014-08-14 10:31:38
阅读次数:
390
Problem Description:
Sort a linked list in O(n log n)
time using constant space complexity.
分析:对链表进行排序,思考排序算法时间复杂度为O(nlogn)的只有归并,快排和堆排序,应用到链表上的归并比较合适,这里利用快慢指针找到链表的中间节点,然后分别对两边递归归并排好序后将两边归并即可得到最终...
分类:
其他好文 时间:
2014-08-13 22:25:57
阅读次数:
234
转帖:http://blog.chinaunix.net/space.php?uid=11654074&do=blog&id=2857384Contents Page文件夹入木三分学网络第一篇--VRRP协议具体解释... 11. VRRP产生背景及应用环境... 21.1为什么要用VRRP. 22...
分类:
其他好文 时间:
2014-08-13 22:18:47
阅读次数:
785
1. 在Finder中打开Adobe Flash Builder 4.7的安装目录2. 在Adobe Flash Builder 4.7.app上点击右键“Show Package contents”(显示包内容)3. 定位到Contents/MacOS目录下4. 用文本编辑打开Adobe Flas...
分类:
编程语言 时间:
2014-08-13 22:00:47
阅读次数:
196