The spec has moved to a repo: https://github.com/defunctzombie/package-browser-field-spec to facilitate collaboration.
# Since CoffeeScript wraps everything in a closure by default, the module | |
# definition function pattern that Marionette normally uses is unnecessary. | |
# (And cumbersome with having to indent everything.) Instead, creating the | |
# module at the very begining makes it available to everything in the file, and | |
# the initializers and exported classes can be added at the end of the file. | |
# (This relies on things like the App and Backbone being on window, but they | |
# already have to be for CoffeeScript-based code to work.) | |
# Create the module. | |
Foo = App.module 'Foo' |
Hello. Its louis here. I'm clacking this to you on my phone in my dressing room here at studio 8H, right in 30 rockefeller center, in Manhattan, new york city, new york, america, world, current snapshot of all existence everywhere.
Tonight I'm hosting Saturday Night Live, something I zero ever in my life saw happening to me. And yet here it is completely most probably happening (I mean, ANYTHING could NOT happen. So we'll see).
I've been working here all week with the cast, crew, producers and writers of SNL, and with Lorne Michaels. Such a great and talented group of people.
And here we are in the middle of New York City, which was just slammed by a hurricane, leaving behind so much trouble, so much difficulty and trauma, which everyone here is still dealing with every day.
Last night we shot some pre-tape segments in greenwich Village, which was pitch black dark for blocks and blocks, as it has been for a week now.
Copyright (c) 2012–2013 Daniel Foreman-Mackey | |
Permission is hereby granted, free of charge, to any person obtaining a copy of | |
this software and associated documentation files (the "Software"), to deal in | |
the Software without restriction, including without limitation the rights to | |
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of | |
the Software, and to permit persons to whom the Software is furnished to do so, | |
subject to the following conditions: | |
The above copyright notice and this permission notice shall be included in all |
$colors: rgb(202,0,32), rgb(244,165,130), rgb(247,247,247), rgb(146,197,222), rgb(5,113,176); | |
@mixin choropleth($bucket) { | |
.RdBu .q#{$bucket}-5 { | |
$base-fill: nth($colors, $bucket); | |
fill: $base-fill; | |
&:hover { | |
fill: darken($base-fill, 10%); | |
} | |
} |
This article has been given a more permanent home on my blog. Also, since it was first written, the development of the Promises/A+ specification has made the original emphasis on Promises/A seem somewhat outdated.
Promises are a software abstraction that makes working with asynchronous operations much more pleasant. In the most basic definition, your code will move from continuation-passing style:
getTweetsFor("domenic", function (err, results) {
// the rest of your code goes here.
/* ------------------------------------------------- | |
MINIMAL TWITTER FOR FLUID / USERSTYLES | |
Special thanks to: | |
Max Fenton (@maxfenton) for kicking this off | |
------------------------------------------------- */ | |
.trends, .bird-topbar-etched, .wtf-module, .site-footer, .topics { |
# Public: A Backbone View that automagically adds CSS classes based on its | |
# CoffeeScript class names, going right up the inheritence chain. This | |
# is cool because it's less crap to write, and plays well with CSS. | |
# | |
# Given: | |
# | |
# class Person extends NamedView | |
# class Wizard extends Person | |
# harry = new Wizard() | |
# |
#!/usr/bin/env sh | |
## | |
# This is script with usefull tips taken from: | |
# https://github.com/mathiasbynens/dotfiles/blob/master/.osx | |
# | |
# install it: | |
# curl -sL https://raw.github.com/gist/2108403/hack.sh | sh | |
# |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>name</key> | |
<string>Solarized (dark)</string> | |
<key>settings</key> | |
<array> | |
<dict> | |
<key>settings</key> |