1、创建一个10G分区,并格式为ext4文件系统;[root@jonny~]#fdisk/dev/sdb
命令(输入m获取帮助):n
Partitiontype:
pprimary(0primary,0extended,4free)
eextended
Select(defaultp):p
分区号(1-4,默认1):
起始扇区(2048-41943039,默认为2048):
将使用默认值2048
Last扇区,..
分类:
其他好文 时间:
2016-09-26 18:27:07
阅读次数:
194
1 #!/usr/bin/env python 2 #-*- coding:UTF-8 -*- 3 ##################################################### 4 # Author: sunfx xingrhce@163.com 5 # Last mo ...
分类:
其他好文 时间:
2016-09-26 12:37:20
阅读次数:
191
1.创建master分支并上传到remote分支 create 2 folders and 4 files 2.修改folder1/file1.java,commit并push。 3.修改folder1/file2.java,使用Amend Last Commit选项,先commit。 4.push ...
分类:
其他好文 时间:
2016-09-25 13:22:28
阅读次数:
197
在DOM里ng-repeat那个重复的标签上写ng-init="$last?lastAction($index):''",用三目表达式来判断是不是最后一个,是最后一个就去执行lastAction()函数。 $scope.lastAction = function(index){ console.lo ...
分类:
其他好文 时间:
2016-09-25 10:43:02
阅读次数:
137
REST API Design Guidelines V 1.0.201208 Draft 5 Last Updated: 08/31/2012 1 简介 1 简介 本文档旨在规范REST API的设计和开发。 1.1 REST API目标 1.1 REST API目标 REST API允许Newe ...
CSS3新增选择器 #E:nth-child(n):匹配元素类型为E且是父元素的第n个子元素#E:nth-last-child(n):匹配元素类型为E且是父元素的倒数第n个子元素(与上一项顺序相反)#E:first-child:匹配元素类型为E且是父元素的第一个子元素#E:last-child:匹配 ...
分类:
Web程序 时间:
2016-09-24 01:56:53
阅读次数:
306
html: 效果如下: 本以为在 `#icons .column .txt` 处加隔条后,想把最后一个竖隔条设为 `border:none;` 没想到如上如所示,全部都不见了。 原来,伪类选择器`:first-child`和`:last-child`是根据父级进行筛选的,`#icons .colum ...
分类:
Web程序 时间:
2016-09-23 13:22:49
阅读次数:
530
An abbreviation of a word follows the form <first letter><number><last letter>. Below are some examples of word abbreviations: a) it --> it (no abbrev ...
分类:
其他好文 时间:
2016-09-22 06:34:27
阅读次数:
184
效果图: 效果参考 URL: xianfei689.github.io/hg-canvas/pc/heart/heart.html 代码解析: 首先是一座小山 》 last : > 动画了 ...
分类:
其他好文 时间:
2016-09-21 12:53:38
阅读次数:
171
今天下午来到,运行了curl -i url:port ,然后返回的信息,用json.loads()解析,出报一下错误: Traceback (most recent call last): File "test1.py", line 12, in <module> decodejson = json ...
分类:
编程语言 时间:
2016-09-20 19:35:18
阅读次数:
437