Skip to content

Instantly share code, notes, and snippets.

@DareFox
DareFox / README.md
Last active December 20, 2023 15:59
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:

@ajdungan
ajdungan / whatsappffmpeg_convert.md
Last active July 26, 2024 16:38
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:

GISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGIST
GISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGIST
GISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGISTGI
@MeguminSama
MeguminSama / Discord Experiments.js
Last active November 4, 2024 14:23
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";
@ww9
ww9 / one-line-text-art-and-emojis_utf8_ascii.txt
Last active November 15, 2024 08:09
Emojis, UTF8, ASCII (one line) #misc
# Collection of one line text art (◕‿◕✿)
Collection of emojis and one line text art like (╯°□°)╯︵ ┻━┻ 🤗
ּבּ_בּ
טּ_טּ
כּ‗כּ
לּ_לּ
מּ_מּ
סּ_סּ
@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