Hacker News with Generative AI: Bash

How to track website analytics using only Nginx and pure bash (sanixdk.xyz)
Hi there, what's up ?
Bash Completion (2023) (erikarow.land)
This week, I’ve been exploring how tab completion works in Bash.
Today I learned that bash has hashmaps (2024) (xeiaso.net)
Hashmaps (associative arrays) are a great way to store a bag of key-value data. At work I was writing something that needed me to spawn a bunch of GPU instances, GPU availability is spread out by region and GPU type. I wanted to store a mapping of GPU kind to region name and for some reason I thought it would be a good idea to do it in bash.
A Raycaster in Bash (github.com/izabera)
My PhD advisor rewrote himself in bash (2010) (might.net)
The hardest part of advising Ph.D. students is teaching them how to write.
Bocker: Docker implemented in around 100 lines of Bash (2015) (github.com/p8952)
Docker implemented in around 100 lines of bash.
TIL: Some surprising code execution sources in bash (yossarian.net)
I ran across two surprising sources of code execution in bash (and probably other shells) recently.
TIL: Some surprising code execution sources in bash (yossarian.net)
I ran across two surprising sources of code execution in bash (and probably other shells) recently.
Useful built-in macOS command-line utilities (weiyen.net)
Sometimes when I'm bored, I like to look at the list of macOS Bash commands. Here's some commands that I found interesting:
PID 1 Bash script for Docker containers explained line by line (sirikon.me)
You wake up one morning, feeling bit spicy, daring to break rules, but you aren't the bravest one in town, so you choose something easy: "Let's break that rule about only running one process in a container".
A bash script to move untracked files out of a checked-out Git repository (github.com/blackbit42)
This is a simple bash script that helps you to quickly, temporarily move untracked files out of a checked-out git repository.
A bullet hell game written in bash (twitter.com)
LLM_transcribe_recording: Bash Helper Using Mlx_whisper (github.com)
A bash wrapper around python's mlx_whisper to leverage the GPU on a mac for transcription
Pong.bash (0x0.st)
Bashfuck: Write any bash with only the punctuation characters (github.com/meithecatte)
Metaprogramming in Bash (younglogic.com)
Show HN: notesbash – A notes management TUI written in bash (codeberg.org)
Show HN: Autocomplete.sh <Tab> in the shell to trigger LLM based bash_complete (autocomplete.sh)
Show HN: Ell – A command-line interface for LLMs written in Bash (github.com/simonmysun)
Zevweiss/booze: FUSE bindings for bash (github.com/zevweiss)
ps aux written in bash without forking (github.com/izabera)
Ps aux written in bash without ever forking (github.com/izabera)
Bashsimplecurses: Simple curses library made in bash to draw terminal interfaces (github.com/metal3d)
Bash-Oneliners: A collection of terminal tricks for Linux (github.com/onceupon)
Bash's $PS0 (2016) (dnsalias.org)
Show HN: Bash Dungeon – An educational dungeon crawler in the shell (github.com/wolandark)
Show HN: Jb / json.bash – Command-line tool (and bash library) that creates JSON (github.com/h4l)
Advanced Shell Scripting Techniques: Automating Complex Tasks with Bash (omid.dev)
New Programming Langauge Makes Bash Scripting Easier (itsfoss.com)
Cloning Windows Recall in 30 Lines of Bash (jackson.dev)