Blog code samples

Code samples used in the webmaster blog