This file contains 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: | |
ie6update: | |
msg: 'O seu Internet Explorer tá precisando ser atualizado pra poder visualizar esse site. Clique aqui pra atualizar... ' | |
url: 'http://www.microsoft.com/windows/internet-explorer/default.aspx' | |
home: | |
index: | |
headline1: "EchoWaves.com é um grupo de chat social opensource" | |
headline2: 'O código fonte está hospedado em: <a href="http://github.com/dmitryame/echowaves">http://github.com/dmitryame/echowaves</a>.' | |
p1: "<h5>Se você gosta de conversar, participar de blogs, enviar fotos, compartilhar atualizações com seus amigos, ou simplesmente socializar -- Você vai adorar o EchoWaves.</h5> Se você tem algumas ideias ou sugestões sinta-se livre para falar sobre isso aqui" | |
p2: "-- É de graça e qualquer um pode entrar. Inicie seus próprios convos, convide todos os seus amigos para entrar nos seus convos, siga outros convos que pareçam interessante para você. Divirta-se!" |
This file contains 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
stuff_to_do_title: "Coisas para fazer" | |
stuff_to_do_what_im_doing_now: "O que estou fazendo agora" | |
stuff_to_do_what_is_recommended: "O que foi recomendado para fazer em seguida" | |
stuff_to_do_what_is_available: "O que tem pra ser feito" | |
stuff_to_do_text_order_im_doing_it: "Em ordem estou fazendo isso" | |
stuff_to_do_text_by_project_manager: "Pelo mantenedor do projeto" | |
stuff_to_do_label_view_user_list: "Ver a lista dos outros usuários:" | |
stuff_to_do_text_total_progress: "Progresso total" | |
stuff_to_do_text_total_estimates: "Total de tempo estimado" | |
stuff_to_do_label_project_manager_emails: "Emails de mantenedor do projeto" |
This file contains 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 TelephoneNumber < String | |
@@phone_er = /^\+?([0-9]{2})? *\(? *0?([0-9]{2}) *\)? *([0-9]{4}) *-? *([0-9]{4})/ | |
attr_accessor :ddi, :ddd, :prefix, :number | |
def initialize number | |
number_matched = number.match @@phone_er | |
self.ddi, self.ddd, self.prefix, self.number = number_matched.captures | |
self.ddi ||= '55' | |
super "+#{self.ddi} (#{self.ddd.rjust 3, '0'}) #{self.prefix}-#{self.number}" |
This file contains 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
#!/bin/ruby | |
#rode no 1.9 e no 1.8 | |
c = 0 and loop { c += 1 and puts c} |
This file contains 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
html{ | |
-webkit-animation: barrel-roll 5s 1; | |
-moz-animation: barrel-roll 5s 1; | |
-ms-animation: barrel-roll 5s 1; | |
} | |
@-webkit-keyframes barrel-roll | |
{ | |
from{-webkit-transform: rotate(0deg);} | |
to{-webkit-transform: rotate(360deg);} |
This file contains 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
gem 'devise' | |
gem 'kaminari' | |
gem 'haml' | |
gem 'capybara', :group => [:development, :test] | |
gem 'rspec-rails', :group => [:development, :test] | |
gem 'haml-rails', :group => [:development, :test] | |
gem 'hpricot', :group => [:development, :test] | |
gem 'ruby_parser', :group => [:development, :test] | |
gem 'web-app-theme', :group => [:development, :test] |
This file contains 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
# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted | |
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to | |
# newer versions of the distribution. | |
deb http://br.archive.ubuntu.com/ubuntu/ oneiric main restricted | |
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric main restricted | |
## Major bug fix updates produced after the final release of the | |
## distribution. | |
deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted |
This file contains 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
if (navigator.geolocation) { | |
navigator.geolocation.getCurrentPosition(success, error); | |
} else { | |
error('not supported'); | |
} |
This file contains 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 showAddress(address) { | |
if (geocoder) { | |
geocoder.getLatLng( | |
address, | |
function(point) { | |
if (!point) { | |
alert(address + " not found"); | |
} else { | |
map.setCenter(point, 13); | |
var marker = new GMarker(point); |
OlderNewer