Skip to content

Instantly share code, notes, and snippets.

@Cybermaxke
Cybermaxke / InventoryTitleHelper
Last active October 13, 2023 09:38
[CraftBukkit/Spigot] Send a new title of the currently opened inventory.
import java.lang.reflect.Constructor;
import java.lang.reflect.Field;
import java.lang.reflect.Method;
import org.bukkit.Bukkit;
import org.bukkit.entity.Player;
import org.bukkit.inventory.Inventory;
import static com.google.common.base.Preconditions.checkNotNull;
@bgromov
bgromov / git-reset-author.sh
Created June 23, 2016 17:50
Git: reset author for ALL commits
#!/bin/sh
# Credits: http://stackoverflow.com/a/750191
git filter-branch -f --env-filter "
GIT_AUTHOR_NAME='Newname'
GIT_AUTHOR_EMAIL='new@email'
GIT_COMMITTER_NAME='Newname'
GIT_COMMITTER_EMAIL='new@email'
" HEAD
@JonnyWong16
JonnyWong16 / share_unshare_libraries.py
Last active May 20, 2026 17:32
Automatically share and unshare libraries for Plex users
# Run this script using "share" or "unshare" as arguments:
# To share the Plex libraries:
# python share_unshare_libraries.py share
# To unshare the Plex libraries:
# python share_unshare_libraries.py unshare
import requests
import sys
from xml.dom import minidom
@levantAJ
levantAJ / extract-scheme-url.sh
Created August 7, 2019 03:20
Extract *.ipa file to looking for all scheme URLs
#!/bin/sh
RESET=`tput sgr0`
RED=`tput setaf 1`
GREEN=`tput setaf 2`
if [ "$1" ]; then
if ! [ -e "$1" ]
then
@davidejones
davidejones / README.md
Last active May 8, 2025 04:40 — forked from JonnyWong16/share_unshare_libraries.py
Automatically share and unshare libraries for Plex users

Requirements

Have python 3 installed somewhere

Install

Download gist zip file and extract to a directory of your choosing then open terminal / cmd prompt at that directory

For mac and linux

Fake Paypal Payment Page

@ndeadly
ndeadly / homebrew_sysmodules.txt
Last active June 28, 2026 05:51
Title IDs for Nintendo Switch sysmodules and system applets
/* Homebrew sysmodules */
0000000000000123 sysHaze
0000000000534C56 SaltyNX
00FF0000000002AA BootSoundNX
00FF000053484101 switch-ha-sysmodule
00FF000053484102 switch-ha-overlay-loader
00FF0000636C6BF2 nx-reader
00FF0000636C6BFF sys-clk
00FF00006D7470FF mtp-server-nx
00FF0000A53BB665 SysDVR
@Kavan72
Kavan72 / endpoints.txt
Last active June 7, 2026 22:48
Valorant endpoints
[PlayerFeedback_CheckForSurvey] POST
[PlayerFeedback_SendAnswers] POST
[PatchNotes_GetPatchNotes] GET
[AggStats_Fetch] GET
[AccountXP_GetPlayer] GET https://pd.ap.a.pvp.net/account-xp/v1/players/{user_id}
[Config_FetchConfig] GET https://shared.ap.a.pvp.net/v1/config/ap
@Neo23x0
Neo23x0 / log4j_rce_detection.md
Last active April 8, 2026 10:46
Log4j RCE CVE-2021-44228 Exploitation Detection

log4j RCE Exploitation Detection

You can use these commands and rules to search for exploitation attempts against log4j RCE vulnerability CVE-2021-44228

Grep / Zgrep

This command searches for exploitation attempts in uncompressed files in folder /var/log and all sub folders

sudo egrep -I -i -r '\$(\{|%7B)jndi:(ldap[s]?|rmi|dns|nis|iiop|corba|nds|http):/[^\n]+' /var/log
@JohannesMP
JohannesMP / EnableDiscordDevExperiments.md
Last active June 18, 2026 10:54 — forked from ExordiumX/betaenabler.js
Enabling Discord Dev Experiments on Discord for Windows (2022-02)

Enable Dev Experiments in Discord for Windows

image

This guide shows how to enable dev mode for the Discord desktop application running on Windows (as of February 2022).

This can be used to view beta experiments to try features currently in development that are included but hidden by default in Discord release builds.