Lorenzo's Blog About me

Latest blog posts about Makefile

How to prevent your Mac from sleeping in a Makefile

On: 2022-08-12 - Reading Time: 1 Minutes

Often I find myself using third-party software like Caffeine or Amphetamine to keep my Mac awake while running some specific commands. Sometimes it is because I am running backups. Sometimes it is because I am compiling something. I found out that macOS comes pre-installed with caffeinete command… this post is about how to integrate it in your Makefile so that running any command there will prevent your Mac from sleeping!

Continue reading...

My Hugo blog now is fast and light

On: 2022-01-31 - Reading Time: 5 Minutes

This blog post is about what I have changed in my blog and website to make it faster. Recently, I have traveled with a bad airplane company that delayed my luggage. In the hope of getting my belongings back with me, I tried to use their website and support pages, and I was frustrated every time. The primary source of frustration was the website speed. So I decided to spend most of the time without my luggage (around five days), trying to use best practices to improve my website and blog, making my Hugo blog faster and way lighter than before.

Continue reading...

Using a GitLab to build a Debian Repository

On: 2020-08-02 - Reading Time: 4 Minutes

I have the feeling that a blog post about distributing packages is needed. 😮 In a word filled with Containers, PaaS, and SaaS, it seems weird to talk about how we can automate the creation of Debian packages and APT repositories. Nonetheless, even if this appears to be a forgotten step for operations, some projects are not distributed over Debian packages, 👷‍♂️ and I need them for my Raspberry Pi! 😜

Continue reading...