Skip to content

Instantly share code, notes, and snippets.

View meal's full-sized avatar

Mateusz Kozak meal

View GitHub Profile
@meal
meal / gist:5765332
Created June 12, 2013 13:40
ruby wrapper gc patched
export PATH ; PATH="/usr/local/rvm/gems/ruby-1.9.3-p429/bin:/usr/local/rvm/gems/ruby-1.9.3-p429@global/bin:/usr/local/rvm/rubies/ruby-1.9.3-p429/bin:/usr/local/rvm/bin:$PATH"
export rvm_env_string ; rvm_env_string='ruby-1.9.3-p429'
export rvm_path ; rvm_path='/usr/local/rvm'
export rvm_ruby_string ; rvm_ruby_string='ruby-1.9.3-p429'
unset rvm_gemset_name
export RUBY_VERSION ; RUBY_VERSION='ruby-1.9.3-p429'
export GEM_HOME ; GEM_HOME='/usr/local/rvm/gems/ruby-1.9.3-p429'
export GEM_PATH ; GEM_PATH='/usr/local/rvm/gems/ruby-1.9.3-p429:/usr/local/rvm/gems/ruby-1.9.3-p429@global'
export MY_RUBY_HOME ; MY_RUBY_HOME='/usr/local/rvm/rubies/ruby-1.9.3-p429'
export IRBRC ; IRBRC='/usr/local/rvm/rubies/ruby-1.9.3-p429/.irbrc'
@meal
meal / robot.js
Created December 4, 2012 14:49
notb
//FightCode can only understand your robot
//if its class is called Robot
var friends = {}, id;
var Robot = function(robot) {
id = robot.id;
// friends is the set all friendly robots
friends[id] = id;
clone = robot.clone();
@meal
meal / robot.js
Created December 4, 2012 14:14 — forked from pveras/robot.js
ASIMO
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {
var robot = ev.robot;
@meal
meal / robot.js
Created December 4, 2012 13:17
Robotron
//FightCode can only understand your robot
//if its class is called Robot
var Robot = function(robot) {
};
Robot.prototype.onIdle = function(ev) {