mdawar.dev

A blog about programming, Web development, Open Source, Linux and DevOps.

Latest Posts

All Posts

Ansible with Terraform Inventory

(Updated: )

Using Ansible with dynamic inventory from Terraform resources.

Install Go on Linux

(Updated: )

Install Go manually on Linux.

Install Multiple Terraform Versions Using tfenv

Install and manage multiple Terraform versions using tfenv.

Latest Code Snippets

All Snippets

Git Discard File Changes

(Updated: )

Discard uncommitted changes for a file or directory.

Combine Images Into One

Combine multiple images vertically or horizontally into one image on Linux using the command line.

Astro Dynamic HTML Tag

Using a dynamic HTML tag in an Astro component.

Open Source Projects

GitHub

NATS Dashboard

Web dashboard for monitoring NATS servers.

pubsub

A simple and generic publish/subscribe package for Go.

syncmap

A simple and generic Go map that is safe for concurrent use.

xmap

A generic and thread-safe Go map with automatic key expiration.

Memoize Utils

Memoize function and TypeScript decorator for sync and async functions.

RQ Exporter

Prometheus metrics exporter for Python RQ (Redis Queue).