Picture of a lake in Canada

Getting started with Nodejs, MongoDB and Tower.js

February 22, 2013 , posted under JavaScript nodejs towerjs placement I have recently purchased a raspberry pi to play with, my primary reason for getting one was to have a lightweight linux server that I could develop for. There has been lots of good things said about NodeJS recently and so I wanted to see what all of the hype was about and try and create a basic chat application. Most of my time programming has been spent working on . Read more...

Removing all BlogEngine.net Comments with JavaScript

February 10, 2012 , posted under javascript quick fix I have had quite a lot of spam on this blog, but never got round to clearing it all out. I couldnt find a function that would let me remove all of the comments from all of my posts so I wrote a little bit of javascript to automate the process. Using Chrome’s inspector and script console run this line of code on your comments page.¬†setInterval(function(){¬†$(".chk").attr(‘checked’, true); ProcessSelected(‘Delete’, ‘Pending’); }, 800); Replacing ‘Pending’ with ‘Approved’ if you need to clear out those as well. Read more...