defaults write com.apple.screencapture location folder_name_here
Save screenshots to the 'Screenshots' folder (inside iCloud Drive)
defaults write com.apple.screencapture location ~/Library/Mobile\ Documents/com~apple~CloudDocs/Screenshots
#!/bin/sh | |
BASEDIR=$(cd "$(dirname "$0")"; pwd) | |
echo $BASEDIR |
(ns clojurebridge.core | |
(:require [clojure.edn :as edn] | |
[clj-http.client :as client] | |
[cheshire.core :as json])) |
#!/bin/bash | |
# Required linux packages for vagrant | |
sudo apt-get install linux-headers-generic build-essential dkms | |
# Install VBoxGuestAdditions | |
wget http://download.virtualbox.org/virtualbox/4.3.22/VBoxGuestAdditions_4.3.22.iso | |
sudo mkdir /media/VBoxGuestAdditions | |
sudo mount -o loop,ro VBoxGuestAdditions_4.3.22.iso /media/VBoxGuestAdditions | |
sudo sh /media/VBoxGuestAdditions/VBoxLinuxAdditions.run |
Select all and delete (actually move to buffer) | |
:%d | |
Select all and copy to buffer | |
:%y | |
Use p to paste the buffer. |
# First install tmux | |
brew install tmux | |
# For mouse support (for switching panes and windows) | |
# Only needed if you are using Terminal.app (iTerm has mouse support) | |
Install http://www.culater.net/software/SIMBL/SIMBL.php | |
Then install https://bitheap.org/mouseterm/ | |
# More on mouse support http://floriancrouzat.net/2010/07/run-tmux-with-mouse-support-in-mac-os-x-terminal-app/ |