Blog de Notes

For the last months, I am making use of git tagging a lot, usually creating a tag and pushing it to the repo and rarely deleting it. This is a quick and dirty article stating my most used tagging commands for further reference.

Continue Reading...


When one starts to manage too many hosts, i.e. a number of Raspberry Pi machines, ssh-ing to each one and introducing the password every time is ugly for a lazy ass like me.

In this short article I'll explain how to set up the Key Authentication between hosts, initially from Mac to Linux, but works for mostly all.

Continue Reading...


New year, new flat, and new home infrastructure. With so many machines connected to the network, I want to try again a home DNS server so that I don't need to remember all the IPs in my LAN. That is my goal, and if it serves as a base for further browsing experience improvement, then welcome.

In this article I intend to setup a DNSMasq minimally for my network.

Continue Reading...


Seguint amb el primer article sobre les èines del programador Python, aquí parlo de cobrir el codi amb un estil definit mitjançant un autoformatter i un linter, assegurar la funcionalitat amb tests, i que aquestes comprobacions es passin automàticament en cada push a un Pull Request de GitHub. De fet, aquest és el setup que tenim al meu equip i ens garanteix uns mínims de coherència i qualitat al nostre codi.

Continue Reading...


L'altre dia li donava una volta al mòdul de Python que mantinc, amb les llibreries bàsiques que uso en els meus projectes personals. Tenia ganes d'aplicar les comprovacions que en el meu equip apliquem al nostre codi, com a pràctica i com a repàs personal, i ja de pas documentar-ho en una sèrie d'articles.

En aquest primer parlo de l'estructura bàsica d'un mòdul en Python i de les èines que hi utilitzo, Poetry i el Makefile, com a preparació de la segona part en la que parlaré d'autoformat, linter, tests i un xic d'automatització.

Continue Reading...


Cada cop que penso sota quina llicència publico un programa, se'm fa una muntanya i no em sé decidir. Port ja uns dies pensant que estaria bé fer un petit resum per trobar-ne les diferències i ajudar a triar entre el ventall que tenim, com a exercici per a mi mateix i ja de pas compartir-ho.

MIT, GNU, Apache... quina és la llicència que em convé?

Continue Reading...


At this point should not be anything new that I'm playing with my own Mastodon instance. It is meant to be focused on a village in the core of Catalunya, so the scope is so small that I'm alone there 🤪

This also brings me the opportunity to work towards some goals kinda freely: get as much related content as possible, as much automated as possible. So next direct step is: from whom can I get more content? And then, how? Once you answer the first, the second usually comes as a bot getting content from RSS feeds or other Mastodon or Twitter accounts. And because life is not fun otherwise, let's reinvent the wheel and do everything from scratch: a bot to get and publish content to Mastodon.

Continue Reading...


Not so long since I decided to try out installing my own Mastodon instance, a new version was rolled out. For what I could see in other instances where they were already playing with the RC, it brings some new features and security fixes, and well... why not?

Continue Reading...


In the previous article I explained all the way to get customized templates into your Remarkable 2. That is of a great use and our productivity really boosts, but our eyes also need some food. What if I tell you that the boring "starting", "rebooting", "powered off" and "sleeping" can also be customized? Cool right?

Here I will go through the process of customizing one of them as the example. I will assume that you went through the previous Remarkable 2 article so that we already have our Remarkable 2 as a host and it knows our computer as it has our authorisation keys.

Continue Reading...


This month is going to be my second year owning a Remarkable 2. Great device, I got convinced, became early adopter and since then it has been my companion in all meetings (which is kinda my daily life). Ask me if I'd recommend it to you, and I'd say that depends on how many notes do you take. It won't replace your tablet, but it will surely replace your notebook.

Just lately I started to look into the options for getting any kind of custom templates. I now tend to leave the sidebar open for quicker access to the drawing and navigation tools, and therefor my favourite Checklist template gets partly hidden below the buttons. Bad design, let's see if I can do anything here.

Continue Reading...