atlas des actus
    
Emmanuel Gautier
21  janvier     15h26
How to solve Docker compose .labels array items must be unique?
Emmanuel Gautier    This blog post provides a clear understanding and a solution for the docker compose error array items must be unique .
12  octobre     21h39
Installing Production-Only Dependencies with Dev Dependency Hooks in Node.js
Emmanuel Gautier    There might be situations where you want to install production dependencies only but you have npm scripts using a dev dependency command. For example it can be the case if you use the husky package. In this blog post, we’ll look how to install production only dependencies with hooks using dev...
17  septembre     13h25
Collapsible sections in Markdown
Emmanuel Gautier    Collapsible sections can help keep markdown organized and user friendly. In this quick guide, we’ll show how to create collapsible sections in a markdown.
12  septembre     20h58
How to construct URI with URI Template
Emmanuel Gautier    We often use predefined variables and template string to assemble URIs but there is a better approach called URI Template. This approach enables us to create URIs on the fly by replacing placeholders with actual data, making our code more flexible and maintainable.
16  août     16h39
Inject HTML content into an Astro component
Emmanuel Gautier    While working on a project within the Astro framework, I encountered a scenario where I needed to fill HTML content within a script tag.
22  mai     20h00
Read Package.json file from Node.JS module
Emmanuel Gautier    When you write a program you may want to read the content of the package.json file like what is the current package version. Here is one very simple way to read the content of this file.
    19h49
Import a JSON file content from a Node.JS module
Emmanuel Gautier    With the new Node.JS module it is possible to read the content of a JSON file with the import function but there is the right way to do it.
18  mai     13h46
Configure yarn version for Cloudflare page build
Emmanuel Gautier    With the new Cloudflare page build system, yarn package manager version can be more than version . But we can keep yarn version configuring the build system with a package.json property.
03  avril     23h23
How to pass a String Map as a Command-Line argument in Go
Emmanuel Gautier    When building command line interface CLI applications in Go, you may need to pass a string map as a command line argument. There are different ways to accomplish this, but flag module provides an easy way.
30  mars     21h10
Introducing new blog on OAuth, OpenID Connect, and IAM Solutions
Emmanuel Gautier    I’m excited to announce the launch of a new blog named CerberAuth, where I’ll be exploring the world of OAuth, OpenID Connect, and IAM solutions for modern security.
    13h43
Formatting Big Numbers in JavaScript
Emmanuel Gautier    When working with large numerical values in JavaScript, it can be challenging to display them in a way that’s easy to read and understand. In this blog post, we’ll explore techniques for formatting big numbers in JavaScript with built in methods.
    12h20
Changing Document Field Types with MongoDB
Emmanuel Gautier    This article explains how to convert document field types during query execution and how to use MongoDB’s built in aggregation operators convert. The article also provides practical examples and code snippets to demonstrate how to change field types in MongoDB.
28  février     23h23
Solve React error Property autocomplete does not exist on type
Emmanuel Gautier    Sometimes, it happens that an easy to solve issue takes you more time than it should. The Typescript React error Property autocomplete does not exist on type is maybe one of them.
04  février     15h17
How to use Chakra UI Button and Link components with NextJS Link
Emmanuel Gautier    There is some glue to add to make Chakra UI and NextJS work together. The Chakra UI components do not generate the a tag by default for a link. Let’s see how to use the Chakra button to generate links between pages.
29  janvier     23h43
How to solve Envoy Jwks remote fetch is failed error response
Emmanuel Gautier    A way to authenticate requests to an API is to use a Bearer JWT. If you want to make Envoy validate tokens, sometimes you may have the error Jwks remote fetch is failed . There are at least three reasons this error appears, so let’s check them to fix this issue.
06  décembre     00h00
Publish on Cloudflare Pages with unsupported language versions
Emmanuel Gautier    It may happen that a version of Node is not supported yet by Cloudflare and will remain not supported for some weeks. That can happen even if it is a Long Term Support LTS version. Here how to build even if cloudflare does not support the version.
19  novembre     00h00
How to fix DNS Internal Resolution inside the Nginx docker container
Emmanuel Gautier    Sometimes, errors with Docker and some containers can become cryptic when it is about networking. Today, it was Nginx that was not able to reach another container.
30  octobre     00h00
Extends Express session SessionData type
Emmanuel Gautier    Express Session allows to store a lot of different data. There is a Typescript type named SessionData which allow to know what contains a session but not the data you will defined after without defining them.
    00h00
