Skip to content

Instantly share code, notes, and snippets.

View winnab's full-sized avatar

Winna Bridgewater winnab

View GitHub Profile
@winnab
winnab / lscc-outside-in.js
Last active August 29, 2015 14:06
LSCC 24092014 Outside In TDD
// for London Software Craftsmanship Community event http://www.meetup.com/london-software-craftsmanship/events/208963722/
// from http://codingboard.org/boards/lscc
// nothing more than concepts here
function Order() {
return {
customer: {},
basket: {},
paymentInfo: {}
};
@winnab
winnab / gist:3b947ac93dca0cd1203c
Created November 11, 2014 12:04
Using local bower and npm packages while developing

Use a local version of a project in another local project

Example

  • I need to make local changes to blamo-awesome-project-npm-pckg.
  • I need to make local changes to blamo-awesome-project-bower-pckg.
  • I need to see the changes locally in blamo-awesome-project.
npm
# https://www.npmjs.org/doc/cli/npm-link.html

Command line basics

Your hard drive is a folder. Learn to move around it using the Terminal.

Reading

Open Terminal

  • From Spotlight: type cmd + space and then start typing Terminal in the input. When Terminal is highlighted, hit enter.
  • From Finder: go to Applications > Utilities and double click Terminal.app
var datesCop14 = [
'12/31/13',
'01/02/14',
'01/03/14',
'01/06/14',
'01/07/14',
'01/08/14',
'01/09/14',
'01/10/14',
'01/13/14',
@winnab
winnab / jacques_torres_nyt_choc_chip_cookies.md
Last active August 29, 2015 14:14
1x, 1.5x and 2x versions of my favorite cookies.
@winnab
winnab / epicurious_dulce_de_leche_bars.md
Created January 30, 2015 00:41
Dulce de Leche bars

Chocolate Dulce de Leche bars

Epicurious from Gourmet
July 2008

From comments

So there are a few balancing points with this recipe. A balance between chocolate and dulce de leche, a balance between sweetness and saltiness, and a balance between firmness and gooiness. It sounds a bit restrictive, but this combination of modifications makes this dessert amazing...
Chocolate and dulce de leche: I use exactly 6 ounces of 70% cacao chocolate to one cup of dulce de leche.
Sweetness and saltiness: I add fleur de sel while heating the chcolate and dulce de leche mixture.
Firmness and gooiness: I use 3 yolks.

@winnab
winnab / links.md
Last active August 29, 2015 14:19
Useful links

Convert the list below into markup

Use:

  • <h2>
  • <ol>
  • <li>
Preparation
- Preheat the oven to 190C/Gas 5
- In a bowl, combine the flour, baking soda and salt.