Skip to content

Instantly share code, notes, and snippets.

@kb10uy
kb10uy / sus-specification-2.7.md
Last active July 2, 2025 04:44
SUS フォーマット v2.7 仕様

SUS Format Specification v2.7 (rev2)

注: SUS は今や Sliding Universal Score の略であり、 SeaUrchin Score ではありません。

1. 概要

  • テキストデータであり、全て printable character で構成される。
  • 拡張子: *.sus
  • EOL: CRLF もしくは LF
  • エンコード: 常に UTF-8
  • # で始まる行がデータとして意味を持ち、それ以外の行はコメントとして無視される。
  • 文字列データを指定する部分は " ~ " でクォートする。
@VoxelPrismatic
VoxelPrismatic / pairing-telink.md
Last active July 2, 2025 04:41
Pair Telink Wireless Receiver
@terjanq
terjanq / README.md
Last active July 2, 2025 04:39
Postviewer v5 writeup - Google CTF 2025

Postviewer v5² Writeup by @terjanq

Google CTF 2025

Introduction

Postviewer challenges have become a highlight of the Web category of Google CTF, and this year featured yet another continuation of the series—Postviewer v5². There were two versions of the same challenge; the core challenge was for Chrome, and the other was for Firefox, called Postviewer v5² (FF).

This year, I intended the core challenge to be difficult, and this was indeed the case, given that only two teams managed to retrieve the flag: justCatTheFish and Friendly Maltese Citizens.

@safijari
safijari / convert_valve_video.py
Created June 27, 2024 04:46
Sketch ass script to convert the m4s files being saved by the new Steam Game Recording feature into an mp4 file. It also allows "clipping" the last 30 seconds of the most recent active background recording.
import os
import subprocess
from random import sample
from uuid import uuid4
from pathlib import Path
def create_filelist(folder, init_file, file_pattern):
files = sorted([f for f in os.listdir(folder) if f.startswith(file_pattern) and f.endswith('.m4s')])
return [f"{os.path.join(folder, init_file)}"] + [f"{os.path.join(folder, file)}" for file in files]
@AnatomicJC
AnatomicJC / android-backup-apk-and-datas.md
Last active July 2, 2025 04:31
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 !

Element Locator Extractor

A powerful browser console script that extracts all test locators AND text content from any webpage instantly. Perfect for UI test automation with Selenium, Playwright, Cypress, WebdriverIO, and other frameworks.

Features

  • Extract elements by any attribute (data-test, data-testid, id, class, etc.)
  • NEW: Capture text content from existing locators
  • NEW: Find text-only elements without test attributes (perfect for assertions)
  • NEW: Generate XPath for elements without attributes
@mgeeky
mgeeky / Enumerate-URIHandlers.ps1
Created January 12, 2022 12:24
Enumerate Windows URI Handlers (Keys in HKEY_CLASSES_ROOT that contain "URL Protocol" values), examples: http:, calculator:, ms-officecmd:
New-PSDrive -Name HKCR -PSProvider Registry -Root HKEY_CLASSES_ROOT -ErrorAction SilentlyContinue | Out-Null
$count = 0
try {
Get-ChildItem HKCR: -ErrorAction SilentlyContinue | ForEach-Object {
if((Get-ItemProperty $_.PSPath -ErrorAction SilentlyContinue).PSObject.Properties.Name -contains "URL Protocol") {
$name = $_.PSChildName
$count += 1
$line = "URI Handler {0:d4}: {1}" -f $count, $name
Write-Host $line
}
@johnbianchi
johnbianchi / pfctl-cheatsheet.txt
Last active July 2, 2025 04:19
pfctl cheat sheet
#### General PFCTL Commands ####
$ pfctl -d disable # packet-filtering
$ pfctl -e enable # packet-filtering
$ pfctl -q # run quiet
$ pfctl -v -v # run even more verbose
#### Loading PF Rules ####
$ pfctl -f /etc/pf.conf # load /etc/pf.conf
$ pfctl -n -f /etc/pf.conf # parse /etc/pf.conf, but dont load it
$ pfctl -R -f /etc/pf.conf # load only the FILTER rules
$ pfctl -N -f /etc/pf.conf # load only the NAT rules
@bradtraversy
bradtraversy / terminal-commands.md
Last active July 2, 2025 04:18
Common Terminal Commands

Common Terminal Commands

Key Commands & Navigation

Before we look at some common commands, I just want to note a few keyboard commands that are very helpful:

  • Up Arrow: Will show your last command
  • Down Arrow: Will show your next command
  • Tab: Will auto-complete your command
  • Ctrl + L: Will clear the screen
@valiant-code
valiant-code / IronMon-Rules.md
Last active July 2, 2025 04:14
IronMon Rules

The IronMON Challenge

The IronMon challenge is a Pokémon Randomizer Challenge run created by iateyourpie. Designed to make experiencing the randomizer fun and challenging, while taking away the wild Pokémon grind that come with some other challenges. It was originally made for Fire Red / Leaf Green but the rules can be applied/adjusted for other games as well. If you're interested to find out more about IronMon, join our Discord community!

IronMon has varying levels of difficulties, to keep it more approachable but also provide the toughest challenge possible for those who want it.