Skip to content

Instantly share code, notes, and snippets.

@ndeadly
ndeadly / switch2_input_viewer.py
Last active November 6, 2025 14:57
A python script for connecting Nintendo Switch 2 controllers, viewing their input data and sending commands to the controller
import os
import sys
import time
import struct
import asyncio
import platform
import pickle
from bleak import BleakScanner, BleakClient
from PyQt5 import QtCore, QtGui, QtWidgets
@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 9, 2025 09:36
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:
@Wowol
Wowol / ps5stream.md
Last active July 10, 2024 19:57
How to stream PS4 or PS5 to your friends without latency

Introduction

As of now (2023-04-14) Playstation only supports streaming through Youtube or Twitch. Both of these options add at least a few seconds delay until a viewer is able to see your screen, which is acceptable by professional streamers, but for streaming to friends we want to make the delay as low as possible, so we can enjoy the games together.

The natural option would be to stream Playstation to PC and share the window to our viewers, however, most of the popular video chat platforms haven't handled Playstation stream properly (Discord, for example, was extremely stuttering, had black screens or couldn't stream sound).

To stream our games, we will first stream Playstation to our local PC, set the RTMP sever on our PC and stream OBS window to our server. Viewers will then connect to our RTMP server to watch our stream.

Prerequisites

@JohannesMP
JohannesMP / EnableDiscordDevExperiments.md
Last active October 28, 2025 03:30 — 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.


@Neo23x0
Neo23x0 / log4j_rce_detection.md
Last active October 4, 2025 08:06
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
@Kavan72
Kavan72 / endpoints.txt
Last active November 5, 2025 09:09
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
@ndeadly
ndeadly / homebrew_sysmodules.txt
Last active December 5, 2025 21:36
Title IDs for Nintendo Switch sysmodules and system applets
/* Homebrew sysmodules */
0000000000534C56 SaltyNX
00FF0000000002AA BootSoundNX
00FF0000636C6BF2 nx-reader
00FF0000636C6BFF sys-clk
00FF00006D7470FF mtp-server-nx
00FF0000A53BB665 SysDVR
00FF747765616BFF switch-sys-tweak
0100000000000052 switch-nfp-mitm
0100000000000081 nx-btred

Fake Paypal Payment Page

@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

@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