Golang Cobra commands documentation script
This snippet shows how to generate documentation for a Cobra package commands quickly, making it easier for both you and your users to find the information you need.
Creating PDFs from multiple images on Linux
Today, I want to share a nifty little trick that I recently discovered and help me a lot – how to merge a bunch of images into a single PDF file using the Linux command line.
CORS Configuration with Envoy
This snippet share an Envoy configuration example for adding CORS headers.
How to Configure Nginx with OAuthkeeper for API Proxy Authentication
Learn how to secure your API gateway by configuring Nginx with OAuthkeeper for API proxy authentication. This blog post will show you configure Nginx and OAuthkeeper to ensure that only authenticated users or applications can access your APIs.
React Component for Outbound Links
In this snippet, I will show you how to create a custom React component for outbound links that includes specific attributes for SEO concerns, such as rel="noopener noreferrer" and target="_blank".
Removing Exif Data from an Image on Linux using exiftool
you can use the exiftool command line tool to remove Exif data from an image on Linux. Here's how you can use it.
Ory OAthKeeper with Envoy Proxy, Prometheus and Jaeger Docker Compose
Ory OAthKeeper is a great Open Source Identity and Access Proxy (IAP). It can be deployed as a reverse proxy or as a control decision engine deployed with a reverse proxy. Most of the time, services are already deployed with a proxy like an Nginx or an Envoy. If you want to deploy for production, you may want to have metrics and distributed tracing as well.
Odoo Docker Compose
A docker-compose file for the Odoo Open Source solution with the Odoo official Docker image and Postgres database.
Metabase Docker Compose
A docker-compose file for the Metabase Open Source solution with the Metabase official Docker image and Postgres database.
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.
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.
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.
Prestashop Docker Compose
A docker-compose file for the Prestashop Open Source solution with the Prestashop official Docker image and MySQL database.
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.
NestJS Project Dockerfile
A Dockerfile to build production-ready NestJS app docker image.
Node Typescript Project Dockerfile
A Dockerfile to build production-ready Node Typescript docker image.
Gogs Docker Compose
Gogs git repositories self-hosting solution docker-compose file.
Rename the extension of multiple files with bash script on Mac and Linux
A bash script snippet to rename recursively multiples files extension from the current directory.