Skip to content

Instantly share code, notes, and snippets.

@coldfumonkeh
coldfumonkeh / application.rb
Created October 11, 2012 15:01
Ruby / Sinatra code for PhoneGap Build to automatically force a new request from a Github repository
require 'sinatra'
require 'rest_client'
def get_or_post(path, opts={}, &block)
get(path, opts, &block)
post(path, opts, &block)
end
get '/' do
'Hello world'
@coldfumonkeh
coldfumonkeh / pnginator.rb
Created August 6, 2012 13:10 — forked from gasman/pnginator.rb
pnginator: pack Javascript into a self-extracting PNG
#!/usr/bin/env ruby -w
# pnginator.rb: pack a .js file into a PNG image with an HTML payload;
# when saved with an .html extension and opened in a browser, the HTML extracts and executes
# the javascript.
# Usage: ruby pnginator.rb input.js output.png.html
# By Gasman <http://matt.west.co.tt/>
# from an original idea by Daeken: http://daeken.com/superpacking-js-demos
@coldfumonkeh
coldfumonkeh / gist:3103552
Created July 13, 2012 08:11 — forked from paulirish/gist:3098860
Open Conference Expectations

Open Conference Expectations

For conferences, it's extremely important that attendees get top-quality content from industry experts. As a highly compelling format of educating others based on experience and research, conferences stand to be one the best sources of refined knowledge available. Still, it's important for a successful event to have a few guidelines to ensure quality content from the best and most appropriate speakers. Below is a set of guidelines for conference organizers that ensure quality content for attendees and the community.

What We, As Speakers, Expect from Conferences

  1. Schedule: Conferences will let speakers know the time and duration of their talk at least two weeks before the event.

  2. A/V & Power: Conferences will provide a quality projector with at least 1024x768 resolution, projected onto a screen that is appropriately sized and readily viewable by all attendees in the room. Conferences will also provide power outlets at the podium.