Deanclatworthy - deanclatworthy.com - Hello. I'm Dean Clatworthy

Latest News:

Stopping mass-login attempts to WordPress using nginx 27 Jul 2013 | 09:31 pm

Rather than rehash all the information, let me point you in the direction of this great blog post: http://ethitter.com/2013/04/protecting-wp-login-in-nginx/ If you have problems with wp-login.php bei...

Getting a twitter user’s latest posts using using API v1.1 and Guzzle (PHP) 15 Jul 2013 | 05:57 pm

I’ll keep this brief. Install Guzzle however you wish, but I recommend using composer: Then use the following code: Don’t forget to put your constants somewhere.

Facebook: The new giant of advertising? 18 Jun 2013 | 06:38 pm

Last week Facebook rolled out a new update that lets people tag what they’re doing in their post or say how they are feeling. Users can say they are watching a movie or reading a book – amongst other ...

Web fonts not loading in Firefox 11 Jun 2013 | 03:28 pm

I encountered a peculiar issue today regarding web fonts on firefox. On all browsers except Firefox the web fonts were loading correctly. I found multiple references suggesting that Firefox was picky ...

Ensuring facebook canvas applications work in IE8 / IE9 / IE10 17 May 2013 | 12:46 pm

Last week I deployed a new Facebook application into a production environment. Everything seemed to be working perfectly, but then I received a report that the application wasn’t working correctly in ...

How to install different locales on a fresh debian installation 10 May 2013 | 02:54 pm

Simples: sudo dpkg-reconfigure locale This will load a GUI where you should select the new locales to install, then follow the onscreen instructions.

Silex Tip #1: How to quickly invalidate a form field in your controller 10 May 2013 | 02:34 pm

You should be using custom constraints to validate your form fields, however there are some use-cases where you need to quickly invalidate in a controller. To do this it’s quite easy: $form->get('user...

Crawling UTF-8 pages using the Symfony2 DomCrawler component 21 Apr 2013 | 09:11 pm

Just a small gotcha for anyone using Symfony2′s DomCrawler component. The standard behaviour of the class (from the current docs) is: $crawler = new Crawler($html);   foreach ($crawler as $domElement)...

Intel X25-M SSD’s don’t work with Mac OSX 10.8.3 12 Apr 2013 | 12:14 pm

I’m writing this informative post to try and help anyone who had the same problem as me. I upgraded to OSX 10.8.3, and after it restarted the machine the Apple logo and spinner was on screen for about...

Migrating from apache to nginx (wordpress edition) 28 Feb 2013 | 06:03 pm

Today I migrated my whole site from apache to nginx. The main reason for this being that nginx seems to handle load and use less memory on smaller boxes. It’s also an opportunity for me to try somethi...

Recently parsed news:

Recent searches: