- Twitter: @skorfmann
- Website or Blog: http://skorfmann.com
- Company: Bulletproof Networks Pty Ltd. http://www.bulletproof.net.au
- Twitter: @skorfmann
- Website or Blog: http://skorfmann.com
- Company: Bulletproof Networks Pty Ltd. http://www.bulletproof.net.au
- Twitter: @skorfmann
- Website or Blog: http://skorfmann.com
- Company: Bulletproof Networks Pty Ltd. http://www.bulletproof.net.au
- Twitter: @skorfmann
- Website or Blog: http://skorfmann.com
- Company: Bulletproof Networks Pty Ltd. http://www.bulletproof.net.au
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" | |
gem 'sinatra' | |
gem 'etcd' | |
group :development do | |
gem 'rake' | |
gem 'rspec' | |
gem 'rack-test' | |
gem 'shotgun' |
A distributed Key value store is part of consul.io
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
alias rs='rails server' | |
alias rc='rails console' | |
alias rg='rails generate' | |
alias r='ruby' | |
alias be='bundle exec' | |
alias gst='git status' # Show the status | |
alias gl='git pull --rebase' # Pull rebase | |
alias gp='git push' # Push | |
alias gu='git up' # Push |
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
$('.images').append('<%= escape_javascript(render(:partial => "image", :object => @image)) %>'); | |
$('#<%= dom_id(@image) %> span').rest_in_place('<%= image_path(@image) %>', 'image', 'title'); | |
if ($('#images').css('display') == 'none') { | |
$('#images').slideDown(1000); | |
} |
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 'rubygems' | |
#doesn't work as expected. conflicts with utility belt | |
if ENV.include?('RAILS_ENV') | |
if !Object.const_defined?('RAILS_DEFAULT_LOGGER') | |
require 'logger' | |
Object.const_set('RAILS_DEFAULT_LOGGER', Logger.new(STDOUT)) | |
end | |
require 'hirb' |
OlderNewer