Keep the same Node.js version between local environment and Github Actions
Emmanuel Gautier    It can be complicated to have the same Node version between the local environment and the CI CD. The latest Node.js version or the latest lts is released recently and if you want to upgrade to the Node version, usually you can forget to configure one environment.
29  juin     21h49
Publish multiple projects on a Monorepo on Cloudflare Pages
Emmanuel Gautier    All the tooling provided by service providers is great and makes the developer’s life much easier. Usually, those providers connect one git repository to an application. It works fine but it is not so easy when you work on a monorepo or if you want to make multiple deployments for more than one...
16  mai     21h33
Convert a JavaScript object to queryparams string
Emmanuel Gautier    This post describes two very simple ways to convert a JavaScript object to a querystring both in a browser environment or server environment.
13  mars     14h28
Succeeding understanding tech as a non-technical person
Emmanuel Gautier    It exists a lot of technical terms. If you want to better understand the product team, you are at the right place.
26  février     13h46
MySQL Docker Image for Mac ARM M1
Emmanuel Gautier    MySQL official Docker image is not available for Apple ARM based M and M CPUs. But there is some options to use mysql image on Mac and more globally on ARMv microarchitecture.
    13h46
MySQL Docker Image pour les Mac ARM M1
Emmanuel Gautier    Le problème avec les Apple M et les Apple M est que de nombreux logiciels ne sont encore pas compatible avec la microarchitecture ARMv comme les images officielles Docker pour MySQL par exemple.
27  novembre     00h00
ESLint Global Variables
Emmanuel Gautier    When we use some global variables defined elsewhere, eslint throws an error saying the variable is not defined. Here is how to configure eslint to ignore those.
    00h00
Extend Window type with Typescript
Emmanuel Gautier    Some of the object properties or functions are not available in the Typescript Window type. Let see a way to extend the Window type with the missing properties.
    00h00
Etendre le type Window avec Typescript
Emmanuel Gautier    Certaine des propriétés et fonctions du type Window avec Typescript, ne sont pas disponibles. Ce post a pour but d’expliquer comme étendre le type Window avec les propriétés manquantes.
11  novembre     00h00
How to deal with Docker Hub rate limit on AWS
Emmanuel Gautier    Since , DockerHub has been limited to only container image pull requests per six hours. This article will help you to deal with this limitation on AWS.
17  octobre     00h00
Gatsby Netlify CMS TailwindCSS Starter
Emmanuel Gautier    Just created a new starter coming from some of my website development and powered with Gatsby.
    00h00
Starter Gatsby Netlify CMS TailwindCSS
Emmanuel Gautier    Avec le nombre de sites web generés avec les mêmes outils, j’essaie au maximum de mutualiser l’effort de maintenance de la stack technique commune. Suivant ce principe, je viens de créer un starter qui vient du développement de mes autres sites.
18  août     00h00
How to enable Python type checking in VSCode
Emmanuel Gautier    Python now has support for type hints. In this article, we will see how to enable better IntelliSense and type checking analysis in VSCode.
    00h00
Comment activer la vérification de typage pour Python dans VSCode
Emmanuel Gautier    Python supporte désormais le type hints https: docs.python.org library typing.html . Dans cet article, nous allons voir comment avoir de l’IntelliSense pour le typage ainsi qu’avoir les erreurs de typage sur Visual Studio Code.
02  mai     00h00
How to render a React element to an HTML string?
Emmanuel Gautier    What happens when you want to render a React string to HTML For some reasons, you may want to have the generated HTML string from your React component instead of a mounted component and render it on the page.
    00h00
Comment récupérer la chaine de charactères HTML d’un composant React
Emmanuel Gautier    Dans plusieurs cas, vous pourriez avoir besoin d’avoir la chaine de charactère représentant le HTML généré plutôt que le composant React. Le moyen le plus simple est d’utiliser la fonction renderToString du package react dom.
14  mars     00h00
How to manage Internationalization with NextJS SSG
Emmanuel Gautier    Staticaly generating a website with the NextJS framework in different languages is not so obvious.
    00h00
Comment gérer l’internationalisation avec NextJS SSG
Emmanuel Gautier    Générer statiquement un site avec le framework NextJS pour différentes langues n’est pas si simple.
28  février     00h00
How to render emojis with JavaScript
Emmanuel Gautier    For the content of your posts, emojis add some fun to your pages. This short post explains how to make that possible in JavaScript.
    00h00
