在linux下查看磁盘使用率,最常用到的是df和du,但是有时就会发现du 和df出来的结果并不完全相同,有时候还有很大差距1. 两个命令的解释 du --disk usage df -- disk free2.du 和df 工作原理2.1 du工作原理 du命令会对待统计的文件逐个调...
分类:
其他好文 时间:
2014-09-10 23:45:11
阅读次数:
292
dead space 2 game reviewBut the case, where Stop Shop and Pyramid Contractors were named as plaintiffs, is certain to raise serious questions about co...
分类:
其他好文 时间:
2014-09-10 19:17:30
阅读次数:
319
java.lang.OutOfMemoryError: PermGen space解决方案 :
-Xms512m -Xmx1024m -XX:MaxPermSize=256m...
分类:
编程语言 时间:
2014-09-10 17:54:10
阅读次数:
147
初学nodejs,折腾过用handlebars做模板,后来隔了一段重新学习,用了jade,真心简洁……记录一些学习笔记,以备复习。 jade是基于缩进的,所以tab与space不能混用; 属性的设置:link(rel='stylesheet', href='/stylesheets/styl...
分类:
其他好文 时间:
2014-09-10 15:27:50
阅读次数:
291
1.基本正则表达式支持的元字符元字符描述用法举例.匹配任意一个字符。a.,x.y,x..,.ab.[]匹配指定范围内的任意字符。[abc],[0-9],[a-z],[A-Z],[[:alpha:]],[[digit:]],
[[:alnum:]],[[space:]],[[:upper:]],[[:lower:]],[[:punct:]][^]匹配指定范围以外的任意字符,即‘[]’的取..
分类:
其他好文 时间:
2014-09-10 12:42:51
阅读次数:
140
一、现象描述
真正意义上的inline-block水平呈现的元素间,换行显示或空格分隔的情况下会有间距,很简单的个例子:
间距就来了~~
我们使用CSS更改非inline-block水平元素为inline-block水平,也会有该问题:
.space a {
display: inline-block;
padding: .5em 1em;...
分类:
其他好文 时间:
2014-09-10 12:36:50
阅读次数:
221
EC2上的虚拟机容量满了,一看是lvm的格式,顿时想到可以用lvm在线扩容EC2的create volume ,attach disk就不说了,下面是在guestos上执行的操作,ls /dev/sd* # 查看物理磁盘,找到那块新加的磁盘fdisk /dev/sdi # 分区...
分类:
其他好文 时间:
2014-09-10 12:15:40
阅读次数:
218
Given a sorted array, remove the duplicates in place such that each element appear onlyonceand return the new length.Do not allocate extra space for a...
分类:
其他好文 时间:
2014-09-10 09:26:30
阅读次数:
198
In one embodiment of the present invention, a method includes switching between a first address space and a second address space, determining if the s...
分类:
其他好文 时间:
2014-09-10 01:35:59
阅读次数:
222
Word Break
Total Accepted: 22281 Total
Submissions: 105657My Submissions
Given a string s and a dictionary of words dict, determine if s can be segmented into a space-separated sequence o...
分类:
其他好文 时间:
2014-09-09 21:39:29
阅读次数:
335