Rsync is a great tool but can be a pain if you have to jump through hoops to connect via ssh such as connecting via a different port. A simple solution is to use the -e flag (also knows as --rsh=COMMAND). This flag allows you manually define the ssh command to use when connecting rsync … Continue reading Rsync and custom SSH commands
Month: July 2012
Nice New Nexus7
This morning I woke up to an email telling me that my Nexus7 that I had ordered 3 weeks ago was... "out for delivery". I couldn't contain my excitement. I sat patiently waiting by my door. Finally 11 o'clock rolls around and there is a knock. I'm handed a brown parcel and hand over the … Continue reading Nice New Nexus7
Registering custom view helpers in ZF2
If you want to register custom view helpers with a module you can do so by using the service location built into the Skeleton Application and creating a module config that looks something like. return array( 'view_helpers' => array( 'invokables' => array( // generic view helpers 'truncate' => 'Zucchi\View\Helper\Truncate', // form based view helpers 'bootstrapForm' … Continue reading Registering custom view helpers in ZF2
Bootstrapping ZF2 Forms
So... With the release of beta 5 for Zend Framework 2 I thought it time for me to tidy up and fix a few modules I created back at beta 3. Now I'm a big fan of Twitter Bootstrap CSS framework as I'm sure a lot of other people are as well. Seeing that the Zend … Continue reading Bootstrapping ZF2 Forms