mdawar.dev

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

Snippets

All Tags

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.

Remove Extension from File Name in JavaScript

Remove the file extension from a filename string using RegExp.

Git Tag

Create, list or delete Git tags.