上一页 1 2 3 4 5 6 7 8 9 ··· 28 下一页
摘要: 可以先删除所有本地tag,然后再拉取远程上的tag 其他方法以及查询tag的命令请见:Remove local tags that are no longer on the remote repository 阅读全文
posted @ 2017-07-31 11:10 raindream 阅读(994) 评论(0) 推荐(0)
摘要: git stash 可用来暂存当前正在进行的工作, 比如想pull 最新代码, 又不想加新commit, 或者另外一种情况,为了fix 一个紧急的bug, 先stash, 使返回到自己上一个commit, 改完bug之后再stash pop, 继续原来的工作。 基本流程: 查看当前的stash情况: 阅读全文
posted @ 2017-07-28 19:21 raindream 阅读(162) 评论(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 阅读(271) 评论(0) 推荐(0)
摘要: 1. 2. 全是空格的行也去掉: 3. 只包含一个字母的行也去掉: .也匹配空格 阅读全文
posted @ 2017-07-14 14:25 raindream 阅读(4633) 评论(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 阅读(181) 评论(0) 推荐(0)
摘要: 1. 如果n为2的幂,则 2. mod运算规则: 结合律 ((a+b) mod p + c)mod p = (a + (b+c) mod p) mod p ((a*b) mod p * c)mod p = (a * (b*c) mod p) mod p 交换律 (a + b) mod p = (b+ 阅读全文
posted @ 2017-05-20 17:06 raindream 阅读(216) 评论(0) 推荐(0)
摘要: 启动脚本: 停止脚本: 需要使用管理员权限运行以上脚本:选择脚本,右键选择以管理员身份运行。 阅读全文
posted @ 2017-05-07 16:46 raindream 阅读(225) 评论(0) 推荐(0)
摘要: 通配地址就是全0的地址,由内核随机选取 阅读全文
posted @ 2017-04-22 00:29 raindream 阅读(365) 评论(0) 推荐(0)
摘要: The only times finally won't be called are: 以上来自:Does finally always execute in Java? 另见Sun Tutorials中的note: Note: If the JVM exits while the try or c 阅读全文
posted @ 2017-04-22 00:15 raindream 阅读(260) 评论(0) 推荐(0)
摘要: 使用本地指定目录下jar包 阅读全文
posted @ 2017-04-22 00:11 raindream 阅读(165) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 7 8 9 ··· 28 下一页