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
module Imoby | |
class FormBuilder < ActionView::Helpers::FormBuilder | |
(field_helpers - %w(label check_box radio_button fields_for form_for hidden_field radio_sym select_sym)).each do |selector| | |
src = <<-end_src | |
def #{selector}(method, options = {}) | |
make_default_template method, | |
@template.send(#{selector.inspect}, @object_name, method, objectify_options(options)) | |
end | |
end_src |
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
# Brazilian Portuguese localization for Ruby on Rails | |
# by Julio Santos Monteiro <[email protected]> | |
# | |
# Based on the work done by Ricardo Otero <[email protected]> | |
# | |
pt: | |
date: | |
formats: | |
default: "%d/%m/%Y" |
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
# nvidia-settings: X configuration file generated by nvidia-settings | |
# nvidia-settings: version 1.0 (buildmeister@builder62) Tue Jan 6 09:44:34 PST 2009 | |
# nvidia-xconfig: X configuration file generated by nvidia-xconfig | |
# nvidia-xconfig: version 1.0 (buildmeister@builder62) Tue Jan 6 09:43:54 PST 2009 | |
Section "ServerLayout" | |
Identifier "X.org Configured" | |
Screen 0 "Screen0" 0 0 | |
InputDevice "Mouse0" "CorePointer" |
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
-- Standard awesome library | |
require("awful") | |
-- Theme handling library | |
require("beautiful") | |
-- Notification library | |
require("naughty") | |
-- {{{ Variable definitions | |
-- Themes define colours, icons, and wallpapers | |
-- The default is a dark 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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAyKFwLzptNbIzVWEcsDSMM3taGOOJEA9jcD23rEy4NVD/rLeeZaut99/yDV/0ez0nl/k125LMfxIOazVZbuV6p2gLAdGthZJ2nDL5GLRO0Anjk9bmSOuMNC+BC8PSi4an7PmYbGS0XHC5aYrDObdhugQUXfTF1b7wIuq9qSsxoM1n2aZx3X2UvAcYTIrcjNNUreXWAML/4Wbk7w/ucf2aUu6LYEcSeCFIkLJwICwJZ37/wtksI677zN4gzxk1/57vjah25cPJEPZJcxrJNCWwWcsM52XtAHzEWWVo0RDDEMENRegK3AwsnT5BumsfTpq/E+Sn5qVnH7Sp+HLyqrHbcQ== [email protected] |
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
class CreateAddresses < ActiveRecord::Migration | |
def self.up | |
create_table :addresses do |t| | |
t.belongs_to :addressable, :polymorphic => true | |
t.integer :kind, :limit => 2 | |
t.belongs_to :city | |
t.belongs_to :zone | |
t.string :street, :complement | |
t.string :number, :limit => 10 | |
t.string :zipcode, :limit => 15 |
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
-- | |
-- config for aewsome | |
-- by Ramon Soares | |
-- http://www.ramonsoares.com | |
-- eu (0) ramonsoares.com | |
-- Include awesome libraries | |
require("awful") | |
require("beautiful") |
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
ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAyKFwLzptNbIzVWEcsDSMM3taGOOJEA9jcD23rEy4NVD/rLeeZaut99/yDV/0ez0nl/k125LMfxIOazVZbuV6p2gLAdGthZJ2nDL5GLRO0Anjk9bmSOuMNC+BC8PSi4an7PmYbGS0XHC5aYrDObdhugQUXfTF1b7wIuq9qSsxoM1n2aZx3X2UvAcYTIrcjNNUreXWAML/4Wbk7w/ucf2aUu6LYEcSeCFIkLJwICwJZ37/wtksI677zN4gzxk1/57vjah25cPJEPZJcxrJNCWwWcsM52XtAHzEWWVo0RDDEMENRegK3AwsnT5BumsfTpq/E+Sn5qVnH7Sp+HLyqrHbcQ== [email protected] |
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
--- | |
gem: --no-ri --no-rdoc | |
:benchmark: false | |
:verbose: true | |
:backtrace: false | |
:update_sources: true | |
:sources: | |
- http://gemcutter.org | |
- http://gems.github.com/ | |
:bulk_threshold: 1000 |
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
┌─[ramon@littleturtle] - [~] - [ruby-1.9.2-p180@global] | |
└─[$] free -m [8:45:10] | |
total used free shared buffers cached | |
Mem: 8004 3873 4130 0 639 2129 | |
-/+ buffers/cache: 1104 6900 | |
Swap: 1027 0 1027 |
OlderNewer