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 […]
I Quit My Day Job!
Hi, I'm Rus and after 10 years of Linux administration and software development, in September 2014 I quit my day job, sold all my stuff and moved to Thailand to live the good life.
Would you like ..
- No commute
- A flexible schedule
- More time with friends & family
- More money
- The ability to travel the world & work from anywhere
- More time to do what you want
That's what I created for myself, and you can too.
My new website, http://www.ruspow.com shows how I'm making money online as well as what life can be like when you're not sat behind a desk and are free to make your own decisions!
- 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