Following the good advice from my friend Antoine Caron, I took some time this week to optimize my site.
The site you’re reading is a static site built with Hugo.
I had already done some work on compressing the various resources, mainly images, but I stopped there.
In this article, I detail how I optimized the build of this site to minimize loading times, and how I improved its security by following the best practices promoted by MDN.
I’ve been using the Pop!_OS Linux distribution for almost five years.
I’ve always liked their approach to auto-tiling, which is a feature that is missing from GNOME (although plugins exist).
After a few months spent on Manjaro Linux, and a few struggles related to hazardous version upgrades that broke my system several times, and with the recent release of Pop!_OS 24.04, it was time for me to return to this distribution to get an opinion on the highly expected desktop environment: COSMIC.
HTTP, for Hypertext Transfer Protocol, is the main protocol for Internet exchanges. It’s used by the browser you’re using to read this article, as well as by other applications.
It’s based on an exchange of requests and responses, between a client and a server, in text format. The advantage of text format is that it’s easy to implement in any programming language.
The HTTP protocol is specified in RFC 2616, the very first version of which dates back to 1990.
This short articles shows how to setup a global .gitignore file, to exclude files or directories for all your git repositories.
This is very useful for editor files or .env file, and prevents accidental commits.
I also added common directories for Java and NodeJS related developments (target/ and node_modules), and IntelliJ IDEA files (*.iml and .idea/)
Thus said, you should also always setup a .gitignore file in your projets, as the global file only work for you, and will not be shared with the code of your project.