September 7, 2012
Neville Li & David Xia
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns | |
| Send 1K bytes over 1 Gbps network 10,000 ns 0.01 ms | |
| Read 4K randomly from SSD 150,000 ns 0.15 ms | |
| Read 1 MB sequentially from memory 250,000 ns 0.25 ms | |
| Round trip within same datacenter 500,000 ns 0.5 ms |
| #/bin/bash | |
| # Debian package dependencies: | |
| # build-essential - for GCC, GNU Make, etc. | |
| # curl - obviously | |
| # exuberant-ctags - for Vim Tagbar | |
| # git - obviously | |
| # tmux - obviously | |
| # vim-nox - Vim with python and ruby support | |
| # zsh - obviously |
| # Default Theme | |
| if patched_font_in_use; then | |
| TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="⮂" | |
| TMUX_POWERLINE_SEPARATOR_LEFT_THIN="⮃" | |
| TMUX_POWERLINE_SEPARATOR_RIGHT_BOLD="⮀" | |
| TMUX_POWERLINE_SEPARATOR_RIGHT_THIN="⮁" | |
| else | |
| TMUX_POWERLINE_SEPARATOR_LEFT_BOLD="◀" | |
| TMUX_POWERLINE_SEPARATOR_LEFT_THIN="❮" |
| #!/bin/bash | |
| # | |
| # Build and iPhone Simulator Helper Script | |
| # David Xia 2013 | |
| # | |
| # WARN: - if your .xcodeproj name is not the same as your .app name, | |
| # this won't work without modifications | |
| # - you must run this script in where your .xcodeproj file is | |
| WORKSPACE=$1 |
| # name: davidxia | |
| # A Powerline-inspired theme for FISH | |
| # | |
| # # README | |
| # | |
| # In order for this theme to render correctly, you will need a | |
| # [Powerline-patched font](https://gist.github.com/1595572). | |
| ## Set this options in your config.fish (if you want to :]) | |
| set -g theme_display_user yes |
I hereby claim:
To claim this, I am signing this object:
| http https://ghe.spotify.net/api/graphql "Authorization: Bearer $github_access_token" query='{ | |
| user(login: "davidxia") { | |
| pullRequests(first: 100, states: OPEN) { | |
| totalCount | |
| nodes { | |
| number | |
| repository { | |
| name | |
| owner { | |
| login |