Skip to content

Instantly share code, notes, and snippets.

View CypherpunkSamurai's full-sized avatar
😶
Currently Busy 🌻🐢

Cypherpunk Samurai CypherpunkSamurai

😶
Currently Busy 🌻🐢
View GitHub Profile
@CypherpunkSamurai
CypherpunkSamurai / qbztoken.user.js
Created November 15, 2026 17:20 — forked from hemiipatu/qbztoken.user.js
allows logging in via auth tokens on play.qobuz.com
// ==UserScript==
// @name Qobuz auth token & app-id login
// @namespace io.github.uhwot.qbztoken
// @match https://play.qobuz.com/*
// @grant none
// @version 2.2
// @author uh wot / hemiipatu
// @description Intercepts native login button with custom credentials, complete UI matching and alignment.
// @homepageURL https://gist.github.com/hemiipatu/34a0e3cd35c7fd25260fd84b6991f53b
// @downloadURL https://gist.github.com/hemiipatu/34a0e3cd35c7fd25260fd84b6991f53b/raw/master/qbztoken.user.js
@CypherpunkSamurai
CypherpunkSamurai / ios_on_linux.md
Created November 12, 2026 19:38 — forked from WitherOrNot/ios_on_linux.md
Emulate iOS on Linux

Emulate iOS on Linux

This is a set of notes, meant to serve as a companion to the primary instruction set.

Companion VM

Use Arch Boxes basic images for the VM.

For installing dependencies, you can use AUR to install usbmuxd-git and libirecovery-git, then manually build patched idevicerestore.

@CypherpunkSamurai
CypherpunkSamurai / tinyos.md
Created November 11, 2026 08:21 — forked from binarymako/tinyos.md
Tiny Windows OSes..

Tiny OS (Windows Lite OSes):

  • Tiny OS - 8.1 Pro (x64 Bit)
  • Tiny OS - 10 Pro (x64 Bit)
  • Tiny OS - 11 Pro (x64 Bit)

Mega Upload (SAS - Net):

@CypherpunkSamurai
CypherpunkSamurai / agent-sandboxen.md
Created September 26, 2026 12:44 — forked from wincent/agent-sandboxen.md
List of coding agent sandboxes 2026-05

Coding Agent Sandboxes — Comprehensive List

Compiled from awesome-lists (restyler/awesome-sandbox, webcoyote/awesome-AI-sandbox, bureado/awesome-agent-runtime-security) and a survey of vendor blogs / field guides published through 2026. Grouped by isolation primitive and then by deployment model.

1. OS-level primitives (no container, no VM)

These rely on kernel/userland features to constrain a normal host process. Lowest overhead, weakest boundary.

  • macOS Seatbelt / sandbox-exec — Apple's TrustedBSD-based MAC framework. Used directly by Codex CLI, Gemini CLI, and underneath Anthropic's srt.
  • Linux Landlock — Unprivileged filesystem/network LSM; default backend for Codex CLI on Linux.
@CypherpunkSamurai
CypherpunkSamurai / googlechat-dynamite.proto
Created September 26, 2026 02:36 — forked from EionRobb/googlechat-dynamite.proto
hand crafted reverse engineering of Google Chat's protobuf
syntax = "proto2";
enum UserType {
HUMAN = 0;
BOT = 1;
}
@CypherpunkSamurai
CypherpunkSamurai / NoImmersiveWin10.md
Created September 4, 2026 17:39 — forked from rikka0w0/NoImmersiveWin10.md
Get rid of the immersive menu in Win10 1809 and above
  1. Download tools: ResourceHacker and mssstyleEditor, then unpack them
  2. Download resources: Win8 theme for Win10, and then uppack it, we will need 'Windows 8 RP Themes for Windows 10\Theme\Themes For 10 Build 14393 Anniversary Update\Windows 8 RP\aero 8 RP.msstyle'.
  3. Open it with ResourceHacker, export IMAGE 1055:0 and IMERSIVE 1:0.
  4. Make a backup of the original aerolite.msstyles and make a copy of it to your working folder (arbitary)
  5. Open it with ResourceHacker, Go to 'Action -> Add an Image or Other Binary Resource' or hit Ctrl+M to open the "Add Binary Resource" Dialog. Choose the menu image resource file that is going to be used, then change the "Resource Type" to IMAGE and resource name to be what ever available, in my case, 993.
  6. Change the value of IMERSIVE 1:0, by importing the data from "aero 8 RP.msstyle"
@CypherpunkSamurai
CypherpunkSamurai / steam-depot-deep-dive.md
Created September 3, 2026 06:25 — forked from mdeguzis/steam-depot-deep-dive.md
Steam Depot Data: How SteamDB Gets It and How We Can Replicate It (deep dive for proton-pulse-web)

Steam Depot Data: How SteamDB Gets It and How We Can Replicate It

Deep dive into Steam's depot system, how SteamDB tracks depot creation/update dates, and practical approaches for proton-pulse-web to replicate this functionality.

The Core Problem

Steam's official public Web API (partner.steamgames.com/doc/webapi) does not expose per-depot timestamps, manifest history, or OS-specific update dates. The store/api/appdetails endpoint returns app-level release dates but nothing about individual depots. We need this data to show users when a game's Linux depot was first added and when it was last updated.

How Steam's Depot System Works

@CypherpunkSamurai
CypherpunkSamurai / install.sh
Created August 22, 2026 06:58 — forked from rexlow/install.sh
Enable zsh in Gcloud shell
##
# This is an adoption from Oh My Zsh for Google Cloud Shell
# author - bobvanluijt
# source - https://github.com/bobvanluijt/google-cloud-shell-pro-zsh
##
main() {
# Install zsh
sudo apt-get -qq update

Stop using JWTs!

TLDR: JWTs should not be used for keeping your user logged in. They are not designed for this purpose, they are not secure, and there is a much better tool which is designed for it: regular cookie sessions.

If you've got a bit of time to watch a presentation on it, I highly recommend this talk: https://www.youtube.com/watch?v=pYeekwv3vC4 (Note that other topics are largely skimmed over, such as CSRF protection. You should learn about other topics from other sources. Also note that "valid" usecases for JWTs at the end of the video can also be easily handled by other, better, and more secure tools. Specifically, PASETO.)

A related topic: Don't use localStorage (or sessionStorage) for authentication credentials, including JWT tokens: https://www.rdegges.com/2018/please-stop-using-local-storage/

The reason to avoid JWTs comes down to a couple different points:

  • The JWT specification is specifically designed only for very short-live tokens (~5 minute or less). Sessions
@CypherpunkSamurai
CypherpunkSamurai / index.html
Created August 13, 2026 04:43 — forked from smontlouis/index.html
please don't sue me
<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="color-scheme" content="light dark" />
<link
rel="icon"
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 64 64%22><circle cx=%2232%22 cy=%2232%22 r=%2230%22 fill=%22%235b7fe5%22/><circle cx=%2224%22 cy=%2228%22 r=%225%22/><circle cx=%2240%22 cy=%2228%22 r=%225%22/></svg>"
/>