代码改变世界

[Gradle] 如何强制 Gradle 重新下载项目的依赖库

2017-06-28 18:00 by shaobin0604, 8327 阅读, 0 推荐, 收藏, 编辑
摘要:强制刷新 Gradle 依赖库缓存 $ gradle build --refresh-dependencies The --refresh-dependencies option tells Gradle to ignore all cached entries for resolved modul 阅读全文

[Jenkins] Manage Jenkins from Web Interface

2017-05-26 22:31 by shaobin0604, 228 阅读, 0 推荐, 收藏, 编辑
摘要:| URL | 说明 | | | | | [jenkins_url]/safeRestart | This will restart Jenkins after the current builds have completed. | | [jenkins_url]/restart | This w 阅读全文

[Android Tips] 26. Multiple Maven repositories in Gradle

2017-05-18 14:01 by shaobin0604, 288 阅读, 0 推荐, 收藏, 编辑
摘要:来自 https://gradleproject.wordpress.com/2013/02/14/multiple maven repositories in gradle/ This DOESN’T work: This works 阅读全文

[Chrome] 如何下载老版本的 Chrome

2017-03-10 14:42 by shaobin0604, 6123 阅读, 0 推荐, 收藏, 编辑
摘要:Google 官方只提供了最新版的 Chrome, 在旧版本的系统(如:Ubuntu 12.04 LTS)安装不上 "这里" 提供了 Chrome 的历史版本下载 备注:Ubuntu 12.04 LTS 可以安装 Chrome v49 "Download older versions of Goog 阅读全文

[Android Tips] 25. ADB Command Note

2016-12-08 17:26 by shaobin0604, 310 阅读, 0 推荐, 收藏, 编辑
摘要:copy from https://github.com/operando/Android-Command-Note Android Command Note Logcat adb logcat -v time adb logcat -v time -b main adb logcat -v tim 阅读全文

[Python] 删除指定目录下后缀为 xxx 的过期文件

2016-11-20 21:43 by shaobin0604, 857 阅读, 0 推荐, 收藏, 编辑
摘要:```Python import os import time import datetime def should_remove(path, pattern, days): if not path.endswith(pattern): return False mtime = os.path.getmtime(path) now = time.tim... 阅读全文

[Git] Ubuntu 升级 git 版本

2016-10-22 14:50 by shaobin0604, 5576 阅读, 0 推荐, 收藏, 编辑
摘要:参考 "Download for Linux and Unix" 阅读全文

[Android Tips] 24. Gradle listing project dependencies

2016-08-26 11:46 by shaobin0604, 227 阅读, 0 推荐, 收藏, 编辑
摘要:or install this Android Studio Plugin https://github.com/rholder/gradle view 阅读全文

[Android Tips] 23. How to fail/stop Gradle task immediately if some conditions are not met

2016-08-16 14:18 by shaobin0604, 265 阅读, 0 推荐, 收藏, 编辑
摘要:参考 "How to fail/stop task immediately if some conditions are not met" 阅读全文

[Android Tips] 22. Available Java 7 Features in Android

2016-07-16 11:53 by shaobin0604, 268 阅读, 0 推荐, 收藏, 编辑
摘要:This only allows Java 7 language features, and you can hardly benefit from anything since a half of improvement also comes from the library. Features 阅读全文
上一页 1 2 3 4 5 6 7 8 ··· 11 下一页