Skip to content

Instantly share code, notes, and snippets.

mkdir ~/Pictures/Screenshots
defaults write com.apple.screencapture location ~/Pictures/Screenshots
killall SystemUIServer

Keybase proof

I hereby claim:

  • I am pckls on github.
  • I am pckls (https://keybase.io/pckls) on keybase.
  • I have a public key ASBTqurNNLb8XoXVpcia1dsBRUM90UvqJP2Lz3qvwnMWEwo

To claim this, I am signing this object:

@pckls
pckls / Vagrantfile
Last active August 29, 2015 13:56 — forked from leifg/Vagrantfile
file_to_disk = './tmp/large_disk.vdi'
Vagrant::Config.run do |config|
config.vm.box = 'base'
config.vm.provider "virtualbox" do |vb|
unless File.exist?(file_to_disk)
vb.customize ['createhd', '--filename', file_to_disk, '--size', 100 * 1024]
end
vb.customize ['storageattach', :id, '--storagectl', 'SATA Controller', '--port', 1, '--device', 0, '--type', 'hdd', '--medium', file_to_disk]
@pckls
pckls / gist:8897231
Created February 9, 2014 10:27
Vagrantfile w/puppet
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.define "local", primary: true do |local|
local.vm.box = "precise64"
local.vm.hostname = "vb-puppet"
local.vm.provision "puppet"