Skip to content

Instantly share code, notes, and snippets.

@beezenees
beezenees / reset_simulator.applescript
Created April 21, 2016 13:59 — forked from jakemarsh/reset_simulator.applescript
Simple Applescript that can be run from the command line to programmatically reset the iOS simulator.
tell application "Simulator"
activate
end tell
tell application "System Events"
tell process "Simulator"
tell menu bar 1
tell menu bar item "Simulator"
tell menu "Simulator"
@beezenees
beezenees / alloy.py
Last active August 29, 2015 14:07 — forked from joshjensen/alloy.py
# Put me in: ~/Library/Application Support/Sublime Text 2/Packages/User/
# Set your layout to Grid 4 - Go to view > layout > Grid: 4
# Based on this Gist from Fokke - https://gist.github.com/FokkeZB/6218345
# Alloy lay-out for Sublime Text http://withtitanium.com/2013/08/titanium-alloy-optimized-sublime-text-2-layout/
# Put me in: ~/Library/Application Support/Sublime Text 2/Packages/User/
import sublime, sublime_plugin, inspect
from os.path import splitext