Skip to content

Instantly share code, notes, and snippets.

View CrispyPin's full-sized avatar
🪱
being silly on the conputer

Crispy CrispyPin

🪱
being silly on the conputer
View GitHub Profile
@CrispyPin
CrispyPin / README.md
Created May 7, 2024 07:47
Rule 110 in MarkovJunior

add <model name="rule_110" size="30" steps="5000" gui="220" gif="True" pixelsize="16"/> to models.xml

This can definitely be implemented with less states and less steps, I just wanted to prove it could be done and didn't know how to specify rule symmetry.

@CrispyPin
CrispyPin / cheat-sheet.md
Created February 17, 2022 22:18
cli cheat sheet

cli cheat sheet

ffmpeg

pixel format, fixes thumbnail and works on android:
ffmpeg -i a.mp4 -pix_fmt yuv420p b.mp4
loop:
ffmpeg -stream_loop 42 -i a.mp4 b.mp4
scale:
ffmpeg -i a.mp4 -vf scale=-1:480 b.mp4
trim:

@CrispyPin
CrispyPin / apriltag_trackers_pop_os.md
Last active December 20, 2021 13:18
Getting apriltags VR Fullbody working on Pop OS

Getting April Tag VR Fullbody Trackers working on Pop OS/Linux

This is probably fine for most distros but I have not tested it.

Compiling the main app

Install the dependencies libopencv-dev and libopencv-contrib-dev with your package manager
sudo apt install libopencv-dev libopencv-contrib-dev

Get the source code:
git clone https://github.com/ju1ce/April-Tag-VR-FullBody-Tracker
cd April-Tag-VR-FullBody-Tracker
git checkout linux