Author Archives: Naraen

Adversity

Adversity introduces a man to himself.  -Albert Einstein

Posted in Uncategorized | Leave a comment

I don’t mind coming to work ..

I don’t mind coming to work, But this eight hour wait to go home is just bullshit.

Posted in Uncategorized | Leave a comment

Get list of all npm packages

This downloads a 25MB JSON file wget -O npmall1.json https://registry.npmjs.org/-/all //prettify.js var npmObject = require(‘./npmall.json’) var keys = Object.keys(npmObject) var fs = require(‘fs’) var file = fs.createWriteStream(‘./npmall_pretty.json’); var count =0; keys.forEach( (k) => { if ( count++ % 1000 === … Continue reading

Posted in Uncategorized | Leave a comment

This too shall pass

This too shall pass. It may pass like a kidney stone. But, it shall pass.

Posted in Uncategorized | Leave a comment

Enumerate npm modules installed version

for f in $( ls node_modules/ ); do echo $f, $(grep -i ‘”version”:’ node_modules/$f/package.json) done

Posted in Uncategorized | Leave a comment

On trying things …

Only one who wanders finds new paths. ~ Norwegian proverb All that is gold does not glitter, Not all those who wander are lost; The old that is strong does not wither, Deep roots are not reached by the frost. … Continue reading

Posted in Uncategorized | Leave a comment

On attitude

Some people are born on third base, but go through life thinking they hit a triple. -Barry Switzer  

Posted in Uncategorized | Leave a comment