Git入门
git add是提交到暂存区域
git commit是提交到本地git目录 -a 跳过add到暂存域
git commit –amend 修复上一次提交
git push 是提交到远程目录
git log查看提交历史 -p显示每次提交的内容差异 -2最近两次提交 – stat显示摘要,如次数 –pretty=format:”%h -%an, %ar %s” –graph
git mv...
分类:
其他好文 时间:
2015-06-27 16:26:47
阅读次数:
122
Graph is an important data structure and has many important applications. Moreover, grach traversal is key to many graph algorithms.There are two syst...
分类:
其他好文 时间:
2015-06-26 23:39:01
阅读次数:
160
A new Graph Game
Time Limit: 8000/4000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others)
Total Submission(s): 1849 Accepted Submission(s): 802
Problem Description
An undirected ...
分类:
其他好文 时间:
2015-06-25 15:43:42
阅读次数:
251
1,grep
2,awk
3,cut
4,tr
5,sed实例1 获取本地IP地址/sbin/ifconfig -a|grep inet|grep -v 127.0.0.1|grep -v inet6 | awk '{print $2}' | tr -d "addr:"...
分类:
其他好文 时间:
2015-06-25 12:28:44
阅读次数:
84
This problem is not quite difficult (a typical BFS traversal of graph), though, its aceptance rate is relatively low. In fact, the key obstacle in pas...
分类:
其他好文 时间:
2015-06-24 20:52:01
阅读次数:
173
尊重原创转载请注明:From AigeStudio(http://blog.csdn.net/aigestudio)Power by Aige 侵权必究!炮兵镇楼要在数量上统计中国菜的品种,在地域上毫无争议地划分菜系,在今天,是一件几乎不可能完成的事……Cut…………抱歉……忘吃药了,再来一遍。如果...
分类:
其他好文 时间:
2015-06-24 18:21:45
阅读次数:
138
corePlot 使用技巧://设置内边距:graph.plotAreaFrame.paddingLeft +=5;graph.plotAreaFrame.paddingTop +=5;graph.plotAreaFrame.paddingRight +=5;graph.plotArea...
分类:
其他好文 时间:
2015-06-24 14:23:00
阅读次数:
174
sortsort 命令对 File 参数指定的文件中的行排序,并将结果写到标准输出。如果 File 参数指定多个文件,那么 sort 命令将这些文件连接起来,并当作一个文件进行排序。sort语法[root@www ~]# sort [-fbMnrtuk] [file or stdin]选项与参数:-...
分类:
系统相关 时间:
2015-06-24 12:45:28
阅读次数:
209
图的定义图(Graph)是由顶点的有穷非空集合和顶点之间边的集合组成。注意:在图结构中,不允许没有顶点,在定义中,如果V是顶点的集合,则强调了顶点集合V的有穷非空。在图中,若不存在顶点到其自身的边,且同一条边不重复出现,则称这样的图为简单图。图的存储结构邻接矩阵考虑到图是由顶点和边或者弧两部分组成的...
分类:
其他好文 时间:
2015-06-23 21:20:18
阅读次数:
249
cut命令
cut命令用来操作文件的列,可以视为列编辑器;与之对应是大多数的行“编辑器”,如sed、grep、sort等,它们操作文本时,以行为单位。
cut的主要功能就是输出文本的某一列或几列。对于英文文本,一个字符就占据一列,所以输出几列就是输出几个字符。
主要选项如下:-c : 指定要输出的列数,可以是单个数字,也可以是如3-5之类的范围。...
分类:
系统相关 时间:
2015-06-23 18:04:57
阅读次数:
177