Archive

Archive for February, 2010

Leaflet Campaign for Hastings Half Marathon 2010

February 23rd, 2010

Hey everyone, I’ve just included the leaflet campaign I am running and spamming to everyone on route. Inspired by a Simpsons episode with the wanted posters for Lisa Simpson..

≈FREE BEER/WINE≈

Okay, now that I have your attention… I’m known as Radderz; I hope you don’t mind me spamming you with this leaflet, if nothing else it can be a causal read for a moment or two.

I’m involved in a cause which means a great deal to me; both friends and family of mine have been affected one way or another by domestic violence. I’m trying to help repay the invaluable support received through Woman’s Aid by running the Hastings Half Marathon, ensuring money remains available for others who require that same delicate support in escaping the dangerous situations they face, in many cases keeping their kids out of harms way too.

Before you grumble at another person asking for yet more money out of your wallet (actually, no, grumble away, I don’t really like them either!), I’m not insisting that you help me out, I’m quite happy if you just chuck this away like most people, however a small donation of a pound or two would be enormously appreciated. You seriously would have no idea how grateful the received support is unless you’ve been in situations of similar consequence, and hopefully by poking random peeps for tiny amounts while keeping up my training, I can raise the targets required to help out people where it’s needed. (More info can be found on my blog below, I’ll keep this up to date with my progress. Again, if it’s used for nothing else, it is a light read. Feel free to post comments though! ;)

I started training this side of Christmas having never been a runner before; exercise wasn’t my thing in any form except good intentions and pointless gym bills. However I’m doing quite well for the minute, running in excess of 10 miles every couple of days without experiencing that tired/shattered/nauseous/leg falling off feeling the next day; I thought that was a big milestone personally!

Whenever I can, I can be found doing a lap around Bewl Water, for the moment it’s left to weekends, but am going to try for the dreaded mornings before work in the weeks leading up. It’s currently 13 miles of muddiness this time of year, and quite often involves rain at some point. Why on earth don’t they host marathons in the summer/autumn?!?

Anyway, I’ve run out of room now, but thanks for listening!
If you can donate: (I’m after small gifts but lots of them, so plz don’t feel stingy giving small)
Either visit my ‘Just Giving’ page
Or via my blog if you want more info, progress updates or just to chat

≈P.S. This leaflet is independent of Women’s Aid≈
≈And there is no free beer or wine≈

Hasting Half Marathon for Womens Aid

Sample JSON HTTP Headers for POST Request

February 22nd, 2010

This is a note to self more than anything for the bear minimum http headers of sending a JSON request.

POST: /Services/OutwardFacingService.asmx/GetList
Host: testserver.co.uk
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Content-Type: application/json
Content-Length: 36

Post Content:
{ "LastModifiedSince":"01/01/2010" }

Techie , ,

Okay, Time to seriously think about getting donations

February 20th, 2010

With the Hastings half marathon only 4 weeks away now (Sunday 21st March 2010), it’s time to seriously start thinking about getting some serious amounts of donations in.

I’m at a stage where I know I can do it as I have been running 10-14 miles every few days, and the risk of me breaking a leg from skiing and boarding has now vanished for another year (I got food poisoning instead, coupled with a rather lack of snow, how annoying! I did get to pick up a new board, even though I did only get 2 hours of play time with it), so it’s safe and fresh enough in everyone’s minds to start collecting. It gives me something to do on my runs as well - not that I need anything else to do, running and putting my mind in free fall mode is more than enough entertainment.

Seeing as I’m going public, I wouldn’t mind aiming for my original target of £1,000 which is roughly the amount it costs to relocate a woman with their kids out of a dangerous situation. I think it’s completely doable, I have had friends and family giving or promising generous donations which has greatly helped, but also if I can get a wide audience to donate the minimum amount that ‘Just Giving’ allows (that’s £2, equivalent to £2.56 with the government gift aid box ticked), I should be able to get close to this target.. Hopefully.. If not, the money will still be of good use to the charity.

So here goes.. If you have got to this page from an evil leaflet spam, sorry! But I’m grateful it worked and that your interested in what I’m doing. It’s for the greater good, or something anyway :)

Hasting Half Marathon for Womens Aid ,

ModalPopupExtender displays during PageLoad

February 4th, 2010

I’ve noticed that in some of my developments using Ajax.Net the ModalPopupExtender flashes up breifly while some of the elements within the page finish loading. I have noticed this for browsers IE and Firefox, but not Chrome.

There is a very simple solution, you just have to remember to do it everytime you want to use a ModalPopup. Add the style=”display:none;” attribute to the asp:panel you are using as the extender, and this will ensure the ModalPopup remains invisible while the page loads.

Techie , , ,

FileInfo to overwrite when moving files

February 2nd, 2010

The FileInfo.MoveTo method does not accept a parameter to overwrite destination files.

Short of extending this class (which I probably should do if I wasn’t being so lazy), the quickest way to get around this is to use the CopyTo method, set the overwrite parameter to true, and then delete the original file.


// Move an overwrite any destination file
FileInfo f = new FileInfo("SomeFile.txt");
f.CopyTo("SomeDestinationFile.txt", true);
f.Delete();

Techie ,