Snippets

Odoo Docker Compose

A docker-compose file for the Odoo Open Source solution with the Odoo official Docker image and Postgres database.

Odoo Docker Compose

Metabase Docker Compose

A docker-compose file for the Metabase Open Source solution with the Metabase official Docker image and Postgres database.

Metabase Docker Compose

Git command for deleting local and remote tag

Git tags are used to store a specific version of a file and more globally tag specific commits in the history of a repository. For some reason, you may want to remove this tag from your local repository and from the remote repository.

Git command for deleting local and remote tag

Github Action for mirroring repositories

In some cases, it is useful to mirror a repository on GitHub. Unfortunately, Github does not provide an automatic mirroring feature so far. The only way to make mirroring is to do it yourself manually or automate it. Thanks to Github Actions, we will be able to mirror a repository on GitHub automatically.

Github Action for mirroring repositories

Create layout with HandlebarsJS

Layout template is a good practice to not repeat ourselves (DRY). Handlebars templates engine does not provide a layout feature out of the box but it still is possible to create a layout. principle. Handlebars template engine, there is no out-of-the-box layout feature but it is possible to create a layout.

Create layout with HandlebarsJS

Prestashop Docker Compose

A docker-compose file for the Prestashop Open Source solution with the Prestashop official Docker image and MySQL database.

Prestashop Docker Compose

Make only part of Typescript properties required

Making all properties of a type or an interface required is easy with the `Required` TypeScript utility. Let's make only part of the optional properties required.

Make only part of Typescript properties required

NestJS Project Dockerfile

A Dockerfile to build production-ready NestJS app docker image.

NestJS Project Dockerfile

Typescript Project Dockerfile

A Dockerfile to build production-ready Typescript docker image.

Typescript Project Dockerfile

Renommer l'extension de fichiers avec bash sur Mac et Linux

Un script bash permettant de change l'extension de fichiers d'un dossier de manière récursif.

Renommer l'extension de fichiers avec bash sur Mac et Linux

Gogs Docker Compose

Gogs git repositories self-hosting solution docker-compose file.

Gogs Docker Compose