View gulpfile.js
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
var gulp = require('gulp'); | |
var plugins = require('gulp-load-plugins')(); | |
var del = require('del'); | |
var es = require('event-stream'); | |
var bowerFiles = require('main-bower-files'); | |
var print = require('gulp-print'); | |
var Q = require('q'); | |
// == PATH STRINGS ======== |
View ng-class-if-else.html
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
<div ng-class="condition ? 'class-if-true' : 'class-if-false'"> |
View UnicodeChess.html
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
<!DOCTYPE> | |
<html> | |
<head> | |
<script src="http://code.jquery.com/jquery-2.0.3.min.js"></script> | |
<script src="http://cdnjs.cloudflare.com/ajax/libs/knockout/2.3.0/knockout-min.js"></script> | |
<style> | |
html, body { | |
padding: 0; | |
margin: 0; | |
} |
View 01_sassygrid.scss
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
//--------------------------------------------------------------------------------------------------- | |
// a sassier grid for spree | |
// fixed-width - html whitespace not removed. | |
// intended to be used as magic-classes, coupling markup&style. | |
// based on skeleton v1.1 by dave gamache - thanks dude | |
// | |
//--------------------------------------------------------------------------------------------------- | |
//- Contents | |
//--- Grid classes | |
//--- Grid Variables |
View color_loops.scss
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
// color palette. | |
$white: #ffffff; | |
$grey: #ccc; | |
$greyblue: #5C6F7B; | |
$blackblue: #162934; | |
$lightblue: #29AAE2; | |
$darkblue: #006FAB; | |
$lightgreen: #B1BA1D; | |
$darkgreen: #8D8A00; | |
$brightred: #C4122F; |
View animation.scss
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
$campfire-size: 100px; | |
#campfire { | |
position: fixed; | |
right: $gutter; | |
bottom: $gutter/2; | |
height: $campfire-size; | |
width: $campfire-size; | |
background: $campfire-2x; | |
background-size: 100%; | |
}//#campfire |
View 01_images.scss
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
$campfire: image-url("campfire.png"); | |
$campfire-2x: image-url("campfire@2x.png"); | |
$star: image-url("star.png"); | |
$tree: image-url("tree.png"); | |
$campfire-logo: image-url("campsite.png"); | |
$next-arrow: image-url("travel-camp-to-left.png"); | |
$prev-arrow: image-url("travel-camp-to-right.png"); | |
$ants-fruits-flowers-eggs: image-url("ants-fruits-flowers-eggs.png"); | |
$boomerang: image-url("boomerang.png"); |
View 01_terminal
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
# Start Postgres | |
$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start | |
# Stop Postgres | |
$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log stop |
View 01_svg_wip.html.erb
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
<h1>SVG Spike</h1> | |
<% # rose chart trig | |
rose_chart_size = 500 | |
# faux variables | |
dist1 = 100/2 | |
dist2 = 200/2 | |
dist3 = 300/2 | |
dist4 = 400/2 | |
dist5 = 500/2 |
NewerOlder