Skip to content

Instantly share code, notes, and snippets.

View abrcoelho's full-sized avatar

Abraão Coelho abrcoelho

  • Tech Lead
  • Belo Horizonte, MG, Brasil
  • X @abrcoelho
View GitHub Profile
" Pathogen
call pathogen#infect()
set nocompatible " choose no compatibility with legacy vi
syntax enable
set encoding=utf-8
set showcmd " display incomplete commands
filetype plugin indent on " load file type plugins + indentation
set visualbell
<div class="periodo">
<div class="field">
<%= f.label :data %><br />
<%= f.date_select :data, :order => [:day, :month, :year] %>
</div>
<div class="field">
<%= f.label :start, "Horário de Início" %><br />
<%= f.time_select :start %>
</div>
<div class="field">
# em seu terminal no Mac
cat /usr/share/calendar/calendar.lotr
# em seu terminal no Mac
cat /usr/share/calendar/calendar.lotr
#em seu terminal no Mac
cat /usr/share/calendar/calendar.lotr
cat /usr/share/calendar/calendar.lotr
cat /usr/share/calendar/calendar.lotr
class Duck
def initialize(name)
@name = name
end
def quaqua
puts "Pato #{@name} faz quaqua!!"
end
end