Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
class Referrer < ActiveRecord::Base | |
URL_SLUG_REGEX = /^[a-z0-9-]+$/i | |
attr_accessible :token, :campaign, :campaign_id, :user_id, :lead_id | |
belongs_to :campaign | |
belongs_to :user | |
belongs_to :lead | |
has_many :referral_click_throughs |
{ | |
"DueDate": "2013-02-15", | |
"Balance": 1990.19, | |
"DocNumber": "SAMP001", | |
"Status": "Payable", | |
"Line": [ | |
{ | |
"Description": "Sample Expense", | |
"Amount": 500, | |
"DetailType": "ExpenseDetail", |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |
# Description: | |
# Generates a random list of users in the room | |
# | |
# Commands: | |
# hubot djs - gathers a list of users and shuffles them | |
# | |
# Author: | |
# tjhanley | |
module.exports = (robot) -> | |
robot.respond /djs/i, (msg) -> |
//= require foundation | |
// Contains register_media call | |
//= require shared_inits | |
$(function(){ $(document).foundation(); }); |
/** | |
* Combines some functionality of Foundation.interchange & custom Lazy Loading | |
* | |
* dependencies: | |
* Foundation | |
* jquery.viewport | |
* | |
* references: | |
* http://foundation.zurb.com/docs/components/interchange.html | |
* http://foundation.zurb.com/docs/javascript-utilities.html#media-queries |
<img data-interchange="[//bevel-assets.s3.amazonaws.com/checkout/order-products.png,(default)], [//bevel-assets.s3.amazonaws.com/checkout/[email protected], (retina)]" src="" width="100%"> |