Skip to content

Instantly share code, notes, and snippets.

@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 / lotb.md
Last active April 26, 2025 17:47
The Lord of the Bling

The Lord of the Bling

Did you hear of the story of the midget who brought the one bling to Mount Boom?

The dwarf, you mean. Midget is an offensive term you know.

No, you got it all wrong. It was a Hob-.

STOP! That word is cursed by the IP Gods!

@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}
@tnn4
tnn4 / dnd-campaign.md
Created April 13, 2025 02:19
dnd campaign idea

The Fall of the Murikan Empire

Compatible with DnD 5e

The Murikan Empire once a hegemonic power that held a firm grip over the world is now falling apart from within. The troll Empreror Trollnald Dump has managed to fool the Empire's inhabitants and has taken over along with his ruthless troll advisors: the manchild Melon Tusk, Scamazon's overlord Jef Butthole, and the autistic wizard Zuck, among others.

They seek to break apart everything that sustained Pax Murika like free trade by imposing abitrary tariffs on neighboring states, blocking immigration by building great wall that the Mehikans will pay for or releasing the great Demon DOGE to feast on funds that were supposedly going to be inefficiently spent.

The working class reel at his reforms but still the great Trollnald presses on.

@tnn4
tnn4 / pico8.sh
Created March 8, 2025 21:40
pico 8
#!/bin/bash
me=$(basename "$0")
LINK="https://www.lexaloffle.com/dl/7tiann/pico-"
PICO_VERSION="8_0.2.6b"
PLATFORMS=("setup.exe" "windows.zip" "i386.zip" "amd64.zip" "osx.zip" "raspi.zip")
final_link=${LINK}${PICO_VERSION}_${p}
@tnn4
tnn4 / dl-gameaipro.sh
Last active March 1, 2025 22:04
download game ai pro chapters
#!/bin/bash
# see: https://www.reddit.com/r/gamedev/comments/evx5rb/comment/fg0jgpb/?utm_source=share&utm_medium=web3x&utm_name=web3xcss&utm_term=1&utm_content=share_button
# wget --recursive --level=2 --accept '*.pdf' http://www.gameaipro.com/GameAIPro3
# run from url: bash <(curl https://gist.github.com/tnn4/b7541c15e0a493a7085c94d9f01066c3/raw/58fa63a3290ca6eecd0c6ae2c2588227b34c9b84/dl-gameaipro.sh)
wget -w 1 --random-wait -r -l 2 -A pdf,zip --accept '*.pdf' http://www.gameaipro.com/
@tnn4
tnn4 / social-interaction.md
Last active February 14, 2025 22:25
social interaction

More tech >> Less emotional regulation, less empathy >> Pissy/radicalized >> Harder to be around >> Less socialization

@Drarack 1 year ago Notes to myself for when I inevitably come back to this at some point:

No technology an hour before social interaction because pulling yourself away from technology is an emotional drain, and showing up to a social situation already drained will make you hate it