07 2017 档案

摘要:可以先删除所有本地tag,然后再拉取远程上的tag 其他方法以及查询tag的命令请见:Remove local tags that are no longer on the remote repository 阅读全文
posted @ 2017-07-31 11:10 raindream 阅读(998) 评论(0) 推荐(0)
摘要:git stash 可用来暂存当前正在进行的工作, 比如想pull 最新代码, 又不想加新commit, 或者另外一种情况,为了fix 一个紧急的bug, 先stash, 使返回到自己上一个commit, 改完bug之后再stash pop, 继续原来的工作。 基本流程: 查看当前的stash情况: 阅读全文
posted @ 2017-07-28 19:21 raindream 阅读(164) 评论(0) 推荐(0)
摘要:apt-cache search linux 510 apt-cache search linux | grep generic 511 apt-cache search linux | grep 4.10. 512 apt-cache search linux | grep 4.10. | grep all 513 dpkg --get-selections | ... 阅读全文
posted @ 2017-07-28 00:03 raindream 阅读(273) 评论(0) 推荐(0)
摘要:1. 2. 全是空格的行也去掉: 3. 只包含一个字母的行也去掉: .也匹配空格 阅读全文
posted @ 2017-07-14 14:25 raindream 阅读(4637) 评论(0) 推荐(0)
摘要:转自:Difference between $.ajax() and $.get() and $.load() $.ajax() is the most configurable one, where you get fine grained control over HTTP headers an 阅读全文
posted @ 2017-07-06 15:16 raindream 阅读(183) 评论(0) 推荐(0)