Search

4/10/2014

Nimble

Nimble

Parallel
_.parallel([
    function (callback) {
        setTimeout(function () {
            console.log('one');
            callback();
        }, 25);
    },
    function (callback) {
        setTimeout(function () {
            console.log('two');
            callback();
        }, 0);
    }
]);
Series
_.series([
    function (callback) {
        setTimeout(function () {
            console.log('one');
            callback();
        }, 25);
    },
    function (callback) {
        setTimeout(function () {
            console.log('two');
            callback();
        }, 0);
    }
]);

4/08/2014

Why the (CoffeeScript) arrow matters

Why the (CoffeeScript) arrow matters

BONUS POINTS: NO NAMED FUNCTIONS - NO CONFUSION An otherwise forgotten but very important feature on CoffeeScript is the absence of named functions. This is great, because named functions are available to all of your code regardless of the declaration order. This makes it very easy to write some really confusing JS code:
var importantThing = veryComplicatedFunction()

// (...) A thousand lines later

function veryComplicatedFunction () { ... }
This type of organization is very damaging to the readability of your code. CoffeeScript requires you to store functions in variables - like everything else.

4/07/2014

fikovnik/ShiftIt · GitHub

fikovnik/ShiftIt · GitHub - use this version: https://github.com/fikovnik/ShiftIt/issues/105

ShiftIt is an application for OSX that allows you to quickly manipulate window position and size using keyboard shortcuts. It intends to become a full featured window organizer for OSX. It is a complete rewrite of the original ShiftIt by Aravindkumar Rajendiran which is not longer under development. For discussing any sort of stuff about this app, please create a new issue right here.

McBopomofo

McBopomofo - 需要重新修改熱鍵