Skip to content

Instantly share code, notes, and snippets.

View aimeerivers's full-sized avatar

aimee rivers aimeerivers

View GitHub Profile
require 'rubygems'
require 'RMagick'
require 'rvg/rvg'
include Magick
require 'picture'
RVG::dpi = 72
class PictureGenerator
@aimeerivers
aimeerivers / why.js
Created December 7, 2011 09:21
Sencha touch links not clickable
Ext.application({
name: 'Sencha',
launch: function() {
Ext.create("Ext.TabPanel", {
fullscreen: true,
tabBarPosition: 'bottom',
ui: 'light',
items: [
@aimeerivers
aimeerivers / revealing_statement.feature
Created January 13, 2012 09:19
Revealing statement
Feature: Revealing statement
Scenario Outline:
Given I begin a sentence "I'm not <SOMETHING> but ..."
When I finish the sentence
Then you will realise that I am in fact <SOMETHING>
Examples:
| SOMETHING |
| racist |
// ============================================================ //
// CAST
// ============================================================ //
window.chrome = {};
window.chrome.cast = {};
window.chrome.cast.isAvailable = true;
window.chrome.cast.initialize = function(a, b, c) { }
window.chrome.cast.ApiConfig = function(a, b, c) {
// This fakes that chromecast is available so the button appears
// call anything other than "available" to fake chromcast dissapearing