A guide to Firebase Storage download URLs and tokens
June 20, 2020

There are multiple ways to access files in Firebase Storage: persistent download URLs, short-lived signed URLs, and public URLs without security.

Firestore Security Rules examples
May 24, 2020 (updated June 21, 2020)

Real-world examples on how to implement various access restrictions and data validations on your Firestore database using Security Rules.

Using Docker with NodeJS in development and production
April 30, 2020 (updated July 18, 2020)

How to use Docker with NodeJS in development and production, using multi-stage builds and Docker Compose. We'll also compile our app with Babel.

Formatting and linting with ESLint and Prettier
March 17, 2020

Create a React app from scratch with Webpack and Babel. This article explains how to configure ESLint and Prettier to format and lint your code.

Ubuntu on Lenovo Legion Y540
December 15, 2019 (updated August 19, 2020)

Ubuntu runs smoothly on Lenovo Legion Y540 after some quick fixes.

Create a React app from scratch with Webpack and Babel
June 3, 2019 (updated March 17, 2020)

Create a React app from scratch with Webpack and Babel. Create your own boilerplate code and understand each step of the configuration process.

Running Laravel on Google App Engine
October 9, 2018 (updated October 26, 2019)

How to configure and deploy a Laravel application on Google Cloud App Engine (flexible environment).

Device Group Management With Firebase Cloud Messaging
April 15, 2018

How to manage multiple device tokens per user with Firebase Cloud Messaging (FCM). Use device group messaging or store the tokens in your own database.

Handling Firebase Notification Messages in Your Web App
December 1, 2017

How Firebase messages are handled in your web app using the JavaScript SDK and service workers.

Composer install in Dockerfile Without Breaking Cache
August 6, 2016

When building a Docker image for your PHP application there are some steps you should take to prevent the cache from being invalidated prematurely.

Laravel Redirects Break When Using Origin Referrer Policy
April 28, 2016

The Origin Only referrer policy can cause Laravel redirects to break, for example when redirecting back after a failed validation attempt.

Laravel Eloquent and Value Objects, Mutators and Accessors
January 31, 2016

How to use Value Objects with Laravel Eloquent. What you should know about the accessors and mutators.

Installing phpMyAdmin on Nginx using a PPA and SSL
October 2, 2015

This article explains how to install phpMyAdmin on your Nginx server using a Ubuntu PPA, and self-signing an SSL certificate for added security.

Laravel 5 optimization commands
May 11, 2015 (updated January 9, 2018)

This article explains the various artisan optimization commands that ship with Laravel 5.

HSTS Redirects; WWW to non-WWW and HTTP to HTTPS
May 6, 2015 (updated September 28, 2019)

Things to look out for when redirecting from www to non-www (and vice versa), and HTTP to HTTPS when applying the HSTS policy.