- Docker
- homebrew
- Anaconda
- BitPay
- Adobe Photoshop and Lightroom
Install manually because they give conflicts:
- Chrome # manual install because doesn't work with 1Password
- Dropbox # manual install because doesn't work with
dropbox-encore
function memorySizeOf(obj) { | |
var bytes = 0; | |
function sizeOf(obj) { | |
if(obj !== null && obj !== undefined) { | |
switch(typeof obj) { | |
case 'number': | |
bytes += 8; | |
break; | |
case 'string': |
# See https://github.com/burke/zeus/issues/466#issuecomment-60242431 | |
if defined?(::Rails) && Rails.env | |
if Rails::VERSION::MAJOR == 3 | |
verbose, $VERBOSE = $VERBOSE, nil | |
if defined?(Rails::Console) | |
Rails::Console::IRB = ::Pry unless Rails::Console::IRB == ::Pry | |
end | |
$VERBOSE = verbose | |
unless defined? ::Pry::ExtendCommandBundle |
(defun save-framegeometry () | |
"Gets the current frame's geometry and saves to ~/.emacs.d/framegeometry." | |
(let ( | |
(framegeometry-left (frame-parameter (selected-frame) 'left)) | |
(framegeometry-top (frame-parameter (selected-frame) 'top)) | |
(framegeometry-width (frame-parameter (selected-frame) 'width)) | |
(framegeometry-height (frame-parameter (selected-frame) 'height)) | |
(framegeometry-file (expand-file-name "~/.emacs.d/framegeometry")) | |
) |
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 | |
SSD random read 150,000 ns | |
Read 1 MB sequentially from memory 250,000 ns 0.25 ms | |
Round trip within same datacenter 500,000 ns 0.5 ms |
# Git Emacs 24 from the main Savannah (savannah.gnu.org) repository and apply typester's fullscreen patch | |
rm -fr emacs | |
git clone git://git.savannah.gnu.org/emacs.git | |
cd emacs | |
wget http://cloud.github.com/downloads/typester/emacs/feature-fullscreen.patch | |
patch -p1 -i feature-fullscreen.patch | |
cd .. | |
curl -O http://ftp.gnu.org/gnu/m4/m4-1.4.13.tar.gz | |
tar -xzvf m4-1.4.13.tar.gz | |
cd m4-1.4.13 |
can't activate rack (~> 1.2.1, runtime) for ["faraday-0.5.1", "gowalla-0.5.2"], already activated rack-1.1.0 for ["actionpack-2.3.10", "rails-2.3.10"] |