Skip to content

Instantly share code, notes, and snippets.

@Rich77498
Rich77498 / Crossover_trial_reset.sh
Created May 2, 2025 15:31
bash script reset crossover on mac updated 2025
#!/usr/bin/env bash
# Locate CrossOver.app
CO_PWD=~/Applications/CrossOver.app/Contents/MacOS
[ -d "${CO_PWD}" ] || CO_PWD=/Applications/CrossOver.app/Contents/MacOS
if [ ! -d "${CO_PWD}" ]; then
echo "CrossOver not found in default locations. Exiting..."
exit 1
fi
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 20, 2025 23:14
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@ctokheim
ctokheim / slurm_cheat_sheet.md
Last active December 20, 2025 23:13
A cheat sheet for the SLURM job scheduler

SLURM

Slurm is a job scheduler for computer clusters. This document is based on this tutorial. A useful guide showing the relationships between SGE and SLURM is available here.

Gathering information

Two commands may be useful:

  • sinfo provides information about the resouces of the cluster.
@Et7f3
Et7f3 / maria-work-around.spec
Last active December 20, 2025 23:13
Run this command to build the .rpm: rpmbuild -ba maria-work-around.spec --define "dist el8" --define "_rpmdir `pwd`"
Name: maria-workaround
Version: 1.0
Release: 1%{?dist}
License: ASL 2.0
BuildArch: noarch
Summary: Meta package that fix typo
requires: mariadb
provides: MariaDB-client
@shiwildy
shiwildy / sources.list
Created August 26, 2025 10:24
Debian 13 Trixie complete sources.list
deb https://deb.debian.org/debian/ trixie contrib main non-free non-free-firmware
# deb-src https://deb.debian.org/debian/ trixie contrib main non-free non-free-firmware
deb https://deb.debian.org/debian/ trixie-updates contrib main non-free non-free-firmware
# deb-src https://deb.debian.org/debian/ trixie-updates contrib main non-free non-free-firmware
deb https://deb.debian.org/debian/ trixie-proposed-updates contrib main non-free non-free-firmware
# deb-src https://deb.debian.org/debian/ trixie-proposed-updates contrib main non-free non-free-firmware
deb https://deb.debian.org/debian/ trixie-backports contrib main non-free non-free-firmware
@sinceohsix
sinceohsix / Installing LiveContainer+Sidestore.md
Last active December 20, 2025 23:09
Installing LiveContainer+SideStore from start to finish.

A Guide to Setting up Sidestore + LiveContainer

Works on the latest iOS versions, including iOS 26 db8.

Hello r/sideloaded!

After the mass revocation wave I decided to make this guide to help people sideload apps using an alternative method. A method that is 100% revoke free, costs nothing, and requires a computer only one time (for initial setup)!

After following this guide you will not need to worry about the 3 app limit OR refreshing every 7 days. You will be able to install as many apps as you want and they should not ever expire. This is a completely free method.

Here is what we will go over in this guide:

@rxaviers
rxaviers / gist:7360908
Last active December 19, 2025 23:27
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
@marshallrichards
marshallrichards / instructions.md
Last active December 20, 2025 23:06
Android Termux Minecraft Server Instructions

VER=1.18.1

Mojang offical minecraft server:

MANIFEST="https://launchermeta.mojang.com/mc/game/version_manifest_v2.json"
META_URL="$(curl -sL "$MANIFEST" | jq -r --arg v "$VER" '.versions[] | select(.id==$v) | .url')"
SERVER_URL="$(curl -sL "$META_URL" | jq -r '.downloads.server.url')"
curl -L -o "server-$VER.jar" "$SERVER_URL"

PaperMC minecraft server (recommended):

Control.Arrow
=============
"compose/arr" forall f g .
(arr f) . (arr g) = arr (f . g)
"first/arr" forall f .
first (arr f) = arr (first f)
"second/arr" forall f .
second (arr f) = arr (second f)
"product/arr" forall f g .
arr f *** arr g = arr (f *** g)