September of 2021
Projects⚑
-
New: Introduce the pomodoro command line seed project.
Command line to help with the pomodoro workflow, besides the basic stuff it will interact with the task manager, activitywatch and the notifications system.
-
New: Introduce the ordered list of digital gardens project.
Use best-of-lists to create an awesome list of digital gardens.
-
Correction: Clean up deprecated projects.
Coding⚑
Python⚑
-
New: Add tryceratops to interesting linters to try.
tryceratops is a linter of exceptions.
Python Snippets⚑
-
New: Document when to use
isinstance
and when to usetype
.isinstance
takes into account inheritance, whiletype
doesn't. So if you want to make sure you're dealing with a specific class, and not any of it's parents or subclasses, usetype(obj) == class
.
DevOps⚑
Infrastructure as Code⚑
Helmfile⚑
-
Correction: Improve the helmfile chart update process.
Updating charts with
helmfile
is easy as long as you don't use environments, you runhelmfile deps
, thenhelmfile diff
and finallyhelmfile apply
. The tricky business comes when you want to use environments to reuse your helmfile code and don't repeat yourself. I've updated the process to include this case. -
New: Document the directory and files structure for multi-environment projects.
- New: Document how to use helmfile environments to follow DRY.
-
New: Document how to avoiding code repetition.
Besides environments,
helmfile
gives other useful tricks to prevent the illness of code repetition, such as using release templates, or layering the state. -
New: Document how to manage dependencies between the charts, to be able to use concurrency.
Helmfile support concurrency with the option
--concurrency=N
so we can take advantage of it and improve our deployment speed, but to ensure it works as expected we have to define the dependencies among charts. For example, if an application needs a database, it has to be deployed before hand.
Operative Systems⚑
Linux⚑
Linux Snippets⚑
-
New: Document how to bypass client SSL certificate with a cli tool.
Websites that require clients to authorize with an TLS certificate are difficult to interact with through command line tools that don't support this feature.
To solve it, we can use a transparent proxy that does the exchange for us.
Jellyfin⚑
-
Correction: Fix the stuck at login page error.
If you use jfa-go for the invites, you may need to regenerate all the user profiles, so that the problem is not introduced again.