This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ============================================================ // | |
// 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Ext.application({ | |
name: 'Sencha', | |
launch: function() { | |
Ext.create("Ext.TabPanel", { | |
fullscreen: true, | |
tabBarPosition: 'bottom', | |
ui: 'light', | |
items: [ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'RMagick' | |
require 'rvg/rvg' | |
include Magick | |
require 'picture' | |
RVG::dpi = 72 | |
class PictureGenerator |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
When /^(?:|I )select "([^\"]*)" as the "([^\"]*)" date$/ do |date, date_label| | |
select_date(date, :from => date_label) | |
end | |
DATE_TIME_SUFFIXES = { | |
:year => '1i', | |
:month => '2i', | |
:day => '3i', | |
:hour => '4i', | |
:minute => '5i' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'sinatra' | |
require 'haml' | |
$LOAD_PATH.unshift(File.dirname(__FILE__) + '/lib') | |
require 'oauth.rb' | |
enable :sessions | |
get '/' do |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
_______________________________________ | |
( Q: What's tiny and yellow and very, ) | |
( very, dangerous? A: A canary with the ) | |
( super-user password. ) | |
--------------------------------------- | |
o | |
o | |
.--. | |
|o_o | | |
|:_/ | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
______ | |
( moo ) | |
------ | |
o ,__, | |
o (oo)____ | |
(__) )\ | |
||--|| * |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title>Example Notice</html> | |
<style type="text/css"> | |
body { font-family: helvetica; } | |
#notice { | |
color: #fff; | |
position: absolute; | |
width: 400px; | |
top: 10px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
You're nearly there! | |
The final bit.ly link is formed by putting together the 5 bonus letters you've found along the way. | |
http://bit.ly/***** | |
(in case you're wondering what this is, start here: http://twitpic.com/j50un) |
NewerOlder