Skip to content

Instantly share code, notes, and snippets.

@KL-7
KL-7 / gist:1966887
Created March 3, 2012 16:26 — forked from al3xandru/gist:1156476
Open iTerm in Current Folder
on run {input, parameters}
tell application "Finder"
set sel to selection
if (count sel) > 0 then
set myTarget to item 1 of sel
else if (count window) > 0 then
set myTarget to target of window 1
else
set myTarget to path to home folder
end if
@KL-7
KL-7 / active_admin_mongoid_patch.rb
Created February 12, 2012 16:30 — forked from moa3/active_admin_mongoid_patch.rb
Patches to make ActiveAdmin work with Mongoid.
# Patches to make ActiveAdmin work with Mongoid.
# For more information see https://github.com/gregbell/active_admin/issues/26 and https://gist.github.com/1809524.
require "active_admin"
require "active_admin/resource_controller"
require 'ostruct'
module ActiveAdmin
class Namespace
# Disable comments
@KL-7
KL-7 / updatesauceLabsresults.md
Created January 3, 2012 19:47 — forked from tarun3kumar/updatesauceLabsresults.java
Update SauceLabs Results

List:

  • foo
  • bar

This is an H1

This is an H2