set -euf pipefail
tail -n 1
cat 1 2 3
cat 1 2 | cat - 3
echo; echo "Done!"
tail -c 1 file
tail -c 1 <file
Hm, this reminds me of my git repository for ADOM save files that I use to track my character’s story. I’ve long used a Sublime Text file as a log but have been worried it could get lost under certain catastrophic conditions. It looks like thoughts may allow me to ship off the logs to an offsite location. I’m still trying to get into the habits of using the Apple Notes app and finding it difficult for some reason.
I’ve actually been thinking about something that could be between Twitter (which can be intimidating in how public it is) and a blog post (which can also be intimidating in how much effort needs to go into it to be “high quality”). thoughts seems to fill this space well! Being integrated with Git is also nice; enabling GH Pages on my thoughts repo automatically adds it to my GH Pages site.
Are PRs welcome? I have a little tweak to the random file generation that I think would make it better.
This is so great! I always feel like putting my thoughts out but posting it on twitter or any social media always gives me some bad feeling about what if this hurts someone, what if someone judges me etc. Putting notes in ~/todo.txt l does not always suffice and I can’t check it with my phone. I am planning to modify this a bit to directly write things to my wiki. I really like the minimalist approach. Thanks for sharing this :)