This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
Crash originally reported via WRAL news:
Aircraft involved in accident is N54TA. FAA registration details:
source "https://rubygems.org" | |
def rails3? | |
ENV["RAILS3"] | |
end | |
if rails3? | |
gem "rails", "3.0.20.github11" | |
else | |
gem "rails", "2.3.14.github50" |
# Adapted from http://gist.github.com/31934 | |
# http://henrik.nyh.se/2008/12/git-dirty-prompt | |
# http://www.simplisticcomplexity.com/2008/03/13/show-your-git-branch-name-in-your-prompt/ | |
RED="\[\033[0;31m\]" | |
ORANGE="\[\033[0;33m\]" | |
YELLOW="\[\033[0;33m\]" | |
GREEN="\[\033[0;32m\]" | |
BLUE="\[\033[0;34m\]" | |
LIGHT_RED="\[\033[1;31m\]" | |
LIGHT_GREEN="\[\033[1;32m\]" |
This is a class outline and basic lesson plan for teaching an abbreviated 3-hour introductory course.
Initially used at the Girl Develop It RDU meetup: http://meetup.com/Girl-Develop-It-RDU/events/103131462/
During this 3-hour course, we'll explore the foundations of Git and GitHub through practical every-day commands and processes.
class Chargify::SubscriptionsController < ApplicationController | |
def update | |
subscription_ids = params['_json'] | |
#Rails.logger.debug("SUB IDS: #{subscription_ids.inspect}") | |
begin | |
subscription_ids.each do |id| | |
# Process updated subscriptions here | |
Rails.logger.debug("SUB ID: #{id}") | |
end | |
respond_to do |format| |
hey muness |
class SummaryEmailsController < InheritedResources::Base | |
belongs_to :workday, :finder => :find_by_date! | |
actions :new, :create, :show | |
end |
# Textmate essential bundles | |
cd /Applications/TextMate.app/Contents/SharedSupport/Bundles | |
# mkdir -p cd /Applications/TextMate.app/Contents/SharedSupport/Bundles | |
git clone git://github.com/protocool/ack-tmbundle.git Ack.tmbundle | |
git clone git://github.com/textmate/ruby-haml.tmbundle.git | |
git clone git://github.com/seaofclouds/sass-textmate-bundle.git "Ruby Saas.tmbundle" | |
git clone git://github.com/bmabey/cucumber-tmbundle.git Cucumber.tmbundle | |
git clone git://github.com/karnowski/blue-ridge-tmbundle.git JavaScript\ Blue\ Ridge.tmbundle | |
git clone git://github.com/johnmuhl/nginx-tmbundle.git nginx.tmbundle |