- Install fish via Brew
- Optionally install Oh My Fish!
- Add fish to known shells
- Set default shell to fish
brew install fish
curl -L https://get.oh-my.fish | fish| package main | |
| import ( | |
| "flag" | |
| "fmt" | |
| "time" | |
| ) | |
| // Fake a long and difficult work. | |
| func DoWork() { |
brew install fish
curl -L https://get.oh-my.fish | fishhtml-pipeline: 把 text formatting 做成一層一層的 filter 接成 pipeline
linguist: 自動偵測一段文本或檔案的程式語言, GitHub 本身用它來偵測你專案使用的程式語言
charlock_holmes: 自動偵測文本的文字編碼,來自一個叫做 ICU 的資料庫,不知道是什麼,搜集了一堆文字編碼資訊和地區格式。
github-markdown: 實際在 GitHub 使用的 markdown compiler ,我找不到公開的 repo ,但程式碼是 MIT license ,很神秘…
github-markup: 用來把 README.md 這種檔案給 render 成 HTML
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
| # vi: ft=dosini | |
| [user] | |
| name = Pavan Kumar Sunkara | |
| email = [email protected] | |
| username = pksunkara | |
| [core] | |
| editor = nvim | |
| whitespace = fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
| pager = delta | |
| [column] |
| ## Solve Every Sudoku Puzzle | |
| ## See http://norvig.com/sudoku.html | |
| ## Throughout this program we have: | |
| ## r is a row, e.g. 'A' | |
| ## c is a column, e.g. '3' | |
| ## s is a square, e.g. 'A3' | |
| ## d is a digit, e.g. '9' | |
| ## u is a unit, e.g. ['A1','B1','C1','D1','E1','F1','G1','H1','I1'] |