Skip to content

Instantly share code, notes, and snippets.

View winnab's full-sized avatar

Winna Bridgewater winnab

View GitHub Profile

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
@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
@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: {}
};