Skip to content

Instantly share code, notes, and snippets.

View SleepingPanda's full-sized avatar

SleepingPanda SleepingPanda

View GitHub Profile
#!/bin/bash
#
# A little Mastodon hygeine. Keeping the storage nice and tidy.
# Get to where the script needs to go
cd /home/mastodon/live/bin
# Clean out accounts that have never interacted with anyone on this instance.
RAILS_ENV=production /home/mastodon/live/bin/tootctl accounts prune
@melroy89
melroy89 / mastodon-docker-setup.md
Last active May 14, 2025 03:02 — forked from akuechl/mastodon-docker-setup.md
Mastodon Docker Setup - most complete and easiest guide online
@JerryLokjianming
JerryLokjianming / Crack Sublime Text Windows and Linux.md
Last active May 30, 2025 04:28
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Offset 0x8545: Original 84 -> 85
  5. Offset 0x08FF19: Original 75 -> EB
  6. Offset 0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)
@ndarville
ndarville / webm.md
Last active March 11, 2025 17:21
4chan’s guide to converting GIF to WebM - https://boards.4chan.org/g/res/41212767

Grab ffmpeg from https://www.ffmpeg.org/download.html

It's a command line tool which means you will have to type things with your keyboard instead of clicking on buttons.

The most trivial operation would be converting gifs:

ffmpeg -i your_gif.gif -c:v libvpx -crf 12 -b:v 500K output.webm
  • -crf values can go from 4 to 63. Lower values mean better quality.
  • -b:v is the maximum allowed bitrate. Higher means better quality.