February 9, 2010
By Martyn in Programming, SharePoint, Visual Studio | 0 comments
Creating webparts in Visual Studio 2008 for SharePoint 2007 can be messy and the effort required is not indicative of the ease you would expect from a product like SharePoint. There are tools to help such as VseWSS and developers at Codeplex have created several solutions such as wspbuilder. But have you checked out recent [...]
email this | tag this | digg this | trackback | comment RSS feed
December 9, 2009
By Martyn in Programming | 0 comments
Internal Coding Guidelines
An abridged version of Brad Abrams coding guidelines courtesy of Nigel Belham with minor layout modifications for increased clarity.
Introduction
First, read the .NET Framework Design Guidelines. Almost all naming conventions, casing rules, etc., are spelled out in this document. Unlike the Design Guidelines document, you should treat this document as a set of suggested [...]
email this | tag this | digg this | trackback | comment RSS feed
January 2, 2009
By Martyn in PHP, Programming | 2 comments
If you would like to redirect browsers based on their IP the following method can be used to handle multiple IP’s. You can choose to redirect entire networks or a single ip.
<?php
//array of ip’s you wish to block. Note that you can block an
//entire class by replacing it with 0, so to block [...]
email this | tag this | digg this | trackback | comment RSS feed
August 25, 2008
By Martyn in PHP, Programming, Utilities | 0 comments
Most of our hosting servers run Centos Linux but we have Windows servers too and a problem common to both is the occasional high volume of traffic generated by non organic growth. I don’t mean that someones blog hits the front page of digg, rather a malicious or DDOS attack against a website. On shared [...]
email this | tag this | digg this | trackback | comment RSS feed
July 24, 2008
By Martyn in Programming | 5 comments
On more than one occasion these characters  have turned up just when everything else seems fine. Known as a “BOM” or Byte Order Mark they can be extremely annoying.
What is  ???
 is often seen at the top left corner of a web page. When you open the source file and compare that to [...]
email this | tag this | digg this | trackback | comment RSS feed