Joined June 2012
·
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!!!
Posted to
Watch for changes and then rebuild source code using make
over 1 year
ago
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
36,825 Total ProTip Views

Beaver 3
Have at least three original repo where go is the dominant language

Raven
Have at least one original repo where some form of shell script is the dominant language

Altruist
Increase developer well-being by sharing at least 20 open source projects

Mongoose
Have at least one original repo where Ruby is the dominant language

Beaver
Have at least one original repo where go is the dominant language

Charity
Fork and commit to someone's open source project in need

Walrus
The walrus is no stranger to variety. Use at least 4 different languages throughout all your repos

Honey Badger 3
Have at least three Node.js specific repos

Nephila Komaci
Have at least one original repos where PHP is the dominant language

Honey Badger
Have at least one original Node.js-specific repo

Forked
Have a project valued enough to be forked by someone else
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