Web & App Development Blog
How to copy your SSH key to a new Digital Ocean Droplet
How to add your SSH key to a DigitalOcean Droplet you've already created, using ssh-copy-id or authorized_keys, then disable root password login.
My Laravel, Nginx, Cloudflare nightmare.
Laravel, Nginx and Cloudflare, what could go wrong? How I fixed caching with Laravel's SetCacheHeaders middleware and Cloudflare's origin cache control.
Copying a sql file to docker container for import
How to import a SQL file into a MySQL database running in Docker: copy it into the container with docker cp, then import it with docker exec and mysql.
Docker/Docker compose cheatsheet
My most often forgotten Docker and Docker Compose commands: listing containers and volumes, pruning volumes, exec into a container and building images.
Accessing iOS & Android accessibility system font scale values in Unity
In a project recently I needed to find the system font size a user had set in their system preferences, on both Android and iOS devices.
Git cheat sheet
My most often forgotten git commands: listing remote branches, cloning with submodules, unshallowing a clone and merging a remote branch into local.
How to expose your App to the DOM with Webpack
A quick trick to expose your app to the DOM when using Webpack: set output.library and libraryTarget so your bundled classes can be used from the page.
Linux cheatsheet
Handy Linux server commands I reach for regularly: adding users, SSH configuration, file permissions and more, in one quick reference cheatsheet.
Test Accessibility like you resize your browser
Resizing our browser window to try and spot cosmetic bugs in our apps is almost second nature, but why aren't we doing the same for Accessibility?