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
<script src="http://widgets.twimg.com/j/2/widget.js"></script> | |
<script> | |
new TWTR.Widget({ | |
version: 2, | |
type: 'profile', | |
rpp: 4, | |
interval: 2000, | |
width: 250, | |
height: 300, | |
theme: { |
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
attr = { | |
"1"=>"Passeio de jeep na Floresta da Tijuca", | |
"4"=>"Tirolesa na Lagoa Rodrigo de Freitas", | |
"5"=>"City Tour pela Cidade Maravilhosa", | |
"8"=>"Museu Casa do Pontal", | |
"9"=>"Forte de Copacabana", | |
"13"=>"Mosteiro de São Bento", | |
"16"=>"Museu de Arte Moderna", | |
"19"=>"Museu do Índio", | |
"24"=>"Planetário do Rio", |
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
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
function proml { | |
local BLUE="\[\033[0;34m\]" | |
local RED="\[\033[0;31m\]" | |
local LIGHT_RED="\[\033[1;31m\]" | |
local GREEN="\[\033[0;32m\]" | |
local LIGHT_GREEN="\[\033[1;32m\]" |
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
function parse_git_branch { | |
git branch --no-color 2> /dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/(\1)/' | |
} | |
function proml { | |
local BLUE="\[\033[0;34m\]" | |
local RED="\[\033[0;31m\]" | |
local LIGHT_RED="\[\033[1;31m\]" | |
local GREEN="\[\033[0;32m\]" | |
local LIGHT_GREEN="\[\033[1;32m\]" |
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
def img(opt={}) | |
opt[:background_path] ||= "#{Rails.root.to_s}/public/images/citywaypass/card_background.png" | |
opt[:background_density] ||= "300x300" | |
opt[:font] ||= 'arial' | |
opt[:font_weight] ||= 900 | |
opt[:pointsize] ||= 24 | |
opt[:width] ||= 2603 | |
opt[:heigth] ||= 1620 | |
opt[:text] ||= "Something...." |
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
data = [ | |
215211, | |
218166, | |
221817, | |
224000, | |
226665, | |
228260, | |
230059, | |
235005, | |
239554, |
NewerOlder