This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-s thin -p 5432 | |
require "rubygems" | |
require 'orange-sparkles' | |
app = Orange::SparklesApp.app | |
app.orange.options["main_user"] = "[email protected]" | |
run app |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env ruby | |
require 'yaml' | |
# Prints out the string "Hello World!" in | |
# an extremely convoluted way involving | |
# method_missing magic, dynamic method calls, | |
# some metaprogramming, completely useless comments, | |
# the DATA block, yaml, and Sesame Street. | |
# | |
# This hello world brought to you by the letter Q. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'eventmachine' | |
module Console | |
PROMPT = "\n>> ".freeze | |
def post_init | |
send_data PROMPT | |
send_data "\0" | |
end |
NewerOlder