Skip to content

Instantly share code, notes, and snippets.

View rafamvc's full-sized avatar

Rafael Floresta rafamvc

  • Philadelphia, PA
View GitHub Profile
@lucasfais
lucasfais / gist:1207002
Created September 9, 2011 18:46
Sublime Text 2 - Useful Shortcuts

Sublime Text 2 – Useful Shortcuts (Mac OS X)

General

⌘T go to file
⌘⌃P go to project
⌘R go to methods
⌃G go to line
⌘KB toggle side bar
⌘⇧P command prompt
@ahoward
ahoward / a.rb
Created December 2, 2010 05:32
require File.join(File.dirname(__FILE__), 'boot')
Rails::Initializer.run do |config|
config.gem 'logging', :lib => false
config.gem 'lockfile', :lib => false
# local libs/gems that can/must be loaded *inside* rails initializer
#
require 'logging' unless defined?(Logging)
require 'lockfile' unless defined?(Lockfile)
@ahoward
ahoward / a.rb
Created December 2, 2010 05:31
require File.join(File.dirname(__FILE__), 'boot')
Rails::Initializer.run do |config|
config.gem 'logging', :lib => false
# local libs/gems that can/must be loaded *inside* rails initializer
#
require 'logging' unless defined?(Logging)
# do the actual logging configuration - this one will keep 7 log files of