Amnuts - amnuts.com - amnuts

Latest News:

Zend OPcache 8 Apr 2013 | 09:25 pm

I’ve just started to use Zend OPcache in place of APC in a few places and so far it’s great! Because documentation seems a little scarce right now, I’ve decided to jot down the methods available (main...

My CodeMagic fork (a TinyMCE plugin for code editing) 4 Mar 2013 | 03:55 am

I’ve used TinyMCE for a while – it’s an excellent WYSIWYG editor for web applications. However, the code editor in it is really simplistic. Enter CodeMagic, a plugin that allows you to replace the sta...

Zend Framework 2 – JSON-RPC Server 24 Aug 2012 | 02:45 am

Creating a JSON-RPC server in ZF2 is very similar to how you would do it in ZF1, so you could pretty much follow the documentation for version 1. However, here is an example of how to implement with v...

MSC Executive Mobile Charger review 2 Aug 2012 | 06:12 pm

The other day I was asked if I’d like to review a solar charger battery pack for portable devices that comes from Mobile Solar Chargers. At first I was a little dubious because I’ve seen some battery ...

Handy little function 14 Apr 2012 | 07:14 am

Quite often I find myself wanting to run the same script by either cli or through a browser. But I don’t want to fill my echo statements with <br /> tags if I’m on cli because that’d just look ugly, b...

Merge two urls 27 Sep 2011 | 02:38 am

This is a handy function for combining two urls. The urls could be strings or parts in an array (as you’d get from the parse_url function), or you can mix-and-match. Check out the examples in the docb...

Dreamhost and procmail – parsing your mail with a script 19 Jun 2011 | 08:12 am

I have a Dreamhost account and have done for some while. Typically I’m happy with their service, but yesterday was the first real frustration I had with them. I wanted to use procmail to send email to...

Using CSS3 sucks (right now, but I’m sure it’ll get better) 16 May 2011 | 04:00 am

Am I the only one to think that using a number of aspects of CSS3 right now really sucks? The potential it offers is great, but does anyone really think doing something like this for a gradient is a p...

Sorting an array of objects by one or more object property 9 Apr 2011 | 04:18 am

Quite often I find myself having an array of objects and needing to sort that array by one or more of the properties in the objects… Imagine, for example, getting a large result set from Zend_Db, or s...

Extend Zend_View_Stream to easily escape view variables 1 Nov 2010 | 09:14 am

Zend_View_Stream is used pretty much when ever you use Zend_View, and I’ve blogged about how handy it is before.  But as it’s a class like any other, you can extend it to give added functionality.  On...

Recently parsed news:

Recent searches: