Download a subdirectory from github

Mar 15, 2016

Have you ever needed to download only a subdirectory from a GitHub project without downloading the entire repository? Surprisingly, there doesn’t seem to be a way of doing this easily using Git. A somewhat unexpected solution is to use SVN. Read More

Who scores in Rugby Union?

Jun 25, 2015

Rugby is a highly specialised sport in which each player has a specific roles. Unlike other sports, players at certain positions are more lickely to score. Which ones? Did it change over time? Read More

SVG2PNG

May 15, 2015

Converts SVGs to PNGs, done in the browser Read More

Javascript, redefine unlimited number of setters with same function

Mar 17, 2015

Defining setters in javascript is long and tedious, sometimes annoying. Here is a general way to assign common setters to all the properties of an object. Read More

Most use of $.extend, a cleaner way

Mar 17, 2015

$.extend is commonly used to override default options. However, if new fields are present in the source object, it will be added to the target. This behavior is sometimes problematic, especially if you save or send the data. You prefer to have an object with the strict minimum of fields. Here is a small function to help. Read More