Skip to content

Instantly share code, notes, and snippets.

Avatar

Mayank Raj dsculptor

  • Databricks
  • Amsterdam, Netherlands
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

  • I am dsculptor on github.
  • I am dsculptor (https://keybase.io/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