上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 53 下一页
摘要: 详细的更改: git show commitid只列出文件名:git show --pretty="format:" --name-onlycommitid转自:http://zhidao.baidu.com/link?url=XYc_nMq8CHl8oXJ2QNF4lWXYUItCKI19hg9P... 阅读全文
posted @ 2015-12-14 16:24 圆旭 阅读(1980) 评论(0) 推荐(1) 编辑
摘要: 选中你要分的部分再分栏如果不想分的部分也被分了,那就可以选中不想分的那部分,选择“分栏”->“一栏”转自:http://zhidao.baidu.com/question/9873268.html?qbl=relate_question_0&word=word%20%B7%D6%C0%B8%20%D... 阅读全文
posted @ 2015-12-12 17:08 圆旭 阅读(4468) 评论(0) 推荐(0) 编辑
摘要: 首先在~/.bashrc文件中添加一行:# User specific aliases and functionsalias rm='rm -i'注意,此处 rm 和 = 之间不能有空格,否则会有找不到rm命令的提示,然后在终端执行这条命令,使得刚才的修改即刻生效:source ~/.bash_pr... 阅读全文
posted @ 2015-12-09 13:00 圆旭 阅读(776) 评论(0) 推荐(0) 编辑
摘要: 一:对CPU进行简单测试:计算圆周率echo "scale=5000; 4*a(1)" | bc -l -q转自:http://wushank.blog.51cto.com/3489095/1585927 阅读全文
posted @ 2015-12-08 14:01 圆旭 阅读(359) 评论(0) 推荐(0) 编辑
摘要: You cansshdirectly from the Terminal on Mac, but you need to use a.PEMkey rather than theputty.PPKkey. You can use PuttyGen on Windows to convert from... 阅读全文
posted @ 2015-12-03 18:59 圆旭 阅读(1313) 评论(0) 推荐(0) 编辑
摘要: #!/bin/shpasswd ubuntu<<EOFubuntuubuntuEOFsed -i 's/PasswordAuthentication no/PasswordAuthentication yes/g' /etc/ssh/sshd_configservice ssh restart这样你... 阅读全文
posted @ 2015-12-03 18:39 圆旭 阅读(527) 评论(0) 推荐(0) 编辑
摘要: 如果ubuntu要安装新软件,已有deb安装包(例如:iptux.deb),但是无法登录到桌面环境。那该怎么安装?答案是:使用dpkg命令。dpkg命令常用格式如下:sudo dpkg -I iptux.deb#查看iptux.deb软件包的详细信息,包括软件名称、版本以及大小等(其中-I等价于--... 阅读全文
posted @ 2015-11-26 09:45 圆旭 阅读(335) 评论(0) 推荐(0) 编辑
摘要: class Student(object): @property def score(self): return self._score @score.setter def score(self, value): if not isinstance... 阅读全文
posted @ 2015-11-19 17:29 圆旭 阅读(294) 评论(0) 推荐(0) 编辑
摘要: 下面是几个vi与行移动有关的命令:G:光标移至最后一行nG:光标移至第n行首n+:光标下移n行n-:光标上移n行注意输入命令,需要首先按ESC键回到命令模式。转自:http://zhidao.baidu.com/link?url=g6KMde5QV2O4ctJDTzmbu2xzcGbx2gEmSad... 阅读全文
posted @ 2015-11-19 10:40 圆旭 阅读(17958) 评论(0) 推荐(0) 编辑
摘要: 1.在 Fork 的代码库中添加上游代码库的 remote 源,该操作只需操作一次即可。如: 其中# upstream 表示上游代码库名, 可以任意。git remote addupstreamhttps://github.scm.corp.ebay.com/montage/frontend-ui-... 阅读全文
posted @ 2015-11-13 16:20 圆旭 阅读(624) 评论(0) 推荐(0) 编辑
上一页 1 ··· 40 41 42 43 44 45 46 47 48 ··· 53 下一页