Journal

5 entries for Wednesday, February 7, 2024

In the physical world, we buy insurance to guard against adverse situations and contingencies.

In the digital world, we make backups or copies.

Djavan: a voz e o violão (1976)

Perfect fusing of the Brazilian language’s natural rhythm with samba’s flow: 4. Para-raio reminds me of the ‘perfect fit’ between words and percussion I hear in João Donato’s music; 9. Embola Bola (Cateretê) barely has words, almost pure voice percussion; 11. Magia feels like hip-hop; 12. Ventos do Norte like swing jazz.

Is there a better way to run a command N times in bash?

alfa=10
for bravo in $(seq $alfa); do
   echo "$bravo"
done

How do I get the Git commit count?

git rev-list --count master

How do you jump to the first commit in git?

git checkout `git rev-list --max-parents=0 HEAD | tail -n 1`