Changes between Version 2 and Version 3 of jazz/16-04-15


Ignore:
Timestamp:
Apr 15, 2016, 11:58:21 PM (9 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/16-04-15

    v2 v3  
    1313brew install gist
    1414}}}
     15 * Debian / Ubuntu 安裝
     16{{{
     17apt-get -y install gist
     18}}}
     19 * 使用
     20   * 登入
     21{{{
     22gist login
     23}}}
     24   * 上傳單一檔案
     25{{{
     26gist file1
     27}}}
     28   * 上傳多個檔案
     29{{{
     30gist file1 file2
     31}}}
     32   * 上傳 STDIN 到指定檔名
     33{{{
     34指令 | gist -f "檔名"
     35}}}
     36   * 複製 gist URL 到剪貼簿
     37{{{
     38指令 | gist -c
     39}}}
    1540
    1641== Bash ==
     
    2146 * TLDP 的測試腳本可以在 gist 取得
    2247 * 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
     58BUILD SUCCESSFUL
     59
     60Total time: 2.419 secs
     61
     62This 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
     762 directories, 6 files
     77}}}