Skip to content

Instantly share code, notes, and snippets.

@YeapGuy
YeapGuy / airtag-decryptor.swift
Last active September 4, 2025 06:41
Decrypt macOS Find My .record file
//
// airtag-decryptor.swift
//
//
// Created by Matus on 28/01/2024.
//
import Foundation
import CryptoKit
// Function to decrypt using AES-GCM

Picking a Java Runtime

Use Java 17-22. There isn't much difference between versions from 17 to 22. Java 23+ is not recommended because of Generational ZGC, see below.

Java runtimes from Adoptium, Oracle, Azul and so on are basically identical. If you don't know what to pick, I recommend the latest Adoptium Java 21 JDK: https://adoptium.net/

Some notable exceptions:

  • Oracle GraalVM features a more aggressive Java compiler. It seems to be worse at the start of the session, but then becomes faster than Adoptium; see the GraalVM section.
@roelds
roelds / get_latest_release_tagname.sh
Last active November 14, 2025 11:10
Shell - Get latest release tag name from GitLab or GitHub
# for GitHub:
# use this for name:
VERNAME=$(wget -q -O- https://api.github.com/repos/roelds/litaf/releases/latest | jq -r '.name')
# or this for tag name, if jq installed:
VERTAG=$(wget -q -O- https://api.github.com/repos/roelds/litaf/releases/latest | jq -r '.tag_name')
# or if jq not installed:
curl --silent "https://api.github.com/repos/roelds/litaf/releases/latest" | grep -Po "(?<=\"tag_name\": \").*(?=\")"
# latest release tag name, for GitLab:
curl -s https://gitlab.com/gitlab-org/cli/-/releases/permalink/latest | grep -m1 -Eo "releases/[^/]+\"" | awk 'BEGIN { FS="/" } {print $2}' | rev | cut -c2- | rev
@raxityo
raxityo / BJs_clipAllOffers.js
Last active March 31, 2026 19:45
Clip all available BJ's coupons
// ==UserScript==
// @name BJ's Coupon Clipper
// @namespace Violentmonkey Scripts
// @match https://www.bjs.com/
// @grant none
// @version 1.0
// @author @raxityo
// @description 3/24/2024, 11:01:30 PM
// ==/UserScript==
@Druah
Druah / Emotes.md
Last active March 8, 2026 00:37
How to Enable 7TV, BetterTTV, and FrankerFaceZ Emotes for Newbs

This guide is slightly deprecated as V3 of 7TV's browser add-on now supports 7TV, BetterTTV, and FrankerFaceZ emotes out of the box, and has some great quality of life chat features that are currently not found in any other emote add-on. You should consider going to 7TV's website and downloading their browser add-on from there.

What even is this? FeelsDankMan

7TV, BetterTTV, and FrankerFaceZ, more commonly stylized as 7TV, BTTV, and FFZ, are 3rd party emote services for Twitch chat, which aim to enhance a viewer's chatting experience on Twitch by allowing for more emotes to be used in chat, free of charge. Think of it like Discord emojis.

If you're wondering what those weird phrases people in chat seem to be spamming are, it's probably an emote from one of the above mentioned 3rd party emote servi