A ZSH theme optimized for people who use:
- Solarized
- Git
- Unicode-compatible fonts and terminals (I use iTerm2 + Menlo)
| .foo | |
| position: fixed | |
| &.active | |
| animation: repaint 1ms | |
| @keyframes repaint | |
| from | |
| width: 99.999% | |
| to | |
| width: 100% |
| " Powerline for Vim | |
| set rtp+=/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/powerline/bindings/vim/ | |
| set laststatus=2 | |
| set t_Co=256 | |
| " 顯示列號 | |
| set number | |
| " 語法高亮度顯示 | |
| syntax on | |
| " 標記搜尋到的字串 |
| [user] | |
| name = Yingray Lu | |
| email = [email protected] | |
| [alias] | |
| lg1 = log --graph --abbrev-commit --decorate --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 | |
| lg2 = 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 | |
| lg = !"git lg1" |
| <scheme name="yingray_space" version="142" parent_scheme="Darcula"> | |
| <option name="FONT_SCALE" value="1.0" /> | |
| <metaInfo> | |
| <property name="created">2017-09-14T22:23:09</property> | |
| <property name="ide">Idea</property> | |
| <property name="ideVersion">2017.2.4.0.0</property> | |
| <property name="modified">2017-09-21T14:31:57</property> | |
| <property name="originalScheme">yingray_winds</property> | |
| </metaInfo> | |
| <option name="EDITOR_FONT_SIZE" value="12" /> |
| ES | SQL | MongoDB | |
|---|---|---|---|
| Index | Database | Database | |
| Shard | Shard | Shard | |
| Type | Table | Collection | |
| Field | Column | Field | |
| Object | Record | Record |
| version: '3.1' | |
| services: | |
| elasticsearch: | |
| image: docker.elastic.co/elasticsearch/elasticsearch:6.2.1 | |
| ports: | |
| - 9200:9200 | |
| - 9300:9300 | |
| volumes: | |
| - ./config/analysis:/usr/share/elasticsearch/config/analysis |
| { | |
| "extends": ["eslint:recommended", "airbnb"], | |
| "env": { | |
| "browser": true, | |
| "node": true, | |
| "es6": true, | |
| "mocha": true | |
| }, | |
| "parser": "babel-eslint", | |
| "parserOptions": { |
| # If you come from bash you might have to change your $PATH. | |
| # export PATH=$HOME/bin:/usr/local/bin:$PATH | |
| # Path to your oh-my-zsh installation. | |
| export ZSH=/Users/yingray_lu/.oh-my-zsh | |
| # Set name of the theme to load. Optionally, if you set this to "random" | |
| # it'll load a random theme each time that oh-my-zsh is loaded. | |
| # See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes | |
| ZSH_THEME="agnoster" |
Here is a high level overview for what you need to do to get most of an Android environment setup and maintained.
Prerequisites (for Homebrew at a minimum, lots of other tools need these too):
xcode-select --install will prompt up a dialog)Install Homebrew:
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"