src dir:
src
├── CAM_1
│ ├── YDXJ2002.jpg
│ ├── YDXJ2003.jpg
│ ├── YDXJ2004.jpg
│ ├── YDXJ2005.jpg
│ ├── YDXJ2006.jpg
| license: mit |
| license: mit |
| a | |
| able | |
| about | |
| abstract | |
| after | |
| ain | |
| ak | |
| aking | |
| al | |
| all |
| #!/usr/bin/perl | |
| # Based on: https://github.com/district10/cat/blob/master/bin/cat.pl | |
| # Usage: | |
| # perl unfold.pl INPUT_FILE > OUTPUT_FILE | |
| # Inclusion syntax: | |
| # <<[input_file.md] | |
| use 5.010; | |
| use strict; | |
| use warnings; |
| 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 |
src dir:
src
├── CAM_1
│ ├── YDXJ2002.jpg
│ ├── YDXJ2003.jpg
│ ├── YDXJ2004.jpg
│ ├── YDXJ2005.jpg
│ ├── YDXJ2006.jpg
| // Use Gists to store code you would like to remember later on | |
| console.log(window); // log the "window" object to the console |
another gist by tzx.
this is ...
| # Percol: https://github.com/mooz/percol | |
| # cd ~/.percol.d && ln -s to/this/file/percolrc rc.py | |
| percol.view.PROMPT = ur"<bold><yellow>QWERY </yellow></bold> %q" | |
| # Emacs like | |
| percol.import_keymap({ | |
| "C-h" : lambda percol: percol.command.delete_backward_char(), | |
| "C-d" : lambda percol: percol.command.delete_forward_char(), | |
| "C-k" : lambda percol: percol.command.kill_end_of_line(), |