-
Simple Pendulum Simulation using Pyglet & PyMunk
The PyMunk library is a very interesting physics simulation engine! It’s perfect to simulate. It’s perfect to simulate rigid bodies and its interactions, like colisions, in a 2D environment.
-
Building Multi Platform Docker Images using GitHub Actions
Trying to setup a service using Docker in a Raspberry Pi, I’ve found myself dealing with astronomical build times (I stoped counting after 20 minutes), many times resulting in errors due to incompatibility or network issues.
This post presents a complete and automated solution for this problem, using GitHub Actions to automatically build multi platform images and pushing them to Docker Hub.
-
Beyond PEP 8 - Intelligible and "Pythonic" Code
Lately, I have discovered an amazing Youtube video. It’s PyCon 2015 presentation by Raymond Hettinger, titled “Beyond PEP 8 – Best practices for beautiful intelligible code”.
-
Configurando Servidor DNS e DHCP no Raspberry Pi (dnsmasq)
The DNSMasq is a service that combines DNS and DHCP in an elegant and easy to configure way. It’s focus is to consume as little memory resources and disk space as possible, therefore it’s highly recommended for simple networks with only a couple of hosts.
With those characteristics, it’s very common to see it being used on Linux distributions aimed at home routers, like the OpenWrt or DD-WRT. For the same reason, it’s also perfect to be run on a Raspberry Pi.
In this post I’ll run through and explain a simple configuration that I have used for my local network.