Skip to content

Instantly share code, notes, and snippets.

hoolie doolie

Charlie Tran charlietran

hoolie doolie
View GitHub Profile
charlietran / TerminalVim.scpt
Last active July 19, 2023 14:22
Open file in iTerm vim for MacOS Sierra
View TerminalVim.scpt
-- This creates a shim Application that will enable you to open files from the Finder in vim using iTerm
-- To use this script:
-- 1. Open Automator and create a new Application
-- 2. Add the "Run Applescript" action
-- 3. Paste this script into the Run Applescript section
-- 4. Save the application as in your Applications folder
-- 5. In the Finder, right click on a file and select "Open With". In that window you can set TerminalVim as a default

Keybase proof

I hereby claim:

  • I am charlietran on github.
  • I am charlietran ( on keybase.
  • I have a public key whose fingerprint is B7ED 550C 9BAF 22D2 541D 26E2 28FC D5CE 2E12 53E6

To claim this, I am signing this object:

View gist:66fed4f8049ca9320fe400bf1564d508
charlietran / gist:1726418
Created February 2, 2012 23:24
CSS vertical centering for IE7+
View gist:1726418
Vertical centering of variable-height content
Compatible with IE7 and below
Author: Charlie Tran
Date: Feb 2012
Agency: FreeAssociation (
More elegant solution here if you only care about IE8+: