Skip to content

Instantly share code, notes, and snippets.

View blakmatrix's full-sized avatar
🧿
You may be gone tomorrow, but that doesn't mean that you weren't here today.

❤️ Farrin Reid blakmatrix

🧿
You may be gone tomorrow, but that doesn't mean that you weren't here today.
View GitHub Profile
@blakmatrix
blakmatrix / blog_farrin_migratorbot.md
Created June 22, 2012 17:15
Introducing blakmatrix and migratorBot

Introducing blakmatrix and migratorBot

Hi, my name is Farrin Reid. I love developing awesome software, tinkering with open source hardware, and trying out new hobbies. I am most intrigued by automation, strong AI, and all fields of science. I am excited to be working at Nodejitsu as one of the team.

I graduated from the University of Alaska Fairbanks in 2009. I stuck around for a few years and became a developer/programmer for the University of Alaska. About a year ago, I decided I wanted to move away; out of the cold, closer to family, and to expand my career horizon. I packed up 8 years of worth of collected belongings between my wife and I into our car and at 1:30pm June 18, 2011, I started my journey out of Fairbanks, AK to Seattle, WA.

I had a few interviews lined up when I arrived, but at the time the market was looking for senior developers. In the interim of looking for something to pay the bills, I got

var client = github.client({
username: username,
password: password
});
var endpoint = '/repos/' + username + '/' + repo;
client.del(endpoint, function (err, status, body) {
if (err) {
return cb(err);
}
@blakmatrix
blakmatrix / homer.js
Created June 22, 2012 20:15
bonsai logger
var util = require('util');
var Homer = module.exports = function (stream, format) {
var homer = this;
this.stream = stream;
this.format = format || function (lvl, msg) {
return util.format('[%s] %s', lvl, msg);
};
@blakmatrix
blakmatrix / gist:2985886
Created June 25, 2012 01:23
sys module throws on million_complex.js in npm package amulet in node v0.8.0
blakmatrix@blue-ghost:~$ cd ~/projects/foo/node_modules/amulet/benchmarks/
blakmatrix@blue-ghost:~/projects/foo/node_modules/amulet/benchmarks$ node million_complex.js
sys.js:1
throw new Error(
^
Error: The "sys" module is now called "util".
at sys.js:1:69
at NativeModule.compile (node.js:602:5)
at Function.NativeModule.require (node.js:570:18)
@blakmatrix
blakmatrix / gist:2991499
Created June 25, 2012 21:48
gf3 / sandbox - node v0.8.0 - node test/sandbox_test.js
PS C:\Users\fred rosak\Documents\GitHub\sandbox> node test/sandbox_test.js
module.js:340
throw err;
^
Error: Cannot find module 'should'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)
/*
* users.js: Client for the zendesk API.
*
*
*/
var util = require('util'),
Client = require('./client').Client,
defaultUser = require('./helpers').defaultUser,
qs = require('querystring');
PS C:\Users\fred rosak\Documents\GitHub\olive> jitsu deploy
path.existsSync is now called `fs.existsSync`.
info: Welcome to Nodejitsu blakmatrix
info: It worked if it ends with Nodejitsu ok
info: Executing command deploy
info: Analyzing your application dependencies in coffee app.coffee
warn: Local version appears to be old
warn: Your package.json version will be incremented for you automatically
warn: About to write C:\Users\fred rosak\Documents\GitHub\olive\package.json
data:
PS C:\Users\fred rosak\Documents\GitHub\forever> git checkout v0.8.0
Note: checking out 'v0.8.0'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:
PS C:\Users\fred rosak\Documents\GitHub\forever> git checkout node-0.8
Branch node-0.8 set up to track remote branch node-0.8 from origin.
Switched to a new branch 'node-0.8'
PS C:\Users\fred rosak\Documents\GitHub\forever> npm test
> forever@0.9.2 test C:\Users\fred rosak\Documents\GitHub\forever
> vows test/**/*-test.js --spec -i
module.js:340
PS C:\Users\fred rosak\Documents\GitHub\forever> vows --spec --isolate
module.js:340
throw err;
^
Error: Cannot find module 'C:\Users\fred rosak\Documents\GitHub\forever\C:\Users\fred rosak\Documents\GitHub\forever\test\core\check-process-test'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)