Posts
Subscribe to the RSS feed for updates.
Canonical URL redirects for static sites
April 21, 2017A canonical URL gives your website visitors consistency for bookmarks and copied links. Hosting your site on a static host like GitHub or GitLab Pages does not mean you are without redirects to a canonical URL, despite these hosts lacking server-side redirects. This post shows you how you can do it client-side with JavaScript.
Responsive background images with JavaScript
April 17, 2017In this post, we develop a JavaScript technique to position and scale a background image so that the subject matter is optimally placed at a target area of the browser viewport, no matter the device orientation or window size.
Ph.D Thesis Template
July 12, 2007A LaTeX template and skeleton example for creating a beautiful Ph.D. dissertation, satisfying the University of Melbourne guidelines at the time of writing.