Skip to content

Instantly share code, notes, and snippets.

View rymawby's full-sized avatar

Ry Mawby rymawby

View GitHub Profile
@rymawby
rymawby / git-branches-by-commit-date.sh
Created June 27, 2016 14:36 — forked from jasonrudolph/git-branches-by-commit-date.sh
List remote Git branches and the last commit date for each branch. Sort by most recent commit date.
# Credit http://stackoverflow.com/a/2514279
for branch in `git branch -r | grep -v HEAD`;do echo -e `git show --format="%ci %cr" $branch | head -n 1` \\t$branch; done | sort -r
/**
* User: tom
* Date: 14/05/12
* Time: 14:46
*/
package {
import org.osflash.signals.Signal;
import flash.events.TimerEvent;
import flash.utils.Timer;
### Basic routes ###
Rails 3:
# singular resource
resource :account
# resources with addition member & collection actions
resources :games do
get :download, :on => :member
get :favourites, :on => :collection