Skip to content

Instantly share code, notes, and snippets.

View ebkalderon's full-sized avatar
⚔️
Code is compiling

Eyal Kalderon ebkalderon

⚔️
Code is compiling
View GitHub Profile

The Devil's Dictionary of Vibe Coding

Inspired by Ambrose Bierce

Vibe Coding (n.) The noble art of describing what you vaguely want in natural language and hoping the silicon oracle doesn’t hallucinate something that will get you fired. Once known as “programming.” Now a sophisticated form of cargo-culting with better autocomplete.

Agent (n.) A fancy name for a loop that keeps calling itself until the credit card screams. Marketed as autonomous intelligence. In practice, an overconfident intern that never sleeps and occasionally books your flights to the wrong continent.

@rafaelbiriba
rafaelbiriba / tree-report.sh
Last active September 22, 2024 20:20
Generate tree report file on NAS and send it by email (optional)
#!/bin/bash
# Creates DISK0.tree, DISK1.tree, DISKx.tree inside each disk, with the output of tree command.
# After generating the report, it send via email using mail.
# To add more disks, just add DISK[x]=/full/path to the disk. Just make sure that the array index are sequencial.
# Why this?
# With the reports from tree, in case of disk failure, you will know which file got lost and you can recover them, downloading or via backups.
# GIST: https://gist.github.com/rafaelbiriba/0ee7ca2baec1ef80a878c825295f09e1
EMAIL_ADDRESS="" # EMAIL_ADDRESS="[email protected]" or leave it blank "" to disable email
DISKS[0]="/srv/dev-disk-by-id-ata-WDC_WD80EMAZ-00WJTA0_ABC123-part1"