Skip to content

Instantly share code, notes, and snippets.

Carlos Souza caike

Block or report user

Report or block caike

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:50567
ActionController::Routing.use_controllers! ["static"]
load "config/routes.rb"
test "should route /riff/some-title" do
:controller => 'static', :action => 'show_riff', :title => 'some-foo-bar')
test "should route /static/new_riff" do
View gist:54896
View gist:54902
post '/list_twits' do
twit =
tiwts = twit.from(params[:login])
@twits = []
tiwts.each do |t|
@twits << t.text
erb :list
View gist:54904
<form name="twitter_form" action="/list_twits" method="post">
Twitter login:<br/><br/>
<input type="text" id="login" name="login" /><br/><br/>
<input type="submit" value="Get twits!"/>
View gist:54905
<% @twits.each do |t| %>
<li><%= t %></li>
<% end %>
View gist:54906
require 'rubygems'
require 'twitter'
require 'sinatra'
:run => false,
:env => :production,
:views => 'public/views'
caike / gist:63034
Created Feb 13, 2009
spring beans.xml
View gist:63034
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns=""
<bean id="mailman" class="" />
<!-- <bean id="email" class="" />-->
<bean id="school" class="">
View gist:112434
The best early Maiden songs were about
2.killing whores
3.being wrongly accused of killing whores
4.being on the run after killing whores
5.being on the run after being wrongly accused of killing whores
6.being led to the gallows(probably for killing whores but this is unconfirmed)
7.Walking around with your junk hanging out.
View blogroll_horaextra.html
ATENÇÃO: os links estão ordenados alfabeticamente. Siga esta nomenclatura ao adicionar o seu.
<ul id="blogroll">
<li><a href="">Caike Souza</a></li>
<li><a href="">Marcos Tapajós</a></li>
<li><a href="">Rafael Lima</a></li>
<li><a href="">Rafael Tauil</a></li>
<li><a href="">Ramon Bispo</a></li>
You can’t perform that action at this time.