Skip to content

Instantly share code, notes, and snippets.

View eddix's full-sized avatar

eddix eddix

  • Beijing
  • 22:24 (UTC +08:00)
View GitHub Profile
@eddix
eddix / gist:1922644
Created February 27, 2012 09:07
TextMate 2 .tm_properties

This is all based on the [alpha release][1].

Properties

From the built-in help system:

For many settings TextMate will look for a .tm_properties file in the current folder and in any parent folders (up to the user’s home folder).

These are simple setting = value listings where the value is a format string in which other variables can be referenced.

@eddix
eddix / gist:6619826
Created September 19, 2013 06:43 — forked from dhh/gist:1014971
# autoload concerns
module YourApp
class Application < Rails::Application
config.autoload_paths += %W(
#{config.root}/app/controllers/concerns
#{config.root}/app/models/concerns
)
end
end