Get the Size of an Amazon Bucket

Command to get a listing of each object and it's size, the number of objects and their total size in human readable format: aws s3 ls --summarize --human-readable --recursive s3://BUCKET_NAME/ # output is a really long listing ... with this...

read more

Word for Mac 2016 Label Merge Work-a-round

I have been trying to create labels with a mail merge in Microsoft Word for Mac 2016 After much frustration (a colossal waste of time) with trying to get it working using the recommended merge field options: { INCLUDEPICTURE "{ MERGEFIELD...

read more

Bootstrap Glyphicons and Font Awesome in CakePHP 3

This is how I use both bootstrap glyphicons and the font awesome fonts in cake with some simple helper methods. You first need to copy your font awesome files to webroot/webfonts and glyphicons to webroot/fonts and the respective css files to webroot/css and include...

read more

A Good Mac Terminal

Just been using iTerm2  for a number of weeks on my Macbook Pro. It's been stable and easy to use. The mac terminal itself had been buggy and exited randomly.  ...

read more

ntpdate

Just upgrading from 5.1 to 5.5 of the Vcenter Server Appliance and was wanting to set time synchronization Get a list of public NTP server from http://www.pool.ntp.org/zone/au Login to the upgraded VCSA as root and run ntpdate your.ntp.server.name.here will confirm...

read more

Format Of and Verify an ABN – Ouh a secret puzzle

Just discovered it's not just Credit Cards and Barcodes that have validity check digits and algorithms FIrstly an ABN (Australian Business Number) is formatted XX XXX XXX XXX e.g 84 008 812 322 The ABR website has the information on how to calculate the validity of an...

read more