Code + Product

Creating an instant autocomplete field in Android

Jun 2nd, 2015 in Android

How to create an autocomplete text field in Android, which displays suggestions in the dropdown and has a clear button.

Rspec - How to test a controller has included concerns

May 18th, 2015 in Ruby on Rails

A short Rspec snippet to verify the correct concerns have been included in a controller.

How to split Rails routes.rb into multiple smaller files

Apr 27th, 2015 in Ruby on Rails

Organise your routes.rb file into smaller files, works in both Rails 3 and 4.

Supercharged Javascript and CSS animations

Apr 21st, 2015 in ProductAngularJS and Javascript

Summary notes from the Browser Rendering Optimization course on Udacity focussed on building 60 fps apps.

How do you measure user experience quality?

Apr 14th, 2015 in Product

Are there any factors which help evaluate a product as a bronze, silver, or gold standard of quality?

Overview of basic terms in AngularJS

Mar 25th, 2015 in AngularJS and Javascript

A glossary of terms commonly used in Angular JS documentation and tutorials.

Serving PHP with FPM (FastCGI) using Nginx on CentOS

Mar 11th, 2015 in Servers and Scaling

Installation steps to start serving any PHP application (eg Wordpress) using FPM on CentOS, together with a sample Nginx config file.

Testing a $rootScope broadcast event with Jasmine

Feb 23rd, 2015 in AngularJS and Javascript

A short snippet for testing AngularJS with Jasmine.

Rails 4 Conditional Page Cache for Logged In Users

Feb 18th, 2015 in Ruby on Rails

A technique to generate a full static HTML page for caching, based on any specified conditions.

Recommended Rspec style for Rails models

Feb 11th, 2015 in Ruby on Rails

Listing out my top 10 recommendations for how to structure and layout rspec tests for Rails models.