Skip to content

Instantly share code, notes, and snippets.

View tinney's full-sized avatar
🏠
Working from home

Dustin Tinney tinney

🏠
Working from home
View GitHub Profile
Given /^I have a rubric$/ do
my.rubric = repository.rubric
end
Given /^I have a locked rubric$/ do
my.rubric = repository.rubric
my.rubric_components << repository.rubric_component
my.rubric_components << repository.rubric_component
my.course = repository.course
# This file is used by Rack-based servers to start the application.
require ::File.expand_path('../config/environment', __FILE__)
require 'vcr'
require 'webmock'
VCR.configure do |c|
c.cassette_library_dir = './tmp/vcr-cassettes/'
c.hook_into :webmock
end
SELECT *
FROM t1
INNER JOIN t2
ON t1.a = t2.b AND t2.c = 1
SELECT *
FROM t1
WHERE t1.a IN (SELECT t2.b FROM t2 where t2.c = 1)
/*
* This is a manifest file that'll automatically include all the stylesheets available in this directory
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
* the top of the compiled file, but it's generally better to create a new file per style scope.
*= require_self
*/
@import "compass/reset";
@import "compass/css3/transition";
@tinney
tinney / layout.css.scss.erb
Created July 12, 2011 02:01
Using Rails 3.1 with the SASS-Rails Plugin
body {
background-image: asset_url("bg.jpg", image);
}
h1 {
background-image: url(asset_path("h1-background.jpg", image));
}
@tinney
tinney / application.rb
Created July 12, 2011 02:03
Compass load_paths with Rails 3.1
class Application < Rails::Application
config.sass.load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/compass/stylesheets"
config.sass.load_paths << "#{Gem.loaded_specs['compass'].full_gem_path}/frameworks/blueprint/stylesheets"
end
CSV
GLCE
name, description, parents (grow ->)
N.ME.00.01, Count Objects in sets up to 30., 'count, write, and order numbers', number and operations, 00, math
N.ME.00.02, Use one-to-one correspondence..., 'count, write, and order numbers', number and operations, 00, math
CCSS
name, description, parents (grow ->)
1, Count to 100 by ones and by tens., know number names and the count sequence., Counting and Cardinality, K, Mathmatics
@tinney
tinney / gist:1095768
Created July 20, 2011 19:51
Standards CSV
GLCE
name, description, parents (grow ->)
N.ME.00.01, Count Objects in sets up to 30., count, write, and order numbers, number and operations, 00, math
N.ME.00.02, Use one-to-one correspondence..., count, write, and order numbers, number and operations, 00, math
CCSS
name, description, parents (grow ->)
1, Count to 100 by ones and by tens., know number names and the count sequence., Counting and Cardinality, K, Mathmatics
2, Count forward beginning from a given number within the known sequence (instead of having to begin at 1)., know number names and the count sequence., Counting and Cardinality, K, Mathmatics
3, Write numbers from 0 to 20..., know number names and the count sequence., Counting and Cardinality, K, Mathmatics
<?xml version="1.0" encoding="utf-8"?>
<opml version="1.0"> <!-- version is required by opml -->
<head> <!-- <head> is required by opml -->
<dateCreated>July 20, 2011 15:45:00</dateCreated>
<dateModified>July 20, 2011 15:45:00</dateModified>
<ownerName>Atomic Object</ownerName>
<ownerEmail>info@atomicobject.com</ownerEmail>
</head>