Panes in iTerm2

I don’t use panes in iTerm often enough and whenever I do I seem to have forgotten the keyboard commands to split and navigate them, so… ⌘D – Split vertically ⌘⇧D – Split horizontally ⌘⌥↑ (or ↓, ← or →) – Navigate between panes ⌘⇧↩ – Maximise pane toggle

Reverse the scroll direction in Windows

I use Macs for most things but have one Windows PC. To match the Mac mouse scrolling directions on a Windows machine: Run Powershell as an administrator. Get-ItemProperty HKLM:\SYSTEM\CurrentControlSet\Enum\HID\*\*\Device` Parameters FlipFlopWheel -EA 0 | ForEach-Object { Set-ItemProperty $_.PSPath FlipFlopWheel 1 } Thanks to Richard

Scala and SBT set up for the command line on OSX

Install the Java SE SDK from (you can install multiple versions – 1.7, 1.8 …) Get Homebrew from if you haven’t already and brew update & brew install sbt For vim install the vim-scala plugin from Create the obligatory Hello X App. mkdir HelloSbt & cd HelloSbt & vi Hello.scala Add: Create a build file. vi […]

Use multiple accounts with Heroku is a plugin for Heroku to allow you to use multiple accounts, e.g. work and personal. To install: heroku plugins:install git:// Then set up each account: heroku accounts:add personal –auto heroku accounts:add work –auto Set your default: heroku accounts:default personal Then to switch account for an app: heroku accounts:set work