This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
a little code that I saw long time ago
put it in your .vimrc
then vundle (vim plugin manager) will automatic install if you have git
then your can happly use vundle to mange your vim plugin :)
vundle support three source :
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [alias] | |
| log1 = log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all | |
| log2 = log --graph --abbrev-commit --decorate --format=format:'%C(bold blue)%h%C(reset) - %C(bold cyan)%aD%C(reset) %C(bold green)(%ar)%C(reset)%C(bold yellow)%d%C(reset)%n'' %C(white)%s%C(reset) %C(dim white)- %an%C(reset)' --all |
輸出已安裝的 packages 成 requirements 格式
pip freeze
從 requirements 安裝
pip install -r /path/to/requirements.txt
- Web Storage 是一種可讓網頁將資料儲存於本地端的技術,其作用如同 cookie,但空間更大
- 主要有兩種
- local storage (類似 persistent cookies)
- session storage (類似 session cookies)
- 原本是 HTML5 規格的一部份,後來單獨劃為一個規格
- Web Storage 純粹運作於 client side
