Blog Archives

ReWrite all pages apart from /admin/ ones

Using Apache’s .htaccess you can rewrite many things… SetEnv HTTP_MOD_REWRITE On RewriteEngine On RewriteBase ‘/’ RewriteCond %{REQUEST_URI} ^(.*)$ RewriteCond %{REQUEST_FILENAME} !-f RewriteRule .* framework/main.php?url=%1&%{QUERY_STRING} [L]

Posted in Uncategorized

QCC Website – Queenstown Climbing Club

YAY! We’ve launched the new site for the Queenstown Climbing Club ( QCC ). Many thanks to Eddie Gapper ( President of QCC ) and the many many hands that have helped out with photos and content. Time to rock!

Posted in Uncategorized

Apache 500 error with NodeJS mod_proxy

An Apache reverse proxy setup with working NodeJS server (confirmed by locally cURL’ing, eg ‘curl localhost:8000’) is returning a 500 Internal Server Error, and nothing in any error logs to be found. Apache’s VHost looks to be working with correct

Posted in Uncategorized

I watched you pop up online just now…

I watched you pop up online just now, but I don’t even know what to say to you anymore. That crazy smiling blonde hippy chick I met on the rooftop one morning, where in the world is she now? What

Posted in Uncategorized

I love a good maori party….

This morning I noticed the domain maoriparty.co.nz had expired. Well if nobody from The Māori Party, a political party in New Zealand formed on 7 July 2004, was going to buy it…. then I might just have to have myself

Posted in Uncategorized Tagged with: , , , , , , , , , , , , , ,

Photoshop Resize while maintaining aspect ratio

Photoshop’s inbuilt batch manipulation tools leave a lot to be desired, especially when dealing with a large quantity of images that are both portrait and landscape. This script recursively goes through folders, finds images, opens, trims background, resizes to 1100×1100

Posted in Uncategorized

Jedisus Sabes and other Photochops

Posted in Uncategorized

Instant Nagios Starter by Michael Guthrie

With a growing number of servers at Wherewolf I needed to find a monitoring solution that was usable not just by the hard-core neckbeards, but by the junior devs as well. In the months since my last mid-sized server monitoring setup,

Posted in Uncategorized Tagged with: , , ,

Nagios Core Administration Cookbook by Tom Ryder has been released!

Nagios is a server monitoring tool that can check anything you can imagine, and this book is here to show you how. From setting up your first “off-the-shelf” ping style checks through to writing your own plugins, this is the

Posted in Uncategorized Tagged with: , , , , , , , ,

Mr Freitag

Joshua Freitag is the creator of Mr. Freitag www.mrfreitag.co.nz Photography is the tool used to investigate sites and situations. The body of work is an existential perception of my environment. Joshua is interested in creating the ordinary less ordinary. The

Posted in Uncategorized Tagged with: , , , , , , ,