These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
#!/bin/sh | |
# Shell script to install your public key on a remote machine | |
# Takes the remote machine name as an argument. | |
# Obviously, the remote machine must accept password authentication, | |
# or one of the other keys in your ssh-agent, for this to work. | |
# | |
# http://www.devthought.com/2009/09/19/get-ssh-copy-id-in-mac-os-x/ | |
# |
#!/usr/bin/env bash | |
# Development environmet installation script for OS X | |
# This script will | |
# - Install Homebrew (http://mxcl.github.com/homebrew/) | |
# - Install GIT | |
# - Run GIT/GitHub setup script (https://github.com/help/setup) | |
# - Setups default global .gitignore file | |
# - Install Oh-My-ZSH (https://github.com/robbyrussell/oh-my-zsh) | |
# - Install Ruby Version Manager (http://beginrescueend.com/) |
These commands are good as of 2011-07-27.
App store http://itunes.apple.com/us/app/xcode/id448457090?mt=12) The download/install takes awhile so start it first. When it finishes downloading you will still need to run it to complete installation.
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Espresso Soda</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
<key>settings</key> |
require 'mina/bundler' | |
require 'mina/rails' | |
require 'mina/git' | |
require 'mina/rbenv' | |
# Basic settings: | |
# domain - The hostname to SSH to | |
# deploy_to - Path to deploy into | |
# repository - Git repo to clone from (needed by mina/git) | |
# user - Username in the server to SSH to (optional) |
# Dump | |
pg_dump -U username -W -h localhost dbname -f dump.sql | |
# Import | |
psql -U username -h localhost dbname -f /home/username/dump.sql |
# Patched to no process @media queries in <style> blocks. | |
# For HTML emails, @media queries are exclusively used for | |
# targeting mobile clients. These should not be inlined. | |
class CssParser::Parser | |
def parse_block_into_rule_sets!(block, options = {}) # :nodoc: | |
current_media_queries = [:all] | |
if options[:media_types] | |
current_media_queries = options[:media_types].flatten.collect { |mt| CssParser.sanitize_media_query(mt)} | |
end |
class PaymentsController < ActionController::Base | |
skip_before_filter :verify_authenticity_token, :only => :notification | |
before_filter :load_subscription | |
def checkout | |
redirect_to @subscription.paypal.checkout_url( | |
return_url: "http://www.example.com" + "/paypal/review/#{@subscription.id}", | |
cancel_url: "http://www.example.com" + "/paypal/cancel/#{@subscription.id}" |
// After last line in config where the require is add | |
add_filter('xmlrpc_enabled', '__return_false'); |