Skip to content

Instantly share code, notes, and snippets.

@scheffield
scheffield / share-vagrant-box.md
Last active June 26, 2017 12:01
How to share a vagrant box using https://atlas.hashicorp.com
  1. Sign Up and configure the box' meta data following the Atlas manual

  2. Provision your box as you like

  3. Find the name of your box

    $ VBoxManage list vms
  4. Package your box

mount
# apply /etc/fstab changes
sudo mount -a
# get disk information and UUIDs
bklid
sudo fdisk -l
diskutil verifyVolume /dev/disk2
# fill disk with zeros
sudo dd if=/dev/zero of=/dev/diskX
@scheffield
scheffield / install_r.sh
Last active March 5, 2017 02:22
Install R on Mac
# http://apple.stackexchange.com/questions/121401/how-do-i-install-r-on-os-x
brew install r r-gui
brew link r-gui
open /Applications/R.app
@scheffield
scheffield / rollback_iterm_nightly.sh
Created April 24, 2017 00:13
rollback iterm nightly
# get previous nightly from https://www.iterm2.com/downloads/nightly/#/section/home
cd /tmp
wget https://www.iterm2.com/downloads/nightly/iTerm2-3_1_20170419-nightly.zip
unzip iTerm2-3_1_20170419-nightly.zip -o -d ~/Users/scheffield/Applications/