Skip to content

Instantly share code, notes, and snippets.

View mniebling's full-sized avatar

Mike Niebling mniebling

View GitHub Profile
@mniebling
mniebling / Rakefile
Last active August 29, 2015 14:12
Rake task to compile LESS to CSS (Heavily commented)
# Include Ruby modules
require 'rubygems'
require 'less'
require 'rake'
# The base path for the website
SITE_ROOT = "."
# Other options
CONFIG = {
@mniebling
mniebling / Safari-OpenIOSDevTools
Created June 20, 2014 16:21
Open Safari's Dev Tools and attach to running iOS Simulator
tell application "Safari" to activate
tell application "System Events"
tell process "Safari"
click menu item "index.html" in menu "iPhone Simulator" of menu item "iPhone Simulator" in menu "Develop" of menu bar item "Develop" in menu bar 1
end tell
end tell