A blog about software engineering and beyond!

Automatic periodic backups from PostgreSQL to S3 using Cron

If you're managing your own databases you'll need to make sure you database is backed up properly. A good option is to store your backups in an S3-compatible object storage.

Supporting Bi-directional text in Html TextArea

A <textarea> is an HTML element used to capture multiline user input. By default, it's direction is either right to left or left to right. But what if we want each paragraph to have it's own direction. This is very useful when the text is a mix of multiple languages. For example: Kurdish and English.

Why public google user content images return 403

When using Google as your OIDC provider you can ask for the picture claim which contains the user's profile picture. It's usually a url like this: