Skip to content

Instantly share code, notes, and snippets.

View kennethdavidbuck's full-sized avatar

Kenneth Buck kennethdavidbuck

  • Prince Edward Island
View GitHub Profile
@kennethdavidbuck
kennethdavidbuck / commands
Created October 1, 2013 20:46
Example applescript to run a sequence of commands in new Terminal tabs. In this case, running grunt js on paths relative to the applescript.
tell application "Finder"
activate
set this_folder to (the target of the front window) as alias
set dev_root to POSIX path of this_folder
set directories to {"directory1", "directory2", "directory3"}
tell application "Terminal"
activate
@kennethdavidbuck
kennethdavidbuck / menu-speech-bubble-link-view.js
Created October 6, 2013 19:10
Example extension of Ember LinkView to include animated properties
@kennethdavidbuck
kennethdavidbuck / remember-route.js
Last active December 26, 2015 02:09
An attempt to return to the last route visited within a given resouce.
/**
*
*/
Em.RememberRouteMixin = Em.Mixin.create({
/**
* Whether or not this route should catch
* bubbling transitions and use them as a default
* transition object.
*/
catchTransition:false,