This file contains hidden or 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
<!doctype html> | |
<head> | |
<meta charset="utf-8"> | |
<title>Cookies</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> | |
<h1>The Best Chocolate Chip Cookies</h1> |
This file contains hidden or 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
# user.rb | |
class User < ActiveRecord::Base | |
# create a balanced account for each new user | |
before_create :create_balanced_account | |
# credit_card_uri and bank_account_uri are tokenized client side | |
# in webviews using balanced.js | |
attr_accessible :account_uri, | |
:credit_card_uri, |
This file contains hidden or 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
Show hidden characters
[ | |
... | |
{ | |
"keys": ["super+r"], | |
"command": "run_tests", | |
"args": {"single": false} | |
}, | |
{ | |
"keys": ["super+shift+r"], |
This file contains hidden or 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
# /etc/hosts | |
127.0.0.1 example.com | |
127.0.0.1 api.example.com |
This file contains hidden or 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 'bundler/capistrano' | |
set :application, 'app_name' | |
set :repository, '[email protected]:username/app_name.git' | |
set :deploy_to, "/var/www/#{application}" | |
set :scm, 'git' | |
set :user, 'username' | |
server 'example.com', :app, :web, :db, :primary => true |
NewerOlder