Skip to content

Instantly share code, notes, and snippets.

wrbs / evil.rb
Created August 26, 2013 23:50
Think you ruby likes you. Think again. Load it up into any program and you will have trouble displaying anything to the screen.
View evil.rb
# Monkeypatching like a boss
class Array
def do_def(&block)
self.each do |method|
Kernel.send :define_method, method, &block
# Think you can print anything. You must be stupid
wrbs / gist:1397294
Created November 27, 2011 09:26
Hello World
View gist:1397294
#include <stdio.h>
int main(){
printf("hello World");