Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
Get Homebrew installed on your mac if you don't already have it
Install highlight. "brew install highlight". (This brings down Lua and Boost as well)
$(function(){ | |
$('*[data-repeat]').each(function(){ | |
var n = $(this).data('repeat'); | |
var parent = $(this).parent(); | |
self = $(this); | |
for (var i = 0; i < n; i++) { | |
self.after(self.clone()); | |
} | |
}) | |
}); |
/* EXAMPLE: | |
var workerCode = function(){ | |
"use strict;" //this will become the first line of the worker | |
CalculateSomething(a,b,c,d){ | |
var v = a+b+c+d; //trivial calculation | |
main.DisplayResult(v,"hello"); | |
} | |
/* Theme Name: Flat Pinboard */ | |
/* Theme URL: http://tackk.com/flat-pinboard */ | |
/* Version: v1.0 */ | |
/* Created by: Dan Klammer */ | |
/* Broswer: Chrome + Stylish Extension */ | |
html { | |
-webkit-font-smoothing:antialiased; | |
height:100%; | |
} |
var rawSites = { | |
'programming': [ | |
'http://blog.codinghorror.com/', | |
'http://thedailywtf.com/', | |
'http://www.hanselman.com/blog/', | |
'http://code.tutsplus.com', | |
'https://news.ycombinator.com/', | |
'http://www.reddit.com/r/programming/', | |
'http://codebetter.com', | |
'http://android-developers.blogspot.com/', |
import mongooseResource from '../lib/mongoose-resource'; | |
import Foo from '../models/foo'; // a mongoose Model | |
export default mongooseResource('foo', Foo); |