Android Using Android Data Binding adapters with Dagger 2 Updated 22/04/19 to include Kotlin code samples and use latest version of Dagger Android. The typical method of implementing a binding adapter using the Android Data Binding Library is to create
Setting up DKIM with Sendmail on Ubuntu 14.04 What is DKIM? DKIM or DomainKeys Identified Mail is an email authentication system that can help prevent spoofing by signing outgoing mail. More information can be found on Wikipedia or Google. DKIM uses
O2 Wifi app sends authentication and personal data over insecure connections Background I recently purchased a Nexus 6P and being on O2 it's a requirement to download the O2 Wifi app and register it to get access to the London Underground wifi. I downloaded
Bootstrap Default theme released for Piwigo After a long time in the making and a number of public preview releases, the first official release of my Bootstrap Default theme for Piwigo is available for download. It can be downloaded
Android Android Data Binding with Robolectric 3 Just over a week ago at Google I/O Google announced the new Data Binding library. If, like me, you were keen to give it a try and dropped it into an existing
OS X Fixing Google Drive (and other app) icons in OS X Yosemite I much prefer the look of OS X Yosemite over Mavericks and earlier versions, but unfortunately it's taking some apps a while to catch up, Google Drive is a prime example: In some
Ghost Offline editing app for Ghost gets some material sweetness I started work on this back in September but it stalled due to other commitments and sat on the hard drive of my Mac for a few weeks. The release of Android 5.
Android Styling the SearchView with AppCompat v21 (material theme) Earlier versions of the AppCompat-v7 library conveniently exposed a huge number of styling attributes that were hidden in the standard holo themes. A number of these attributes allowed customisation of the SearchView widget
Android Moto X Finally, after a 20,000 km trip starting in China and stopping of in Hong Kong and the USA, my Moto X has arrived! This is the walnut back with silver trim.
Android Android PIN entry widget In a number of Android projects I've worked on we've had a requirement for a PIN code entry screen, something which is sadly lacking from the Android SDK. I started working on this
Android Updating navigation drawer icon to the material theme Over the last couple of weeks many of the Google Android apps have been updated to support the Lollypop material theme. One of the noticeable changes is the new spinning hamburger for apps
Android Updating Android apps to use the material theme With the release of the Android Lollypop SDK, Google have also updated the support libraries. The good news is that the AppCompat library already contains support for the new material theme so you
Android View source of any JAR in Android Studio Although most of the good Android libraries are open source, occasionally you get stuck with a third party JAR or two that doesn't have source available, or good documentation, or both. Music streaming
An engineering project with a difference Usually most of my projects involve many long days in front of a computer screen. Actually, this one was no exception! I was becoming increasing frustrated with my 6 year old Kona Coilair
Water cooling M-5: Hardline water cooled gaming PC - Intro M-5 The name M-5 comes from an episode of the original Star Trek series titled "The Ultimate Computer". Admittedly, I've never actually seen the episode, but I felt the title of
Ghost Wordpress to Ghost Disqus migration There is an excellent guide to migrating from Wordpress to Ghost on Ghost For Beginners so this is intended to supplement that rather than replace it. These tips assume you've already exported your
Tiananmen Square The final set of photos from China 2013 are from Tiananmen Square, which we missed from our visit to the Forbidden CIty back in February. There is quite a contrast from the sub-zero
Photos 798 Art Zone, Beijing The 798 Art Zone is an old factory complex in Beijing which has been converted into and area of contemporary Chinese art. There are numerous works around the streets such as the pictured
Photos Jinshitan, Dalian, China I recently uploaded some photos taken in the Jinshitan Scenic Area, known as Golden Pebble Beach in English. Apparently during the holiday season, like most areas of China that have any kind of
Ghost Installing Ghost with high availability Installing Ghost is a fairly simple process, at least if you are using a single server which is very well documented on the Ghost website and a multitude of other sources. However, if
Ghost Moving from Wordpress to Ghost Welcome to my new blog! As you may have noticed, my new blog is no longer running Wordpress. Why? I've stuck by Wordpress for many years and it's not a bad piece of
PPTP Setting MTU size for PPTP server solves Windows browsing issues After setting up pptpd on a cheap VPS sat in New York to gain access to Netflix USA, I noticed some problems with several websites when connected to the VPN on Windows. Strangely
ClusterControl Installing ClusterControl with an existing cluster and Nginx ClusterControl is a comprehensive tool for managing and monitoring MySQL and MongoDb clusters, more information can be found here. ClusterControl comes with some great scripts for automating deployment, however there are a number
MySQL Upgrading Percona XtraDB Cluster from 5.5 to 5.6 I followed the Percona guide to upgrade my XtraDB Cluster (MySQL + Galera) from 5.5 to 5.6, here are some observations of the process. The upgrade process I included putting the upgraded
Nginx Backend server host name as a custom header with Nginx When using load balanced web servers it's often useful to know which server processed the request. There is a simple unobtrusive method to achieve this with the Nginx web server. Nginx conveniently populates