Adding a healthcheck to chartmuseum in AWS Fargate

Assume that you have a Chartmuseum container running in AWS Fargate. Chartmuseum is a repository for helm charts. AWS Fargate is an Amazon service to run containers (“serverless”), being part of ECS (Elastic Container Service). Problem statement: Add a container healthcheck to the chartmuseum task definition associated with the container. ...

May 17, 2024 · 165 words · Thiago Perrotta

Pritunl log in via CLI

Pritunl is an Enterprise Distributed OpenVPN server. In order to run its client on macOS, an .app is provided. However, using it to log in every day is quite tedious. Let’s automate it so that we can connect to the VPN with a single command. ...

May 7, 2024 · 264 words · Thiago Perrotta

Be aware that your public SSH keys can reveal your identity

If you have a GitHub account configured with SSH, your public keys are available at https://github.com/$USERNAME.keys. For example, mine: https://github.com/thiagowfx.keys And then let’s say you also use your full name on GitHub. ...

May 3, 2024 · 214 words · Thiago Perrotta

Shell text substitution

I learned a neat shell trick this week. In both bash and zsh you can use the circumflex / caret (^) symbol to find & replace a word from the previous command. Usage: ^prev^next. It’s best illustrated with examples: ...

April 7, 2024 · 104 words · Thiago Perrotta

pyenv

When working on Python projects, pyenv is a great python environment / version manager, especially on macOS wherein you cannot easily control the python system version. ...

March 10, 2024 · 132 words · Thiago Perrotta

chrome-fresh: start a fresh instance of Google Chrome

I used to have the following handy script to launch a new (fresh!) instance of Google Chrome when working on Chrome for Testing in the Browser Automation team at Google: ...

March 10, 2024 · 140 words · Thiago Perrotta

Set terminal language to English

I changed my macOS system language to German, with the intent of getting more exposure to it. One negative side effect is that most binaries I execute with my shell (for example: git) are now outputting German text as well1. In hindsight, this should have been expected. ...

February 22, 2024 · 145 words · Thiago Perrotta

Force captive portal to open

Sometimes, when connecting to public Wi-Fi hotposts, especially in airports and coffee shops, the captive portal gateway required to get internet access will simply not show up. ...

February 22, 2024 · 64 words · Thiago Perrotta

Organic Maps: off-line maps

https://organicmaps.app/: Organic Maps is a free Android & iOS offline maps app for travelers, tourists, hikers, drivers and cyclists based on OpenStreetMap data created by the community. It is a privacy-focused, open-source fork of […] Organic Maps is one of the few applications nowadays that supports 100% of features without an active Internet connection. Install Organic Maps, download maps, throw away your SIM card, and go for a weeklong trip on a single battery charge without any byte sent to the network. Positive impressions: works great on iOS (didn’t test on Android yet) a great companion for cycling within the city more fun and more lightweight than Google Maps low impact on device battery life extremely privacy friendly (no ads, no tracking, no push notifications, etc) extremely mobile data friendly (works fully offline) open-source, and without any IAP works out-of-the-box, no sign up necessary Negative impressions: do not use it for public transit, it is terrible as it does not have real-time data integration

February 21, 2024 · 164 words · Thiago Perrotta

New domain

I got a new domain! This blog is now available on https://www.perrotta.dev/. There’s also a redirect to it from https://blog.perrotta.dev/. ...

February 4, 2024 · 96 words · Thiago Perrotta