Posts

  • Use Liquid templating for static HTML inclusion

    You might not know this but this blog is built using Jekyll, a static site generator. Jekyll is a great tool for creating simple websites and blogs. It is powered by the Liquid templating syntax. It allows you to include dynamic content in your static HTML files. This is a very powerful feature and I was wondering if I could use it outside of Jekyll.

  • Cookie-based instance routing with Nginx

    I recently found myself in need of a way to serve slightly different instances of a web application depending on the user visiting the site. I wanted all of them to be served on the same address so that it would be as transparent as possible to the user. The solution I came up with was to use a URL parameter and a cookie to route the user to the correct instance.

  • Vim syntax highlighting for HTML embedded in JavaScript files

    I am currently working on a web project where I have been using Web Components. They are a great way to create customized html elements and limit code duplication. However, this means writing a lot of HTML code inside standard JavaScript files.

  • The Beast: The Singularity and mystical transhumanism

    The Beast is a film by Bertrand Bonello released in February 2024. It is a love tragedy in a sci-fi setting with mystical tendencies. The story takes place over three eras. At the beginning of the 20th century and in the contemporary, then futuristic, 21st century.

  • How do you start anything ?

    The fear of not knowing how to end something makes us postpone its beginning. To start something is to accept potential failure. It is accepting that a house could end up being only a single brick, or even collapse. Like this blog, this post or any project.