Date: [date]
Between us [company name] and you [customer name].
In short; neither of us will share any confidential information about each-other, by any means, with anyone else.
source "https://rubygems.org" | |
ruby "2.1.0" | |
gem "sinatra" | |
gem "sinatra-contrib" | |
gem "redis" |
belongs_to :parent, touch: true
to invalidate parent objects when child is modified<html-version>/<cache-key>
as fragment cache key, where <html-version>
is incremented manually after every change in HTML/CSS of the fragment and <cache-key>
is [class]/[id]-[timestamp]
e.g. "projects/15-20110218104500"(function () { | |
if (window.webkitNotifications && typeof window.chat != 'undefined') { | |
Campfire.Responders.push('WebKitNotifier'); | |
createNotifier(); | |
createSettingsUI(); | |
bindEvents(); | |
function createNotifier() { | |
Campfire.WebKitNotifier = Class.create({ | |
initialize: function(chat) { |
# Used to graph results from autobench | |
# | |
# Usage: ruby autobench_grapher.rb result_from_autobench.tsv | |
# | |
# This will generate three svg & png graphs | |
require "rubygems" | |
require "scruffy" | |
require 'csv' | |
require 'yaml' |
// ==UserScript== | |
// @match https://objectreload.basecamphq.com/projects/* | |
// ==/UserScript== | |
var container = document.getElementById('report_link_block'), | |
link = document.createElement('a'), | |
content = document.createTextNode('Create a daily report'), | |
date = new Date(), | |
user, | |
path; |
(defun next-generation (board) | |
(loop for row being the elements of board using (index x) collect | |
(loop for col being the elements of row using (index y) collect | |
(next-cell-p x y board)))) | |
(defun next-cell-p (x y board) | |
(let ((count (neighbours-count x y board)) | |
(cell (cell-p x y board))) | |
(or | |
(and cell (or (= count 2) (= count 3))) |
rails plugin new <name> --full --mounted
- undocumentedmv <name> vendor/apps
MyApp::Application.configure do | |
silence_warnings do | |
begin | |
require 'pry' | |
IRB = Pry | |
rescue LoadError | |
end | |
end | |
end | |