Posts
Keep focus on an input with jQuery
Published 12 March 2013 in archive with tags jquery , javascript The most hair-loss-inducing problems usually have the simplest solutions, and such can be said for my latest shortcut to male pattern baldness. Continue reading …Save nanoseconds with a quicker Enum.HasFlag
Published 11 March 2013 in archive with tags csharp , bitwise , enum , performance One of the easiest ways to manage security flags is to have an Enum and use bitwise comparisons, however you would expect .NET to make things a bit easier for you, afterall who wants to start littering the code with bitwise expressions? Continue reading …Quickly and easily upload files with FtpWebRequest
Published 8 March 2013 in archive with tags ftp , ftpwebrequest , csharp I've just been migrating the systems at work to a new host and it's mostly .NET 2.0 stuff, among the lot is some code which uploads images to a server, which for some strange reason has decided to stop working after 3 years and start uploading gobbledygook instead. Continue reading …Set preferred domain for Google Webmaster Tools
Published 6 March 2013 in archive with tags google , webmastertools Adding this website to Google Webmaster Tools just presented me with a small but annoying problem of not being able to set the preferred domain to containwww.
rather than just adamkdean.co.uk
. I received an error message, but no instruction on how to do so:
Continue reading …