Skip to content

Instantly share code, notes, and snippets.

@shtirlic
shtirlic / move_test.cs
Created October 17, 2010 18:45
Testing Rovio movement
private void button2_Click(object sender, EventArgs e)
{
int i = 0;
while (i < 10)
{
rc.ManualDrive(1, 1);
i++;
}
module Abominate
def replace_object new_object
raise Exception.new( "Ia! Ia! Cthulhu Fhtagn!" ) unless instance_variable_defined? "@i_know_this_is_an_abomination"
context = class << self ; self ; end
new_object.instance_variables.each do |var|
instance_variable_set( var, new_object.instance_variable_get( var ) )
end
require 'rubygems'
require 'sinatra'
require "sinatra/reloader"
get '/h' do
'Helllllo world!'
end
get '/t' do