This file contains 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
en: | |
# general | |
save: Save | |
or: or | |
cancel: Cancel | |
# site | |
welcome_to_the_site: Welcome to the Site | |
not_namespaced: Not Namespaced |
This file contains 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
-- Settings -- | |
set projects_root to "~/Sites" -- where you keep your projects | |
set presets to {"project/projectname"} -- sub directories to “project_root'” | |
set visor_enabled to false -- if you use Visor “http://docs.blacktree.com/visor/visor”, set this to true | |
set rails_server_command to "tail -f log/development.log" -- My `ss` bash function will use the next available port (http://pastie.textmate.org/221395) so I can run multiple rails projects at once. if you don't have a `ss` alias/script, just use `./script/server` for mongrel/thin etc. If you're on mod_rails, just `tail -f log/development.log` | |
-- Run it | |
global rails_dir, min_window_count, presets, projects_root, visor_enabled, rails_server_command | |
main() |
This file contains 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
# template.rb | |
# USAGE: rails -m http://gist.github.com/gists/115163.txt PROJECT_NAME | |
run "rm public/index.html" | |
plugin 'thinking_sphinx', :git => 'git://github.com/freelancing-god/thinking-sphinx.git' | |
plugin 'will_paginate', :git => 'git://github.com/mislav/will_paginate.git' | |
plugin 'factory_girl', :git => 'git://github.com/thoughtbot/factory_girl.git' | |
plugin 'paperclip', :git => 'git://github.com/thoughtbot/paperclip.git' | |
plugin 'project_search', :git => 'git://github.com/37signals/project_search.git' | |
plugin 'hubahuba', :git => 'git://github.com/paulca/hubahuba.git' |
This file contains 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
require 'twitter' | |
# your Twitter credentials | |
twitter_username = '' | |
twitter_password = '' | |
# the user you'd like to check friends / followers for. Set to nil, or omit for your own list | |
search_user = '' | |
client = Twitter::Base.new(twitter_username,twitter_password) |
This file contains 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
require 'twitter' | |
# your Twitter credentials | |
twitter_username = '' | |
twitter_password = '' | |
# the user you'd like to check friends / followers for. Set to nil, or omit for your own list | |
search_user = '' | |
client = Twitter::Base.new(twitter_username,twitter_password) |
This file contains 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
en: | |
activerecord: | |
models: | |
room: Room | |
attributes: | |
room: | |
name: Room name | |
description: Room description | |
max_size: Room size limit | |
link_color: Choose link color |
This file contains 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
"International Date Line West":(GMT-11:00) International Date Line West | |
"Midway Island":(GMT-11:00) Midway Island, Samoa | |
"Hawaii":(GMT-10:00) Hawaii | |
"Alaska":(GMT-09:00) Alaska | |
"Pacific Time (US & Canada)":(GMT-08:00) Pacific Time (US & Canada) | |
"Tijuana":(GMT-08:00) Tijuana | |
This file contains 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
en: | |
emails: | |
signup_notification: | |
subject: "Your account on WEBSITE has been set up" | |
body: "Hi {{username}}, | |
A new account has been set up for you on WEBSITE. | |
Here is your link to get started: | |
This file contains 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
en: | |
activerecord: | |
models: | |
room: Room | |
attributes: | |
room: | |
name: Room name | |
description: Room description | |
max_size: Room size limit | |
color_scheme_id: Choose color scheme |
This file contains 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
// application.js | |
// Place your application-specific JavaScript functions and classes here | |
// This file is automatically included by javascript_include_tag :defaults | |
function leave_note(){ | |
if($("div#note").css('display')=='none'){ | |
$("div#note").dialog(); | |
$('div#note').show(); | |
} else { | |
$('div#note').hide(); | |
$("div#note").dialog("destroy"); |