Some useful github actions

List of Github action https://github.com/googleapis/release-please https://github.com/ncipollo/release-action https://github.com/PaulHatch/semantic-version https://github.com/mathieudutour/github-tag-action https://github.com/slackapi/slack-github-action https://github.com/mshick/add-pr-comment https://github.com/xt0rted/slash-command-action Automatic Release name: Publish release on: push: branches: - "main" jobs: prepare-github-release: name: GitHub Release runs-on: ubuntu-latest outputs: version_tag: ${{ steps.calculate_tag_version.outputs.version_tag }} steps: - name: Checkout repository uses: actions/checkout@v4 with: fetch-depth: 0 - name: Manage semantic versioning uses: paulhatch/semantic-version@v5.

Vim Tips: Running Commands

Let’s explore a few different ways to run commands in our terminal from the comfort of neovim. Trust me, it’s cooler than it sounds! 😎 Here’s a list of commands that I use all the time (and you should too!). 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 # run a command :!

Docker Compose Env Var Adventures

Let’s dive into the world of Docker Compose and environment variables, where hilarity ensues and variables come alive (or do they?). We’ve all been there. Playing hide and seek with environment variables in Docker Compose. Let’s see how our dear friend MYVAR enjoys this grand game of Peekaboo!

Makefile

Makefile Some times you need a good starting point, here is mine: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 # variables PYVER := 3.

uv: Quickstart

How to quickstart with uv 1 2 3 4 curl -LsSf https://astral.sh/uv/install.sh | sh uv python install 3.10 3.11 3.12 uv venv --python 3.12.0 uv pip install -r requirements.txt References https://docs.astral.sh/uv/ https://mkennedy.codes/posts/python-docker-images-using-uv-s-new-python-features/

Markdown preview PDF friendly

How to print a PDF Edit the following files: ~/.local/share/nvim/lazy/markdown-preview.nvim/app/_static/markdown.css ~/.local/share/nvim/lazy/markdown-preview.nvim/app/_static/page.css add the following lines at the bottom: 1 2 3 4 5 6 7 8 9 10 11 12 13 @media print { #page-header { display: none; } .markdown-body { background-color: #fff; border: none; color: none; } main { background-color: #fff; } } Mermaid example

Reflexiones sobre el Eterno retorno

Conociendo al Eterno Retorno He estado pensando mucho en el ‘Eterno Retorno’ de Nietzsche. Este concepto es algo así como un faro que ilumina nuestro camino moral y nos ayuda a tomar decisiones conscientes. Además, también puede darnos una idea muy clara de quiénes somos y de si estamos a gusto con lo que vemos cuando nos miramos al espejo.