Comment render les emojis en JavaScript
Emmanuel Gautier    Pour le contenu de vos articles, les emojis ajoutent un peu de fun à vos pages. Ce court article explique comment utiliser des emojis en JavaScript.
06  novembre     00h00
Git case sensitive
Emmanuel Gautier    Today, I was wondering to know why on the CI pipeline, tests were failing due to missing files but those files are on the file system locally and push on the GIT repository. This issue came from files renamed updating from lowercase to uppercase.
    00h00
Git et la sensibilité à la casse
Emmanuel Gautier    Aujourd’hui je ne comprenais pas pourquoi, sur la CI, les tests ne passaient pas ne trouvant pas certains fichiers alors que ceux ci étaient bien présents sur le système de fichiers et envoyés sur GIT. La subtibilité venait d’un renommage de fichiers qui modifiait la casse de ceux ci.
27  avril     00h00
MySQL Users & Permissions
Emmanuel Gautier    Database administration includes users and permissions management. Most of the time, a UI like, MySQL Workbench or PHPMyAdmin, is available to perform users management actions. Here, we will see how to do some MySQL users and permissions management with SQL queries.
    00h00
Utilisateurs et privilèges sous MySQL
Emmanuel Gautier    L’administration d’une base de données inclue la gestion des utilisateurs et de leurs privilèges. La plupart du temps, une interface graphique, telle que MySQL Workbench ou PHPMyAdmin, est disponible pour réaliser de façon simple les actions liées à cette gestion. Dans ce tutoriel, nous allons...
19  avril     00h00
Install and configure a DNS server with Bind9 on Linux
Emmanuel Gautier    A service DNS Domain Name Service allows domain name resolution to an IP Address and other resources. This service is useful for example for browsing internet websites and not have to know IPs addresses for these websites.
    00h00
Installer et configurer un serveur DNS avec Bind9 sous Linux
Emmanuel Gautier    Un service DNS Domain Name Service sert à la résolution de noms de domaine en une adresse IP ou une autre ressource. Ce service est utile notamment pour naviguer sur internet pour ne pas avoir à connaître les IPs des sites web.
06  avril     00h00
Partage de dossiers avec VMWare sous Ubuntu et Debian
Emmanuel Gautier    VMWare propose de partager des dossiers entre le système hôte et la machine virtualisée. Ces dossiers permettent de partager des données entre les deux machines. Le principe est que la machine virtualisée peut accéder aux dossiers choisis de la même manière que le système hôte et en changer les...
23  mars     00h00
Installer les VMWare Tools sous Ubuntu et Debian
Emmanuel Gautier    Les VMWare Tools sont des outils développés par VMWare afin d’améliorer l’intégration de la machine virtuelle avec l’hôte. Ces outils, disponibles pour différents systèmes d’exploitation, apportent le support de différentes fonctionnalités tel que le copié collé, les dossiers partagés, l’accél...
08  mars     00h00
Supprimer l’entête server de Nginx
Emmanuel Gautier    L’installation de Nginx par défaut laisse son identité sur l’entête des requêtes HTTP au moyen de l’entête Server. Pour des raisons de sécurités, il est important de laisser transparaître le moins d’informations possible au potentiel attaquant. Nous allons donc voir comment supprimer les...
21  février     00h00
Mettre en place memcached sous Ubuntu
Emmanuel Gautier    Memcached est un système de cache permettant de stocker des données directement en mémoire. Ce système de cache permet aux sites web et aux bases de données, entre autres, d’accroître leur vitesse. Le principe de ce gain de vitesse est d’échanger des temps d’accès disque assez lents par des temps d...
15  février     00h00
Creer un serveur Linux, Nginx, MySQL, PHP
Emmanuel Gautier    Apache n’est pas le seul serveur HTTP existant pour desservir des applications écrites en PHP, de nombreux autre existent dont Nginx. Dans le cas de l’utilisation de Nginx pour desservir des applications PHP on appellera cela une pile LEMP pour Linux, Nginx, Mysql et PHP.
02  décembre     00h00
Importante mise à jour de Composer
Emmanuel Gautier    Il semblerait que Noël soit fêté avant l’heure au sein de la communauté PHP. Le gestionnaire de paquets PHP, Composer, a reçu une importante amélioration de performance aujourd’hui.