Skip to content

Instantly share code, notes, and snippets.

View marcoscoelho's full-sized avatar
🐰
welcome

Marcos Coelho marcoscoelho

🐰
welcome
View GitHub Profile
Tutorial for compiling the Compass.app (http://compass.handlino.com/)
=====================================================================
Java installed?
java -version
Load jRuby (for example JRuby 1.6.5.1 Binary .zip)
http://jruby.org/download
Unzip jRuby to `/usr/local/`
@marcoscoelho
marcoscoelho / developerquiz.php
Created August 9, 2011 14:33 — forked from alganet/developerquiz.php
Full script for the Google Developer Day Quiz (http://developerquiz.appspot.com) in 39 lines (max: 80 char/line)
<?php isset($argv[1]) OR die('Input file should be the first arg on cmd line.');
const G_FOO = 'bjdrf'; //Googlon special letters
const G_INV = 'c'; //Preposition invalidator
const G_PREP = 3; //Preposition size
const G_VERB = 6; //Verb size
const G_ORDER = 'gkvrbjwtnlphzfmdxcqs'; //Letter ordering
const G_NUM_MOD = 5; //Pretty number divisor
const G_NUM_MAX = 860533; //Pretty number minimum