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.
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.
La temporada del Nadal 2022 ha passat. A nivell personal això marca una fita. I tot un nou món acaba i un altre està a punt de començar. Encara tancant alguns temes, vull aprofitar aquest moment de calma entre tempestes per reflexionar una mica de tot, el que ha passat i el que vindrà. Atenció, vomitada mental ahead.
Should be no surprise at this point that I like to work with wood. Actually, I love to make my own stuff and wood simply has a great value return for money and effort investment (oh please stop that!). As my GF and me like to play board games, I decided to build one of the first games I liked when I was a child, Othello, and have it done for Xmas.
I gave myself a Xmas present: a new case for my reMarkable 2. The original one handled some disgraces pretty well but it was not cool anymore to walk around with such a destroyed one. I found a nice one in Amazon and I am pretty happy with the result. Here I intend to do a quick review about it.
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.
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ó.
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é?
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.
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?