Joined June 2012
·

Johannes Boyne

Web Engineer and Entrepreneur at ARCHKOMM GmbH
·
Germany
·
·
·

Posted to show git log as graph over 1 year ago

Here is an updated version:
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset%n' --abbrev-commit --date=relative --branches --color

Posted to Load FactoryGirl in Rails console over 1 year ago

Wow! The rails + rspec error codes are a mess. This tip is really useful!!!

watch is great (!) here is a solution for the nodejs fan-boys (like I am):

#!/usr/bin/env node

var fs = require('fs');
fs.watch(process.argv[2], function (fsWatch) {

    var spawn = require('child_process').spawn,
        pro  = spawn(process.argv[3], [process.argv[4]]);

    pro.stdout.on('data', function (data) {
        console.log('(log): ' + data);
    });

    pro.stderr.on('data', function (data) {
        console.log('(error): ' + data);
    });
});

use it like this:

$ ./watch.js text.txt make test
Posted to nodejs-quicksort-power over 1 year ago
the 100 million barrier is annoying but i have not found a solution yet
Achievements
409 Karma
35,001 Total ProTip Views