git init
or
| #!/usr/bin/env sh | |
| ## | |
| # This is script with usefull tips taken from: | |
| # https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
| # | |
| # install it: | |
| # curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
| # |
| {"key":"value","key2":"value"} |
| Latency Comparison Numbers | |
| -------------------------- | |
| 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 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
| layer { | |
| name: "data" | |
| type: "Input" | |
| top: "data" | |
| input_param { | |
| shape { | |
| dim: 1 | |
| dim: 1 | |
| dim: 96 | |
| dim: 96 |
| input: "image" | |
| input_dim: 1 # Original: 2 | |
| input_dim: 3 # It crashes if not left to 3 | |
| input_dim: 1 # Original: 368 | |
| input_dim: 1 # Original: 368 | |
| layer { | |
| name: "conv1_1" | |
| type: "Convolution" | |
| bottom: "image" | |
| top: "conv1_1" |
| //PLEASE NOTE: The ParticleEmitter class functions have changed since this tutorial | |
| //after I reorganized some things for the SIMD update loop. The final code for that | |
| //is linked in the optimization section. | |
| enum ParticleFacingType | |
| { | |
| ParticleFacing_2D_Billboard, | |
| ParticleFacing_3D_Billboard | |
| }; |
| bind-key C-b send-prefix | |
| bind-key C-o rotate-window | |
| bind-key C-q confirm-before kill-server | |
| bind-key C-z suspend-client | |
| bind-key Space next-layout | |
| bind-key ! break-pane | |
| bind-key # list-buffers | |
| bind-key $ command-prompt -I #S "rename-session '%%'" | |
| bind-key & confirm-before -p "kill-window #W? (y/n)" kill-window | |
| # Commennt out caused by Gist syntax error |