platform:Debian Jessie x64 PC
安裝gist
# apt-get install gist
登入gist帳密
$ gist-paste --login
Obtaining OAuth2 access_token from github.
GitHub username: clementyan
GitHub password:
Success! https://github.com/settings/applications
檢查
$ ls -la | grep gist
-rw------- 1 clementyan clementyan 40 Apr 13 21:27 .gist
上傳檔案
$ gist-paste linux_kernel_source_tree.txt -f kernel_source_tree.txt -o
說明
-o, --open Open the resulting URL in a browser.
-f, --filename [NAME.EXTENSION] Sets the filename and syntax type.
--login Authenticate gist on this computer.
Ref:gist-paste -h
$ gist-paste --login
Obtaining OAuth2 access_token from github.
GitHub username: clementyan
GitHub password:
Success! https://github.com/settings/applications
檢查
$ ls -la | grep gist
-rw------- 1 clementyan clementyan 40 Apr 13 21:27 .gist
上傳檔案
$ gist-paste linux_kernel_source_tree.txt -f kernel_source_tree.txt -o
說明
-o, --open Open the resulting URL in a browser.
-f, --filename [NAME.EXTENSION] Sets the filename and syntax type.
--login Authenticate gist on this computer.
Ref:gist-paste -h
沒有留言:
張貼留言
文章有誤或有問題麻煩您留言告知! 謝謝您~~