Uncategorized

  • Uncategorized

    Skipping a GitLab Pipeline: `[skip ci]` Works, `[skip_ci]` Doesn’t

    I just found out how to prevent a pipeline from starting when pushing to GitLab by using the commit message. That saves a lot of effort. It means I don’t have to rush to manually cancel the pipeline if I forget that a push triggers it. (An idempotent CI job shouldn’t have any issues with this, but during the development phase…) GitLab lets you push a commit without triggering a pipeline – as long as you spell the magic word correctly. ## The two accepted forms GitLab recognizes exactly two keywords in the commit message: Capitalization doesn’t matter, [Skip CI] or [CI SKIP]work just as well. **Anything else is plain…

  • Uncategorized

    Adding Colors to Text in Markdown

    Introduction Markdown is a lightweight markup language that keeps formatting simple and readable. However, one limitation many users encounter is the lack of native support for colored text. While pure Markdown doesn’t offer this feature, there’s an elegant solution: using LaTeX color commands through inline math notation. In this guide, we’ll explore how to add vibrant colors to your text while maintaining the simplicity and portability of Markdown syntax. The Solution: LaTeX with Markdown The most straightforward way to add colors to text in Markdown is by combining LaTeX’s \textcolor command with inline math delimiters. This works in most Markdown renderers that support LaTeX math notation. Basic Syntax This renders…

  • PowerShell,  Shell Scripting,  Uncategorized

    💡Powershell Tip – Search directories and subdirectories for files with specific content

    I’d like to share a small PowerShell script that scans all subdirectories for specific files (for example, *.yaml and *.yml) and searches them for a specific string (e.g., “ansible.builtin.template”). The result is returned with the location (name and path of the file, and line number of the search string in the file). What it does: Sometimes I want to save my results to a file and explore them further. To save the results to a CSV file, adapt the script as follows: