Andrew Timberlake Andrew Timberlake

Hi, I’m Andrew, a programmer and entrepreneur from South Africa,
building Mailcast for taking control of your email.
Thanks for visiting and reading.


Add environment config to your Phoenix JavaScript

How to change your javascript based on the elixir config environment.

07 Mar 2025

Add a tooltip component to Phoenix

How to add a tooltip component to your Phoenix app using PopperJS. Learn how to connect client-side javascript when elements are added and removed from the DOM.

12 Sep 2023

Append items to a sorted collection in Backbone.js

When an item is added to a collection in Backbone.js it should automatically be added to the corresponding list. When using a sorted collection it would be nice to have it appear in place, especially when not refreshing the entire list. That's what I'll explore in this post.

29 Jun 2015