Public Gists by hgtesta

Gravatar
Sat Oct 17 11:11:08 -0700 2009
1
2
3
Try it:
 
git log --pretty=format:'%C(green)%h%C(reset) %an %C(yellow)%ar%C(reset) %C(magenta)%d %C(reset)%s'
Gravatar
Sat Oct 17 10:18:27 -0700 2009
1
2
3
git log --color
git log --oneline
git log --pretty=oneline
Gravatar
Thu Oct 01 12:14:41 -0700 2009
1
2
3
ActiveRecord::Schema.define(:version => 20090804182807) do
 
  create_table "acessos", :force => true do |t|
Gravatar
Wed Sep 09 13:58:59 -0700 2009
1
2
3
ActiveRecord::Schema.define(:version => 0) do
  
  create_table "users", :force => true do |t|
Gravatar
Wed Sep 09 13:33:39 -0700 2009
1
2
3
#!/usr/bin/python
from django.db import models
import datetime
Gravatar
Tue Jul 21 16:25:49 -0700 2009
1
2
3
PostgreSQL
==========
 
Gravatar
Sat Jul 18 11:22:51 -0700 2009
1
2
3
Useful shell commands
=====================
 
Gravatar
Thu Jul 16 07:42:53 -0700 2009
1
2
3
Habilitar click & drag do Trackpad
----------------------------------
 
gist: 138170 Servers
Gravatar
Tue Jun 30 07:06:48 -0700 2009
1
2
# Restart Apache
sudo /etc/init.d/apache2 restart
gist: 132854 Musics
Gravatar
Fri Jun 19 12:51:39 -0700 2009
1
2
Bob Dylan - Like a Rolling Stone
Whitesnake - Still of the night -
gist: 123202 Template do Rails
Gravatar
Wed Jun 03 13:01:55 -0700 2009
1
2
3
1 - Adicionar como comentário em pt-br.yml:
-------------------------------------------
 
Gravatar
Tue Jun 02 12:12:54 -0700 2009
1
2
3
Bash prompts
============
 
gist: 105669 pt-BR.yml (Rails i18N)
Gravatar
Sat May 02 12:00:48 -0700 2009
1
2
3
pt-BR:
  # formatos de data e hora
  date:
Gravatar
Tue Oct 07 10:19:25 -0700 2008
1
2
3
# algumas informações estão em http://blog.commonthread.com/2008/4/14/setting-up-a-git-server
 
################## COPIANDO E TRABALHANDO LOCALMENTE EM UM PROJETO ###############
gist: 13115 Refactoring do método *inde...
Gravatar
Fri Sep 26 07:30:26 -0700 2008
1
2
3
# before refactoring
def index
  @status = params[:status] ||= "todas"