关于分区:
挂载点装置说明//dev/hda115G/home/dev/hda2最大的剩余空间/boot/dev/hda3200MB左右swap/dev/hda5大约内存大小(建议至少512MB)/var/dev/hda6视服务器功能决定大小
/ 20G /boot 用于挂载boot,...
分类:
其他好文 时间:
2014-05-10 00:33:59
阅读次数:
348
如果你想要在Chrome中进行GWT调试,需要安装“gwt developer plugin
for chrome”,但是普通安装模式下,会提示:This application is not supported on this computer.
Installation has been dis...
分类:
Web程序 时间:
2014-05-10 00:12:24
阅读次数:
507
在 mkfs.ext4 /dev/sda2 格式化硬盘空间时,可能出现这样的错误。
had this situation at office where I was told to re-partition an already existing partition. The situation was to get the below schema
/dev/sdb1 1 3040 24...
分类:
其他好文 时间:
2014-05-09 20:49:25
阅读次数:
343
find / –name sqlplus iostat –d 2 iostat和iowait详细解说
如果你想对硬盘做一个IO负荷的压力测试可以用如下命令 time dd if=/dev/zero bs=1M count=2048 of=direct_2G
此命令为在当前目录下新建一个2G的文件 我...
分类:
系统相关 时间:
2014-05-09 20:31:22
阅读次数:
547
ImageView.ScaleType.CENTER|android:scaleType="center"
以原图的几何中心点和ImagView的几何中心点为基准,按图片的原来size居中显示,不缩放,当图片长/宽超过View的长/宽,则截取图片的居中部分显示ImageView的size.当图片小于...
分类:
移动开发 时间:
2014-05-09 20:15:23
阅读次数:
355
这里指的水平居中当然是说通过CSS来自动控制的,而不是说计算之后,设置一个位置来指定居中的。一般情况下有三种实现方式:在实现方式中,我们定义两个名词来方便后面的解说:out--包含需要被居中元素的那个容器,in--需要居中的元素。1.
text-align: center设置out的text-ali...
分类:
Web程序 时间:
2014-05-09 19:52:24
阅读次数:
535
运行环境:Ubuntu12.04PC提前安装库:flex,bison,libncureses5-dev,texinfo,这些库提前apt-get
install。需要重新安装:gawk(先apt-get remove mawk, 然后apt-get install gawk,工具链构建完成后可恢复)...
分类:
其他好文 时间:
2014-05-09 13:27:20
阅读次数:
686
Given a binary tree, check whether it is a
mirror of itself (ie, symmetric around its center).For example, this binary tree
is symmetric: 1 / \ ...
分类:
其他好文 时间:
2014-05-09 09:28:18
阅读次数:
253
fstat函数用于返回关于文件的信息到一个struct stat结构中,stat结构中的st_mode可以用来区分文件类型。
struct stat {
dev_t st_dev; /* ID of device containing file */
ino_t st_ino; /* inode ...
分类:
其他好文 时间:
2014-05-09 02:01:26
阅读次数:
379
newton板已经发布了,下面接着整理我调试的一个小小的方面,蓝牙的功能实现以及测试:
转载请注明出处:http://blog.csdn.net/wang_zheng_kai
3.2. Bluetooth Function Test
141
142 1)View the Bluetooth MAC address and device names:hcitool dev
143...
分类:
其他好文 时间:
2014-05-09 01:32:21
阅读次数:
265