Some notes about extracting (or splitting) a folder from a large repository into a git submodule

Posted by & filed under Professional.

There is a lot of great information on StackOverflow about splitting git trees into submodules. We followed this guide that suggests copying the repository and then using git-filter-branch. We are in the situation where we had quite a lot of branches (around 30) that we wanted to maintain, and many of these included commits to… Read more »

Project Idea: minit

Posted by & filed under Professional.

minit [-o project_option1 -o project_option2 val ... ] project_type project_name minit sets up projects for you, utilising native generators where available (e.g. `jasmine init`). It can also initialize cvs repositories for your project on github, bitbucket or google code; create packages on npm or jquery-plugins.

Sheaf – a little library for serial Promise management

Posted by & filed under Professional.

I’ve released sheaf, a library for looping over promises in a non-concurrent fashion. It helps you treat async operations as though they were synchronous instead (but doesn’t “block”). This is useful if you want to use a series of asynchronous functions on a list of initial items, but want one series to complete before the… Read more »

Bond – a simple Promises library, available with npm

Posted by & filed under Professional.

I’ve released bond – a simple Promises/A implementation. The only reasons to use this library rather than something like node-promise are that it can be used in a browser as well as nodejs, it supports multiple arguments for promise callbacks (this is actually why I wrote it) and it has a cool name.

Use tmux for code reviews

Posted by & filed under Professional.

If you ever do code reviews with a) more than about 3 people or b) a distributed team, you’ll know that everybody sitting around a desk is not workable all the time. A great workaround is to use ‘tmux’ (think GNU Screen for grown ups). It instantly offers you multiple-users attached to the same session…. Read more »