Skip to content

Instantly share code, notes, and snippets.

@in5ikt
in5ikt / versioning-your-saves.md
Created February 8, 2011 22:44
Minecraft - Versioning your saves

Minecraft - Versioning your saves

This is a tutorial show how to version your saves using Git.

Q: Why would anyone go through this process?
A: Because if you do, you can undo an otherwise un-undoable action, such as swimming in a pit of lava and accidentally dropping your Notch armpit forged special edition diamond pickaxe and your 35 stacks of cobblestone.

Step by step tutorial

Download and install the appropriate version of Git

@ww9
ww9 / one-line-text-art-and-emojis_utf8_ascii.txt
Last active October 19, 2025 11:32
Emojis, UTF8, ASCII (one line) #misc
# Collection of one line text art (◕‿◕✿)
Collection of emojis and one line text art like (╯°□°)╯︵ ┻━┻ 🤗
ּבּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
@MeguminSama
MeguminSama / Discord Experiments.js
Last active July 18, 2025 05:34
Discord Experiments.js
let cache; webpackChunkdiscord_app.push([["wp_isdev_patch"], {}, r => cache=r.c]);
var UserStore = Object.values(cache).find(m => m?.exports?.default?.getUser).exports.default;
var actions = Object.values(UserStore._dispatcher._actionHandlers._dependencyGraph.nodes);
var user = UserStore.getCurrentUser();
actions.find(n => n.name === "ExperimentStore").actionHandler.CONNECTION_OPEN({
type: "CONNECTION_OPEN", user: {flags: user.flags |= 1}, experiments: [],
});
actions.find(n => n.name === "DeveloperExperimentStore").actionHandler.CONNECTION_OPEN();
webpackChunkdiscord_app.pop(); user.flags &= ~1; "done";
GISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGIST
GISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGIST
GISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGI
@ajdungan
ajdungan / whatsappffmpeg_convert.md
Last active December 19, 2024 15:02
whatsapp friendly video ffmpeg convert

ffmpeg commands to encode whatsapp friendly videos

Using these can make videos be able to be played natively within whatsapp. Also very helpful to make videos to be a small file size that is still decent quality. For example: to fit as an email attachment to to share with persons who have limted internet bandwidth).

Really long videos may not work or need to be further compressed or split into multiple files (possible to write/find a script to control for this). Size restrictions might change over time currently they are ________?

Method 1 - more options and filters (best option, usually)

source: https://newspaint.wordpress.com/2020/05/17/using-ffmpeg-to-encode-a-video-for-whatsapp/

Note: Main setting you might want to adjust:

@grizmio
grizmio / gist:51f7d43a22909b745d33c1c6db5c7e86
Created March 22, 2022 16:58
CAPACITOR_ANDROID_STUDIO_PATH and android studio flatpak
mcedit ~/.zshrc
export CAPACITOR_ANDROID_STUDIO_PATH='/var/lib/flatpak/app/com.google.AndroidStudio/current/active/files/extra/android-studio/bin/studio.sh'
@DareFox
DareFox / README.md
Last active August 4, 2025 14:07
Script to fix Progressbar95 sounds on Linux

Script to fix sound in Progressbar95 (requires ffmpeg)

By default Progressbar95 has broken sound due to game reading mp3 files as raw format (wav) This script converts all .mp3 files to .wav and renames converted .wav to .mp3

How to use

bash ./fixLinuxSounds.sh <path_to_game>

Example: