February 22, 2013
, posted under
JavaScriptnodejstowerjsplacementI 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...
February 10, 2012
, posted under
javascriptquick fixI 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...