[[foo]]
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
# PostgreSQL. Versions 8.2 and up are supported. | |
# | |
# Install the pg driver: | |
# gem install pg | |
# On OS X with Homebrew: | |
# gem install pg -- --with-pg-config=/usr/local/bin/pg_config | |
# On OS X with MacPorts: | |
# gem install pg -- --with-pg-config=/opt/local/lib/postgresql84/bin/pg_config | |
# On Windows: | |
# gem install pg |
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
source 'https://rubygems.org' | |
source 'https://rails-assets.org' | |
ruby '2.1.0' | |
gem 'rails', '4.0.2' | |
gem 'action_args' | |
gem 'bourbon' | |
gem 'coffee-rails' |
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
#!/bin/sh | |
cat ~/.ssh/config.d/* > ~/.ssh/config | |
ssh $1 |
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
config.generators.helper = false | |
config.generators.stylesheets = false | |
config.generators.javascripts = false |
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
test |
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
bojovs6:r192p136 ks$ ruby -v | |
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0] | |
bojovs6:r192p136 ks$ rvm gemset name | |
r192p136 | |
bojovs6:r192p136 ks$ which bundle | |
/Users/ks/.rvm/gems/ruby-1.9.2-p136@global/bin/bundle | |
bojovs6:r192p136 ks$ rvm 1.9.2-p0@r192p0 | |
bojovs6:r192p136 ks$ ruby -v |
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
bojovs6:repos ks$ rvm 1.9.2 | |
bojovs6:repos ks$ ruby -v | |
ruby 1.9.2p136 (2010-12-25 revision 30365) [x86_64-darwin10.6.0] | |
bojovs6:repos ks$ rvm gemset create r192p136 | |
'r192p136' gemset created (/Users/ks/.rvm/gems/ruby-1.9.2-p136@r192p136). | |
bojovs6:repos ks$ rvm 1.9.2@r192p136 | |
bojovs6:repos ks$ rvm gemset name | |
r192p136 | |
bojovs6:repos ks$ gem install rails | |
Successfully installed activesupport-3.0.3 |
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
# -*- coding: utf-8 -*- | |
import re | |
from kay.i18n import lazy_gettext | |
from kay.utils.forms import RegexField | |
link_re = re.compile( | |
'http[s]?://(?:[a-zA-Z]|[0-9]|[$-_@.&+]|[!*\(\),]|(?:%[0-9a-fA-F][0-9a-fA-F]))+') |
NewerOlder