Get it from the App Store.
In XCode's Preferences > Downloads you can install command line tools.
set pc, kernel_start | |
:clock | |
dat 0xffff | |
:get_hardware; () -> void | |
hwn i | |
.loop | |
sub i, 1 | |
hwq i |
L1 cache reference ......................... 0.5 ns
Branch mispredict ............................ 5 ns
L2 cache reference ........................... 7 ns
Mutex lock/unlock ........................... 25 ns
Main memory reference ...................... 100 ns
Compress 1K bytes with Zippy ............. 3,000 ns = 3 µs
Send 2K bytes over 1 Gbps network ....... 20,000 ns = 20 µs
SSD random read ........................ 150,000 ns = 150 µs
Read 1 MB sequentially from memory ..... 250,000 ns = 250 µs
Netstrings | |
D. J. Bernstein, [email protected] | |
19970201 | |
1. Introduction | |
A netstring is a self-delimiting encoding of a string. Netstrings are | |
very easy to generate and to parse. Any string may be encoded as a | |
netstring; there are no restrictions on length or on allowed bytes. |
/*********************************************************************** | |
vmtouch - the Virtual Memory Toucher | |
Portable file system cache diagnostics and control | |
by Doug Hoyte ([email protected]) | |
Compilation: | |
gcc -Wall -O3 -o vmtouch vmtouch.c |
" _vimrc @ (c) Leonardo Valeri Manera, 2010, 2011 | |
" Contains code from Ciaran McCreesh's .vimrc | |
" Contains code from amix the lucky stiff's .vimrc | |
" Contains code from Dominique Pelle's .vimrc | |
" Contains code from Henning Hasemann's .vimrc | |
" Contains code from Matthew Woznisky's .vimrc | |
cd $HOME | |
let g:skip_loading_mswin = 1 |
require 'formula' | |
class Thrift < Formula | |
homepage 'http://thrift.apache.org' | |
url 'http://www.apache.org/dyn/closer.cgi?path=thrift/0.8.0/thrift-0.8.0.tar.gz' | |
sha1 '1d652d7078d9cc70e2a45d3119b13e86ebd446da' | |
head 'http://svn.apache.org/repos/asf/thrift/trunk' | |
depends_on 'boost' |