View README.md

one liners

Getting a list of commits (in a relatively useful short form) since a branch diverged from master:

git log --format="%h %an: %s" $(git merge-base release-name master)..

All the modified files on the current branch since forking from master.

View TODO.md
View README.md

Convert a series of images into an MPEG file:

$ MAGICK_THREAD_LIMIT=2 MAGICK_MEMORY_LIMIT=2G convert -delay 5 -quality 100 *.JPG out.mpeg
View clone-all-elm-packages.md

I'm sure there's probably a more efficient way to do this, but before CampJS I'm pretty keen to bring down all the elm packages that are available from the elm package repository.

This seems to do the trick :)

curl -s http://package.elm-lang.org/all-packages \
  | jq -r ".[].name" \
  | xargs -L 1 -I{} bash -c "[[ ! -d {} ]] && git clone 'git://github.com/{}.git' '{}' || true"
View README.md

The following is an "oh noes, where's my Internet" guide to surviving as a coder with no or limited Internet. Primarily the guide is focused on those who will be doing JS development (and using npm as a package manager) but some of the advice is useful for other environments also.

Step 1. Clone all things

Tooling in this steps require that you have git installed, and use github for your repositories.

One thing I really like to do when I get a bit of time offline, is clean up an old repository that I once thought was useful. I rarely know about what project this might be in advance. As a result, I like to clone all the things from my personal github account.

To do this I recommend using multirepo, which is best installed (at the moment) like so:

View README.md

Amethyst

A pretty nice tiling window manager, that does a good (enough) job:

https://github.com/ianyh/Amethyst

How to find an app id for an app you want to float

> osascript -e 'id of app "Finder"'
View README.md
View 51-firefox-os.rules
# 51-firefox-os.rules
ACTION!="add", GOTO="ffos_end"
SUBSYSTEM=="usb_device", GOTO="ffos_start"
SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device", GOTO="ffos_start"
GOTO="ffos_end"
LABEL="ffos_start"
# ZTE Open C
View talks.md

Death to Isomorphic JS

When exactly did we decide that we should substitute the term "code reuse" with isomorphism? I didn't get the memo...

All the Streams

So you've heard about streams huh? Yeah, the kind that makes producing, transforming and consuming data more portable. That's great. Did you know there are a few different kinds of streams, and it's not a one type will solve all your problems? No? Ah, well let me explain...

Don't control, react

View README.md