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
browserSync: { | |
server: { | |
bsFiles: { | |
src: [ | |
'.jekyll/**/*.html', | |
'.tmp/css/**/*.css', | |
'{.tmp,<%= yeoman.app %>}/<%= js %>/**/*.js', | |
'{<%= yeoman.app %>}/_bower_components/**/*.js', | |
'<%= yeoman.app %>/img/**/*.{gif,jpg,jpeg,png,svg,webp}' | |
] |
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
--- | |
layout: post | |
title: "Welcome to Jekyll!" | |
date: 2014-12-09 10:33:07 | |
categories: jekyll update | |
--- |
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
$(function(){ | |
var formUrl = '/* ex: https://docs.google.com/a/developmentseed.org/spreadsheet/formResponse?formkey=... */'; | |
// Set up map | |
var m = mapbox.map('map').addLayer(mapbox.layer().id(' /* mapbox-account.id */ ')); | |
// Set up map ui features with point selector | |
var ui = mapbox.ui().map(m).auto().pointselector(function(d) { | |
// Remove all points except the most recent |
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
campaignSchema = new SimpleSchema({ | |
_id: { | |
type: String, | |
optional: true | |
}, | |
createdAt: { | |
type: Date, | |
optional: true | |
}, | |
sentAt: { |
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, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6, p, .navbar, .brand, .btn-simple, a, .td-name, td { | |
-moz-osx-font-smoothing: grayscale; | |
-webkit-font-smoothing: antialiased; | |
font-family: "Helvetica Neue","Open Sans",Arial,sans-serif; | |
} | |
h1, .h1, h2, .h2, h3, .h3, h4, .h4 { | |
font-weight: 400; | |
margin: 30px 0 15px; | |
} |
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
rows = 30 | |
cols = 30 | |
gutter = 16 | |
width = 50 | |
height = 50 | |
for rowIndex in [0..rows-1] | |
for colIndex in [0..cols-1] | |
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
EventEmitter = (require?("./EventEmitter") || Framer).EventEmitter | |
class AppStateMachine extends EventEmitter | |
constructor: -> | |
@states = [] | |
# Start the state machine with the document's hash, or the given route | |
start: (name) -> | |
@go if document.location.hash then document.location.hash[1..-1] else name |
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 class="wrapper"> | |
<!-- logo --> | |
<!-- /logo --> | |
<!-- nav --> | |
<nav class="nav" role="navigation"> | |
<ul class="mtree"> | |
<li><a class="menu" href="">MENU</a><?php html5blank_nav(); ?></li> | |
</ul> |
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
// Library: Playing YouTube and Google Docs videos when image is clicked | |
var LibraryVideoPlay = (function() { | |
subscribeToPageLoad( | |
"^/lib/.*", | |
load, unload | |
); | |
function load() { | |
$(".article-video.youtube").click(youtubeVideoClicked); |
OlderNewer