Sign In or Register

Bag of Spanners

The notes, ideas, opinions and thoughts of a software and web developer

This blog is one of the best geeks blogs out there. Add this blog to My Feeds.

Looping on a timer with Javascript setInterval

Feb 22, 2010 2:59am

Quick example of setInterval to remind myself how to write it in the future… <html> <head> <title>Javascript SetInterval</title> </head> <body> <script> var interval; var count = 0; interval = window.setInterval(function(){ count++; if (count<5){ // do something document.getElementById("test").innerHTML = count; } else { window.clearInterval(interval); } }, 200); </script> <div id="test"></div> </body> </html> ...

Essential Open Source Desktop Applications

Feb 16, 2010 8:07am

I’ve installed a few machines recently – both Windows, and Linux – and often forget to install things that I find really useful. Hence this list – so I can check down it next time. Google Chrome – best browser around at the moment Open Office – Wordprocessor, Spreadsheet, etc InkScape – Vector...

How to Implement Log4Net in a .NET Webservice.

Feb 9, 2010 8:58am

I had a webservice sitting in the layouts directory of Microsoft SharePoint. I wanted to add some logging functionality to it, and the rest of the development team had started using Log4Net (a very good open source logging framework) – therefore I dropped in on the Log4Net website to find...

Ubuntu 9.10 Karmic Koala

Feb 8, 2010 2:18am

I installed the fell desktop installation of Ubuntu 9.10 “Karmic Koala” on an ASUS EEE 1000H over the weekend, and thought it might be worth sharing my experiences. First, some screenshots… The Desktop The plain-vanilla desktop, with menu’s left switched on so you can see them (I normally auto-hide them on a...

How to get unlimited web and texts on your O2 iPhone for £15 a month

Jan 30, 2010 8:00am

My iPhone recently ran off the end of it’s contract – and as I have written about elsewhere on the web, I chose not to renew the contract. When I called O2 to cancel the contract (which was costing me £35 a month), they offered to send me a “Pay and...

Recovering FileZilla Login Information

Jan 25, 2010 5:33am

If you’re half as stupid as me, you regularly enter FTP connection details directly into FileZilla, and promptly lost the source of the information – so you rely on the quick logon drop-down. How do you find out the passwords for FileZilla connections ? Easy. Navigate to your profile directory, and then to...

Getting Things Done

Jan 21, 2010 8:03am

In order to combat the endless torrent of tasks, requirements and commitments surrounding me throughout the past couple of years, I have been experimenting with the “Getting Things Done” methodology. I first heard about it while reading Merlin Mann’s 43 Folders website, and have since bought the book by David...

Executing C# code in K2 blackpoint

Jan 21, 2010 5:22am

If you have experience of the K2 family of workflow products – perhaps as far back as K2.NET 2003 – you will remember how easy it was to slot programming directly into your workflows, and how useful it was. With the advent of K2 blackpearl, and more recently K2 blackpoint,...

RSS feeds, the SharePoint XML WebPart, and XSLT

Jan 21, 2010 2:05am

I was recently tasked with importing an RSS feed into a SharePoint site for display. As luck would have it, this task was one of the first I ever investigated in SharePoint – way back when 2003 was launched. As is typical, I didn’t write the method down, so had...

From iPhone to Blackberry – Swimming Against the Tide

Jan 20, 2010 4:19pm

In a move that many might see as bizarre, last week I ditched the iPhone 3G I have been using for the last 2 years, and have replaced it with a Blackberry Curve 8900 (known stateside as the “Javelin”). It’s a little early to give any definitive opinions on the device,...