Changes between Version 2 and Version 3 of jazz/16-04-15
- Timestamp:
- Apr 15, 2016, 11:58:21 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/16-04-15
v2 v3 13 13 brew install gist 14 14 }}} 15 * Debian / Ubuntu 安裝 16 {{{ 17 apt-get -y install gist 18 }}} 19 * 使用 20 * 登入 21 {{{ 22 gist login 23 }}} 24 * 上傳單一檔案 25 {{{ 26 gist file1 27 }}} 28 * 上傳多個檔案 29 {{{ 30 gist file1 file2 31 }}} 32 * 上傳 STDIN 到指定檔名 33 {{{ 34 指令 | gist -f "檔名" 35 }}} 36 * 複製 gist URL 到剪貼簿 37 {{{ 38 指令 | gist -c 39 }}} 15 40 16 41 == Bash == … … 21 46 * TLDP 的測試腳本可以在 gist 取得 22 47 * https://gist.github.com/jazzwang/55203a9f33386e0e567328fb86ebf7db 48 49 == Gradle == 50 51 {{{ 52 ~$ mkdir -p gradle-sample 53 ~$ cd gradle-sample 54 ~/gradle-sample$ gradle init 55 :wrapper 56 :init 57 58 BUILD SUCCESSFUL 59 60 Total time: 2.419 secs 61 62 This build could be faster, please consider using the Gradle Daemon: https://docs.gradle.org/2.12/userguide/gradle_daemon.html 63 }}} 64 * <code>gradle init</code> 產生的目錄結構如下: 65 {{{ 66 . 67 ├── build.gradle 68 ├── gradle 69 │ └── wrapper 70 │ ├── gradle-wrapper.jar 71 │ └── gradle-wrapper.properties 72 ├── gradlew 73 ├── gradlew.bat 74 └── settings.gradle 75 76 2 directories, 6 files 77 }}}