Skip to content

Instantly share code, notes, and snippets.

@tnn4
tnn4 / haiku-cherry-blossom.md
Created August 10, 2025 19:19
cherry blossom haiku

cherry blossoms bloom /

a week flies by in a flash /

cherry blossoms wilt

@tnn4
tnn4 / want-vs-should.md
Last active June 25, 2025 16:36
What You Want vs What You Should

How do we distinguish between what we want and what we 'should' do?

But how do you know what you should do?

That depends on your overall goals.

But your goals are going to change on your current circumstances.

So you need to work with invariants. What are your values? Your values don't change easily because you truly believe in them.

@tnn4
tnn4 / compile-love.sh
Last active May 27, 2025 22:29
love compilation fedora
git clone https://github.com/love2d/love.git
cd love
# build essentials
cmake make automake gcc gcc-c++ kernel-devel
# missing sdl3
sudo dnf install SDL3-devel
# missing freetype
sudo dnf install freetype-devel
@tnn4
tnn4 / mk-symlinks.sh
Last active May 27, 2025 21:44
remove or make symlink script
@tnn4
tnn4 / README.md
Last active May 7, 2025 00:39
circle class example in love

Requires love 11.5.

Put files in a directory then run love path/to/directory

dir
  main.lua
  classic.lua
@tnn4
tnn4 / readme.md
Last active April 29, 2025 21:46
making and removing symlinks
@tnn4
tnn4 / README.md
Created April 29, 2025 20:45
Aseprite missing libraries

Debian/Ubuntu

aseprite: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory

sudo apt-get install libc++-dev

Fedora

sudo dnf install libcxx-devel

@tnn4
tnn4 / dl-dppt-ost.sh
Created April 15, 2025 23:44
download pokemon dppt ost
#!/bin/bash
link="https://www.youtube.com/playlist?list=PLrFYIUo251sv6Whn25BE-gQzKRK0zIe1O"
python3 yt-dlp -x --audio-format mp3 -o ./dppt-ost/%(title)s-[%(id)s].%(ext)s ${link}