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 !upstart […]
I’ve got a rather large dataset that I need to do a lot of processing on, over several iterations, it’s a 20gb zip file, flat text, and I’m impatient and don’t like not knowing things! My new favourite Linux command line tool, pv (pipe viewer) is totally awesome. Check this out: […]
One of our applications (Freeswitch) just randomly crashed for no apparent reason and didn’t write anything to it’s log files. The service we’re trialling is currently in Beta so there’s room to muck about and do some diagnostics. I want to make the kernel dump a core file whenever Freeswitch dies, in case it happens […]
Whilst working an AMAZING NPM repository mirror yesterday (which totally works, despite not really offering the performance benefit I’d hoped, because NPM is rubbish) I came across this error whilst doing things 16 http GET http://localhost:5984/registry/_design/app/_rewrite/-/all/since?stale=update_after&startkey=1371737164294 17 http 500 http://localhost:5984/registry/_design/app/_rewrite/-/all/since?stale=update_after&startkey=1371737164294 18 error Error: insecure_rewrite_rule too […]
Pat Flynn over at Smart Passive Income has just announced the launch of his Niche Site Duel 2 project, and as I kind of called him out a few month ago in my first (stalled) Income Report causing a WordPress ‘ping back’ and his mate Blake to pop in and say hi Rather than be […]
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 . […]
Whether you are looking to open your first e-commerce store, or a better deal on your existing one, the e-commerce arena is a minefield that needs to be navigated carefully. Businesses usually always end up paying much more for hosted e-commerce solutions than they originally expected because most e-commerce platforms are not completely upfront about […]
Today we did a hero WOD called the Tumilson. The RX is 8 rounds for time of: Run 200 meters 11 Dumbbell burpee deadlifts, 60 pound dumbbells But I scaled it with 25kg dumbells ~55lbs.
Whilst debugging our CollectD and Graphite setup, I found that CollectD was generating hundreds of repeated errors. Jun 13 17:11:14 hmon collectd: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/hmon/processes/ps_state-running.rrd) failed: /var/lib/collectd/rrd/hmon/processes/ps_state-running.rrd: illegal attempt to update using time 1371136272 when last update time is 1371136272 (minimum one second step) Jun 13 17:11:14 hmon collectd: rrdtool plugin: rrd_update_r (/var/lib/collectd/rrd/hmon/processes/ps_state-sleeping.rrd) failed: […]
I needed to access Bing’s Webmaster Tools to have a look at the configuration for this site. I couldn’t remember the URL off hand so I decided to ‘Google’ the search term using Bing! That’s very nice of them … I guess part of Bing’s preference engine might rank pages higher depending on where the […]
- How To Create An NPM Repository Mirror June 20, 2013
- Creating A Local and HTTP RedHat Yum Repository October 20, 2009
- Income Report February 2013 March 5, 2013
- Tomcat HelloWorld Servlet with Eclipse March 11, 2009
- monit: error connecting to the monit daemon March 28, 2013
- Is This The Most Important Script You’ll Ever Write? August 11, 2014
- yum error: Couldn’t fork Cannot allocate memory July 23, 2014
- The Albert Burger – Best Burger in Brighton? April 9, 2014
- Adsense 2014 April Fools April 1, 2014
- Speeding Up MDADM RAID Rebuilds March 26, 2014
- Volusion Review June 19, 2013
About The Author
Arrogant, narcissistic and imperatively logical. I first started coding in the mid 80s on an Amstrad 6128, entering games found in the back of Amstrad Action.
After watching Hackers and falling in love with Angelina Jolie I installed Slackware 2.0 on a P200 in 1997and spent the next 6-7 years studying computery things at various colleges and universities.
Several years later I can now be found in an office premises by day sat in front of a Macbook, using a Windows VM to manage Linux servers, or in a field by night, fire dancing and holding pyrotechnics casually in my hands whilst they explode.
Occasionally I write code.