- Shrink to Grow(Daniel Bovensiepen)
- Identical Production, Staging and Development Environments Using Chef, AWS and Vagrant(Christopher Rigor)
- Fewer Constraints, More Concurrency.(Ryan Smith)
- Webruby: Now you can write your favorite Ruby code for the browser!(Xuejie "Rafael" Xiao)
- Contributing to Ruby(Zachary Scott)
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
[cogumm@cogumm]/power-polygon$ sudo node run.js | |
module.js:340 | |
throw err; | |
^ | |
Error: Cannot find module 'bytes' | |
at Function.Module._resolveFilename (module.js:338:15) | |
at Function.Module._load (module.js:280:25) | |
at Module.require (module.js:364:17) | |
at require (module.js:380:17) |
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
var cannonRotated = false; | |
var Robot = function(robot) { | |
robot.rotateCannon(-90); | |
cannonRotated = true; | |
}; | |
Robot.prototype.onIdle = function(ev) { | |
var robot = ev.robot; | |
if (!cannonRotated){ |
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 'sinatra' | |
require 'hpricot' | |
require 'open-uri' | |
html = '<html><head><title>Feed de imagens</title>' | |
html += '<meta http-equiv="Content-Type" content="text/html;charset=UTF-8"></meta></head>' | |
html += '<link rel="stylesheet" href="http://passets-lt.pinterest.com/css/pinboard_759c5bb3.css" type="text/css" media="all"/>' | |
html += '<body><h1>Feed de imagens</h1>' |
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
# ~~~~~~~~~~~~~~~~~~~~~~~~ | |
# souDev: @CoGUMm | |
# WebSite: www.CoGUMm.net | |
# ~~~~~~~~~~~~~~~~~~~~~~~~ | |
#encoding: utf-8 | |
#!/usr/bin/env ruby | |
require 'rubygems' | |
require 'net/http' | |
require 'json/pure' |
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
pt-BR: | |
activerecord: | |
models: | |
attributes: | |
# Devise | |
user: | |
name: Nome | |
email: E-mail |
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
class Test::Unit::UI::Console::RedGreenTestRunner < Test::Unit::UI::Console::TestRunner | |
def initialize(suite, output_level=NORMAL, io=$stdout) | |
# monkey patched passando os parametros suite, output_level | |
super(suite, output_level) | |
# monkey patched @io = io | |
@io = io | |
end | |
# monkey patched adicionado o parametro color=nil | |
def output_single(something, color=nil, level=NORMAL) |
NewerOlder