Skip to content

Instantly share code, notes, and snippets.

@raucao
raucao / test.rb
Created July 21, 2008 20:30 — forked from zapnap/gist:117
def foo
puts 'bar'
end
@raucao
raucao / autodiscovery.html
Created November 30, 2008 19:24
Let me google that for you
<link rel="search" type="application/opensearchdescription+xml" title="LMGTFY" href="http://gist.github.com/raw/30507/a4c5f7012b53ec085ff55f3090271be63ba721f0">
@raucao
raucao / gist:47222
Created January 15, 2009 02:03 — forked from halbtuerke/gist:31934
Show Git dirty state (and branch) in the prompt (+ lovely colors)
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;32m\]"
BLUE="\[\033[0;34m\]"
LIGHT_RED="\[\033[1;31m\]"
LIGHT_GREEN="\[\033[1;32m\]"
WHITE="\[\033[1;37m\]"
LIGHT_GRAY="\[\033[0;37m\]"
COLOR_NONE="\[\e[0m\]"
#tag_cloud
@for !n from 1 through 10
.importance_#{!n}
:font-size= round(!base_font_size + ((!base_font_size / 10) * !n))
@if !n < 5
:color= #222 + !n * #111
# Awesomness in form of colors, git branch, and commit (dirty) status
RED="\[\033[0;31m\]"
YELLOW="\[\033[0;33m\]"
GREEN="\[\033[0;32m\]"
BLUE="\[\033[0;34m\]"
LIGHT_RED="\[\033[1;31m\]"
LIGHT_GREEN="\[\033[1;32m\]"
WHITE="\[\033[1;37m\]"
LIGHT_GRAY="\[\033[0;37m\]"
{
"priority":"Normal",
"description":"They are all over the place!",
"status":"new",
"milestone":"Priority Updates",
"summary":"Change all help links to point to tender and the tender KB",
"assignee":"John Smith",
"category":"Documentation",
"id":4,
"reporter":"Adam Cooke"
@raucao
raucao / readitlater_to_instapaper.rb
Created December 24, 2010 07:51
Copy all unread items from RIL to Instapaper
#!/usr/bin/env ruby
require 'rubygems'
require 'ostruct'
require 'httparty'
STDOUT.sync = true
AppConfig = OpenStruct.new
AppConfig.api_key = "key"

Game Engines

Name Latest Release Size (KB) License Type Unit Tests Docs Notes
The Render Engine 1.5.3 MIT Cross-browser; extensive API; open-source. 2
gameQuery 0.5.1 CC BY-SA 2.5 Designed to be used with jQuery
gTile 0.0.1 (2008-07-21) Tile based
Akihabara 1.3 GPL2/MIT Classic Repro Intended for making classic arcade-style games in JS+HTML5 3
The Javascript 2D Game Engine GPL Emphasis on gravity/physics/collision detection; uses HTML5 Canvas and ExplorerCanvas for IE support. Focus on limiting CPU usage. 4
The GMP Javascript Game Engine
@raucao
raucao / oauth.coffee
Created May 23, 2011 08:28 — forked from roidrage/oauth.coffee
Example of using Express and node-oauth to do OAuth with Twitter
express = require "express"
sys = require "sys"
util = require "util"
oauth = require "oauth"
fs = require "fs"
app = module.exports = express.createServer()
app.configure('development', () ->
app.use(express.errorHandler({ dumpExceptions: true, showStack: true }))
info: Welcome to Nodejitsu
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Authenticated as 5apps
info: Analyzing your application dependencies in server.js
warn: Creating new snapshot for version 0.1.0-9
info: Done creating snapshot 0.1.0-9
error: Error running command deploy
error: socket hang up
error: Error: socket hang up