[root@sl2 ~]# sm set install postgresql
[✔] postgresql head
postgres@replica$ sm postgresql replication configure master 10.0.5.211 replica 10.0.5.212
| class SummaryEmailsController < InheritedResources::Base | |
| belongs_to :workday, :finder => :find_by_date! | |
| actions :new, :create, :show | |
| end |
| hey muness |
| 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| |
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.
| # 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\]" |
| source "https://rubygems.org" | |
| def rails3? | |
| ENV["RAILS3"] | |
| end | |
| if rails3? | |
| gem "rails", "3.0.20.github11" | |
| else | |
| gem "rails", "2.3.14.github50" |
Crash originally reported via WRAL news:
Aircraft involved in accident is N54TA. FAA registration details:
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