RSSAmplifier

Blog

César Ferradas

Software Engineering, Business, Minimalism, Finance

ferrad.asRSS feed ↗10 posts

Latest posts

How to make your phone’s data theft-proof

I recently witnessed a phone snatching in London. It’s not the first time, but this time I was able to help the victim, who was very concerned that his phone was unlocked when it was taken.

Deep anchor links in 13 lines of plain JavaScript

Adding clickable “deep anchor links” to the headings of any page of your website is very simple and can be done with very little code.

Evolve Bank data breach: what we know and how to protect yourself

On the 26th of June 2024, Evolve Bank & Trust announced that it was involved in a data breach.

A better screenshots workflow on MacOS

Most of the time, when we take a screenshot, we want to share it straight away.

Troubleshooting Ingress 502s on Google Kubernetes Engine

Last year I deployed a system in Google Cloud’s managed Kubernetes. From the beginning, we faced intermittent 502 Bad Gateway errors. They were very tricky to diagnose mainly because they were caused by a variety of reasons.

How to run database migrations during a Kubernetes deploy

When running a Kubernetes cluster, it is usually the case that we want to have a database (schema) migration run before new application code is released. A simple trick to do this is to add your migration command as an “init container” which runs before releasing your main pod container. Say you have a deployment of a Python/Flask application as follows:

Personal finance advice I wish I knew earlier

When it comes to saving and investing for later in life, the earlier the better. Here are some things I wish I knew when I first started earning a salary.

How to lint code using git hooks

A fast and effective way to avoid unlinted code from sneaking into version control.

Simplest way to make Python 3 the default on MacOS

On a fresh MacOS install, Python defaults to version 2. Not ideal. Here I show you the quickest way to make the default Python 3.

Why I prefer plain text email

In a world of emails full of colours, pictures and gifs, plain text can be a relief.