Skip to content

Instantly share code, notes, and snippets.

View ayancey's full-sized avatar
💭
available for contract work

Alex Yancey ayancey

💭
available for contract work
View GitHub Profile
@psybers
psybers / package.json
Created April 6, 2024 02:24
Finds uncategorized transactions in Actual Budget and asks Chat GPT to suggest the category.
{
"dependencies": {
"@actual-app/api": "^6.7.0",
"dotenv": "^16.4.5",
"openai": "^4.33.0"
}
}
@jleem99
jleem99 / README.md
Last active July 22, 2025 07:39
Bash script that enables Metal API for League of Legends on macOS

Bash script that enables Metal API for League of Legends on macOS.

After installing League of Legends, you can run this script to enable Metal API for the game.
You can expect a performance boost of up to ~2x FPS.

How to run

To run the script, download the script and run it in Terminal.
Or, open Terminal and type the following command:

@mildsunrise
mildsunrise / README.md
Last active July 7, 2025 14:45
Documentation of Tuya's weird compression scheme for IR codes

[Tuya][]'s IR blasters, like the [ZS08][], have the ability to both learn and blast generic IR codes. These IR codes are given to the user as an opaque string, like this:

A/IEiwFAAwbJAfIE8gSLIAUBiwFAC+ADAwuLAfIE8gSLAckBRx9AB0ADBskB8gTyBIsgBQGLAUALA4sB8gRAB8ADBfIEiwHJAeARLwHJAeAFAwHyBOC5LwGLAeA97wOLAfIE4RcfBYsB8gTyBEAFAYsB4AcrCYsB8gTyBIsByQHgPY8DyQHyBOAHAwHyBEAX4BVfBIsB8gTJoAMF8gSLAckB4BUvAckB4AEDBfIEiwHJAQ==

Not much is known about the format of these IR code strings, which makes it difficult to use codes obtained through other means (such as a

@Gestas
Gestas / youtube-archive-channels.sh
Created January 6, 2023 22:26
Youtube channel archiver -
#!/bin/sh
#
# Based on the TheFrenchGhosty's Ultimate YouTube-DL Scripts Collection: The ultimate collection of scripts for YouTube-DL
# https://github.com/TheFrenchGhosty/TheFrenchGhostys-Ultimate-YouTube-DL-Scripts-Collection
# Version: 3.2.2
#
STORAGE_PATH="~/youtube/"
SUBSCRIPTIONS_FILE="youtube-subscriptions.lst"
DOWNLOAD_ARCHIVE="downloaded-videos.lst"
LOG_FILE="yt-dlp.log"
@shmookey
shmookey / README
Created January 7, 2022 05:54
3103 common 5-letter words
this word list comprises the intersection of 5 letter words occurring in three source lists:
- wikipedia's list of most 100k most common words in the english language
- the american english dictionary file on my laptop
- the british english dictionary file on my laptop
the source lists are sanitised by dropping words that contain non-alphabetic or non-ascii
characters and converting capitals to lowercase.
only words that occur in all three resulting lists are kept.
@bluepichu
bluepichu / cairo.ts
Created April 18, 2021 21:58
PlaidCTF 2021 Carmen Sandiego solutions
import express from "express";
import { Socket } from "net";
import { PromiseSocket } from "promise-socket";
import morgan from "morgan";
const { TARGET_IP, SENSOR_PORT, SENSOR_TOKEN } = process.env;
const packetSize = 1448;
const SELF = "whatevermyipis:12345";
const TARGET = "iot.hub";
@gwalkey
gwalkey / gist:b168d532b472333e96663cf607bf84eb
Last active March 16, 2025 12:00
Create a NuGet Package to Install a Powershell Module
Download the CLI Version of NuGet
https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
--Create Work Paths
md c:\nuget
md c:\nuget\source
md c:\nuget\publish
-- One-Time - Create local NuGet Repo/feed using a local drive path
cd c:\nuget
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active July 22, 2025 05:58
Backup android app, data included, no root needed, with adb

Backup android app, data included, no root needed, with adb

Note: This gist may be outdated, thanks to all contributors in comments.

adb is the Android CLI tool with which you can interact with your android device, from your PC

You must enable developer mode (tap 7 times on the build version in parameters) and install adb on your PC.

Don't hesitate to read comments, there is useful tips, thanks guys for this !

@felipejfc
felipejfc / debugserver.sh
Created August 20, 2019 23:57
debugserver unc0ver script
#!/bin/sh
set -e
if [[ -x "/usr/bin/debugserver" ]]; then
set +e
/usr/bin/debugserver > /dev/null 2>&1
if [[ $? -ne 1 ]]; then
rm -f /usr/bin/debugserver
fi
set -e
@daniellimws
daniellimws / frida-tips.md
Last active July 17, 2025 09:11
Frida tips

Frida Tips

The documentation is so limited. A compilation of things I found on StackOverflow and don't want to have to search it up again.

Bypass root check

setTimeout(function() { // avoid java.lang.ClassNotFoundException

  Java.perform(function() {

    // Root detection bypass example