Skip to content

Instantly share code, notes, and snippets.

@IsaacClank
IsaacClank / setup-development-environment.sh
Created April 30, 2026 08:30
Dev environment setup on Arch Linux.
#!/bin/bash
pacman -Syu --noconfirm
pacman -S --noconfirm \
fish \
git github-cli \
zoxide eza fzf ripgrep fd \
neovim \
lua-language-server typescript-language-server vscode-json-languageserver \
tree-sitter-grammars \
@IsaacClank
IsaacClank / howto-iterate-over-JSON-array-with-jq.md
Created February 24, 2023 15:00
How to iterate over JSON array in Bash using jq

Bash scripting - How to iterate over a JSON array in Bash using jq

1. The premise

Say that we need to process this JSON file data.json:

[
  {
 "name": "Isaac",
@IsaacClank
IsaacClank / howto-parse-bash-arguments.md
Last active February 24, 2023 13:56
Bash - Parsing optional and positional arguments

Bash scripting - How to parse optional and positional arguments

1. Parsing Positional arguments

#!/usr/bin/bash

ARG1="$1"
ARG2="$2"