Blog by Corentin


Posts

In this post, I will show you how to make a SAML SSO authentication for a NodeJS CLI application. This is useful when you want to authenticate users in a CLI application using a SAML SSO provider. Introduction SAML (Security Assertion Markup Language) is an XML-based standard for exchanging authentication and authorization data between security domains.

L’histoire dĂ©bute il y a 7 ans, et comme toutes les bonnes aventures elle commence sur… les toilettes đźš˝. Je rĂ©flĂ©chissais Ă  mon avenir et au nouveau projet que je pourrais bien monter. J’ai toujours voulu construire des trucs cool et pourquoi pas gagner ma croute avec ça. Mon truc du moment c’Ă©tait les setups, j’Ă©tais encore Ă©tudiant mais monter des ordis et amĂ©nager mon bureau j’ai toujours trouvĂ© ça hyper classe.

As you know this blog is built with Hugo . I’m looking at ways to improve the performance of the website and one of the critical point is to serve the minimal amount of data to the user. In this article I will show you how to optimize the images rendering with Hugo.

I recently started to collect vinyls and I wanted to display my collection on my website. I found that Discogs, a service that allows to catalog your vinyls, has a public API that can be used to retrieve the data of a user’s collection. I made use of the Hugo data templates to store the vinyl list and their details and dynamically generated the collection page.

Few years ago I made a simple tutorial to explain how to build a dark mode theme switcher in CSS . Today I want to update it and show you how to do it in SCSS and how to use the default system theme. Update 23/12/2023: After many researches I updated this tutorial to use only pure CSS (and SCSS) to do the switch between the themes.

I made this blog back in 2012, and at this time I discovered an awesome framework called Bolt CMS. It was created by a small web agency based in the Netherlands where I had the chance to do my internship. The CMS is built out of Symfony and uses Twig as a templating engine.

I use Cloudflare Warp (and the warp-cli on Linux) as my main VPN to access a bunch of resources. I usually never turn it off but I recently started to play with IOT devices. And guess what most of them uses protocols that rely on multicast packets for discovering devices on your local network, for instance SSDP and mDNS.

I know I’m really late to post about this but in December 2021 with my friends Eléonore & Cyril we decided to participate in a hackathon by Hashicorp. The goal was pretty simple, build something in the “holidays mood” with their products. And that’s what we did 🚀 Ultimately, we got selected to talk in their Conference “HashiTalks 2021” to talk about how we used Terraform to automate our house.

Comme chaque annĂ©e, (ou presque parce que maladie super Ă©nervĂ©e oblige) le SSTIC (pour Symposium sur la sĂ©curitĂ© des technologies de l’information et des communications (ouais c’est un peu long)) s’est dĂ©roulĂ© Ă  Rennes (le nouveau chef lieu de la cyber-sĂ©curitĂ© en France (enfin selon les Rennais (et pas Rennois comme disent certains))).

A few days ago I wanted to archive a blog I was running with some friends years ago that didn’t move since then. If in practice the task seems simple (extract content as static and host it somewhere), I struggled to find the right tools to do it. Hopefully, here is an article that will save you time doing the same thing :)

Setup an Ubuntu server may be done in multiple ways but I’d like to share with you the simple and quick steps I usually do when I get a raw machine in my hands. Setup the SSH connection Let’s start with the basics, you need to connect to your server instance.

Redactor is a WYSIWYG editor for the web, it has a lot of official plugins but you may want to make your own in order to support a particular feature. Lately, I made a plugin to be able to add colored code blocks (as you can see in this post for instance).