Public Gists by hugobarauna

Gravatar
Wed Nov 25 08:17:37 -0800 2009
1
2
3
Rails CMS alternatives
======================
 
Gravatar
Wed Nov 18 19:32:06 -0800 2009
1
2
3
Program
program = { decl }
 
Gravatar
Mon Aug 17 15:07:48 -0700 2009
1
2
3
# Used to graph results from autobench
#
# Usage: ruby autobench_grapher.rb result_from_autobench.tsv
Gravatar
Mon May 11 11:28:07 -0700 2009
1
2
3
Depois de instalar o Ubuntu 9.04, os meus whitespaces do gedit (feito pelo plugin draw spaces) ficaram com cor branca e estavam confundindo meu código. Se você também usa o Gedit, usa o tema darkmate, usa o plugin draw spaces e também teve esse problema, basta fazer o seguinte:
 
1. Feche seu Gedit
Gravatar
Wed Feb 25 06:47:25 -0800 2009
1
2
3
# http://henrik.nyh.se/2008/12/git-dirty-prompt
# http://www.simplisticcomplexity.com/2008/03/13/show-your-git-branch-name-in-your-prompt/
# username@Machine ~/dev/dir[master]$ # clean working directory
Gravatar
Mon Feb 23 08:52:48 -0800 2009
1
2
3
module Spec
  module Rails
    module Example
Gravatar
Mon Oct 06 22:13:45 -0700 2008
1
2
3
contacts = wl.contacts(path)
  #-> [ ['Fitzgerald', 'fubar@gmail.com', 'fubar@example.com'],
  # ['William Paginate', 'will.paginate@gmail.com'], ...
Gravatar
Mon Oct 06 22:12:15 -0700 2008
1
2
yahoo = Contacts::Yahoo.new
auth_url = yahoo.get_authentication_url
Gravatar
Mon Oct 06 22:10:21 -0700 2008
1
2
3
yahoo:
  appid: your_app_id
  secret: your_shared_secret
Gravatar
Wed Aug 06 17:52:33 -0700 2008
1
2
3
# by bryan helmkamp with slight modification by chris wanstrath
# from http://www.brynary.com/2008/8/3/our-git-deployment-workflow
 
Gravatar
Mon Jul 21 18:33:49 -0700 2008
1
2
3
class Bookmark
  def test
    "hello world!"