This file contains 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
class window.SpreadsController extends Backbone.Controller | |
routes: | |
"/sports":"sports" | |
"/markets":"markets" | |
constructor: -> | |
super | |
window.sport_manager = new SportManagerView() |
This file contains 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 'yaml' | |
require 'lib/core_extensions/hash' | |
require 'capistrano/ext/multistage' | |
set :stages, %w(staging) | |
unset :deploy_to | |
set :scm, :git | |
set :repository, 'gitosis@kapoq.com:fitz-twit' | |
set :git_enable_submodules, true |
This file contains 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
This is a test |
This file contains 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
>> node = Chef::Node.load(FQDN); nil | |
I, [2010-09-16T13:03:45.043798 #6792] INFO -- : CONNECT: [SERVER, 4000] | |
I, [2010-09-16T13:03:45.044017 #6792] INFO -- : GET /nodes/FQDN | |
I, [2010-09-16T13:03:48.330086 #6792] INFO -- : BODY: Net::HTTPOK | |
=> nil | |
>> x = node.lsb | |
=> #<Chef::Node::Attribute @auto_vivifiy_on_read=false, @automatic={...}, @default={...}, @current_normal=nil, @has_been_read=false, @current_automatic={"codename"=>"lucid", "id"=>"Ubuntu", "description"=>""Ubuntu 10.04.1 LTS"", "release"=>"10.04"}, normal{....}, set_typenil, state[:lsb], current_overridenil, set_unless_value_presentfalse, override{....}, current_defaultnil | |
>> x.codename | |
=> "lucid" | |
>> x.codename |
This file contains 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
# HaveFilter matchers for RSpec | |
# forked from http://gist.github.com/200099 | |
# | |
# Require in spec_helper.rb and add the following to your spec config block: | |
# config.include(Shoulda::ActionController::Matchers), :type => :controllers | |
# | |
# class HomeController < ApplicationController | |
# before_filter :require_user, :except => [:action_1, :action_2] | |
# ... | |
# end |
This file contains 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
# Kapoq Rails template | |
# TODO: | |
# timeformats | |
# concerns | |
# core extensions | |
# lowpro | |
# mysql/sqlite users and db config | |
# FIXME: |
NewerOlder