Attention: if you attempt to fork this gist, github will think that you are a spammer and you will have to confirm that you are human with them. Apparantly there are too many links in this list. Also I update it rather frequently (see revisions on the left), so it's probably wise to not fork it anyway.
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
--colour | |
-I app |
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/zsh | |
/usr/bin/vagrant destroy --force | |
yes | knife client delete {NODE_NAME} | |
yes | knife node delete {NODE_NAME} | |
/usr/bin/vagrant up | |
knife bootstrap localhost --node-name {NODE_NAME} --ssh-user vagrant --ssh-password vagrant --ssh-port 2222 --sudo | |
/usr/bin/vagrant provision |
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
What's new in Ruby on Rails 4 | |
A RoR 4 press review | |
Silvio Relli @ Florence On Ruby | |
Bibliography and related resources | |
1) Rails queue | |
http://reefpoints.dockyard.com/ruby/2012/06/25/rails-4-sneak-peek-queueing.html | |
http://blog.remarkablelabs.com/2012/12/rails-queue-rails-4-countdown-to-2013 | |
https://github.com/rails/rails/commit/adff4a706a5d7ad18ef05303461e1a0d848bd662 |
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
[diff] | |
prompt = false | |
tool = diffmerge | |
[difftool] | |
prompt = false | |
[merge] | |
prompt = false | |
tool = diffmerge | |
[mergetool] | |
prompt = 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
alfred://customsearch/Explainshell%20%27%7Bquery%7D%27/es/utf8/plus/http://explainshell.com/explain?cmd={query} |
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
RSpec.configure do |config| | |
config.before(:suite) do | |
DatabaseCleaner.clean_with(:truncation) | |
end | |
config.before(:each) do | |
DatabaseCleaner.strategy = :transaction | |
end | |
config.before(:each, js: true) do |
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
/usr/local/lib/couchdb: | |
total 16K | |
-drwx------. 4 root root 4.0K Mar 16 15:19 . | |
+drwxr-xr-x. 4 root root 4.0K Mar 16 15:19 . | |
drwxr-xr-x. 3 root root 4.0K Mar 16 15:19 .. | |
-drwx------. 2 root root 4.0K Mar 16 15:19 bin | |
-drwx------. 3 root root 4.0K Mar 16 15:19 erlang | |
+drwxr-xr-x. 2 root root 4.0K Mar 16 15:19 bin | |
+drwxr-xr-x. 3 root root 4.0K Mar 16 15:19 erlang | |
I hereby claim:
- I am stevenringo on github.
- I am stevenringo (https://keybase.io/stevenringo) on keybase.
- I have a public key whose fingerprint is 0E41 8C49 ED44 3EEA 93B1 4E26 5BF8 BAE4 C37A 2B56
To claim this, I am signing this object:
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 'yaml' | |
require 'erb' | |
require 'ostruct' | |
class Settings < OpenStruct | |
# Settings.new(:google_analytics) | |
def initialize(config_file_base_name) | |
super(YAML.load(ERB.new(File.read(Rails.root.join("config", "#{config_file_base_name}.yml"))).result)[Rails.env]) | |
end |