Skip to content

Instantly share code, notes, and snippets.


Mayank Raj dsculptor

  • Databricks
  • Amsterdam, Netherlands
View GitHub Profile

Keybase proof

I hereby claim:

  • I am dsculptor on github.
  • I am dsculptor ( on keybase.
  • I have a public key ASAg8IwSEPLXbju8eFWM2yqaD4TPLxFrAPWJfu3RomWsNAo

To claim this, I am signing this object:

View transmit-iterm-patch.applescript
-- Run the following cmd to make Transmit marry iterm2 as its Terminal partner:
-- defaults write com.panic.Transmit OpenTerminalScriptPath ~/transmit-iterm-patch.applescript
on openTerminal(location, remoteHost, serverPort)
-- Prepare sshCmd and cmd:
set sshCmd to ""
set cmd to "cd \"" & location & "\""
if ((count of remoteHost) is greater than 0) then
set sshCmd to "ssh " & remoteHost