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
SELECT *
FROM t1
WHERE t1.a IN (SELECT t2.b FROM t2 where t2.c = 1)
SELECT *
FROM t1
INNER JOIN t2
ON t1.a = t2.b AND 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
@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>[email protected]</ownerEmail>
</head>
YAML
GLCE
- Math
- 00
- Number and Operations
- Count, write, and order numbers
- N.ME.00.01
description: Count Objects in sets up to 30.
- N.ME.00.02
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
<div class='container'>
<header>...</header>
<nav>...</nav>
<main>...</main>
<footer>...</footer>
</div>