Skip to content

Instantly share code, notes, and snippets.


Sam Seay samueljseay

View GitHub Profile
samueljseay /
Last active Oct 25, 2018 — forked from didichanoch/
New Zealand MTG Code of Conduct

New Zealand MTG Code of Conduct


The New Zealand MTG Discord channel is a place for Magic players throughout NZ to gather, talk, trade and arrange games together. We hope you have fun!

The current admins are:

  • Sam Seay
View ubuntu14.04-command-line-install-android-sdk
# install openjdk
sudo apt-get install openjdk-7-jdk
# download android sdk
tar -xvf android-sdk_r24.2-linux.tgz
cd android-sdk-linux/tools
# install all sdk packages
samueljseay / gist:82cf59d73eb884c4f91c
Created Jan 25, 2016
Everything you can override in a refinerycms project with refinerycms-blog
View gist:82cf59d73eb884c4f91c
When starting a project that includes refinerycms-blog:
$ rake refinery:override view=refinery/pages/*
$ rake refinery:override view=layouts/*
$ rake refinery:override view=refinery/blog/shared/*
$ rake refinery:override view=refinery/blog/posts/*
$ rake refinery:override view=refinery/*
$ rake refinery:override controller=refinery/blog/*
$ rake refinery:override controller=refinery/*
View controllers.application.js
import Ember from 'ember';
export default Ember.Controller.extend({
appName:'Ember Twiddle',
something: Ember.computed(function() {
return 8;
list: [
Creates a computed property that persists into local storage, all
instances share the same value for the same property.
App.AuthController = Ember.Controller.extend({
token: Em.computed.stored()
controller = App.__container__.lookup('controller:auth')
controller.set('token', 'abc123foo456bar')
samueljseay / gist:7779276
Last active Jul 19, 2021 — forked from jimbojsb/gist:1630790
Color highlight and copy code for presentations
View gist:7779276

Step 0:

Get Homebrew installed on your mac if you don't already have it

Step 1:

Install highlight. "brew install highlight". (This brings down Lua and Boost as well)

Step 2:

View haml_cheatsheet.haml
-# HTML5 doctype
!!! 5
!!! strict
!!! XML
-#ie conditionals
/[if IE]
%a{ href: "" }