How To Take Control Of Another Computer

There are several things to think about when taking control of another computer, the Operating System running on it, the speed of your network connection and the tools you have at your disposal. How To Take Control Of Another Computer Operating System There are 3 main choices of Operating system that the computer you want […]

sudo: sorry, you must have a tty to run sudo

We’re using an old version of Upstart, on Centos, to manage stopping and starting our Node.js daemons, and one of the things the script does, like any good deamon, is change the user of the deamon process from root to something more applicable, security and all that 😉 The scripts look a little like this […]

How To Create An NPM Repository Mirror

We use Node.js a LOT, which means we do npm install a LOT. And npm is pretty terrible, with horrible dependency handling so we can end up requesting hundreds of dependent modules with it’s recursive patten e.g. for just one of our projects we can end up with paths like ./node_modules/bcrypt/node_modules/nodeunit/node_modules/should/node_modules/mocha/node_modules/glob/node_modules/minimatch/node_modules/sigmund/node_modules/tap/node_modules [root@hmon workspace]# find . […]