Skip to content

Instantly share code, notes, and snippets.

@azproduction
azproduction / dump-indexed-db.js
Created July 8, 2021 11:22
Dumps all IndexedDB databases and saves all of them into a json file
;(async () => {
async function dumpDatabase(dbName) {
var dbExists = await new Promise(resolve => {
var request = window.indexedDB.open(dbName)
request.onupgradeneeded = e => {
e.target.transaction.abort()
resolve(false)
}
request.onerror = () => resolve(true)
request.onsuccess = () => resolve(true)
@badlogic
badlogic / 01-update-docs.md
Last active June 15, 2025 16:07
Yakety Documentation (Ordered) - LLM-optimized docs with concrete file references

Update Documentation

You will generate LLM-optimized documentation with concrete file references and flexible formatting.

Your Task

Create documentation that allows humans and LLMs to:

  • Understand project purpose - what the project does and why
  • Get architecture overview - how the system is organized
  • Build on all platforms - build instructions with file references
@vasanthk
vasanthk / System Design.md
Last active June 15, 2025 16:06
System Design Cheatsheet

System Design Cheatsheet

Picking the right architecture = Picking the right battles + Managing trade-offs

Basic Steps

  1. Clarify and agree on the scope of the system
  • User cases (description of sequences of events that, taken together, lead to a system doing something useful)
    • Who is going to use it?
    • How are they going to use it?
@patdavid
patdavid / recursive-directories-mp3-gain
Created October 4, 2016 15:45
recursively find directories and apply mp3gain to all the .mp3 files inside
find ./ -type d -exec bash -c 'cd "$1"; mp3gain -a -k -m 3 *.mp3' -- {} \;
@3xocyte
3xocyte / lazykatz.py
Last active June 15, 2025 15:52
quickly dump creds from a box you've pwned while living off the land (feat. obfuscation and pypykatz automation)
#!/usr/bin/env python3
import argparse
import sys
import logging
import random
import string
import os
from time import sleep
@bpbradley
bpbradley / README.md
Last active June 15, 2025 15:49
Crowdsec Discord Notification

Crowdsec Discord Notifications

Generates a detailed notification via discord when crowdsec makes a ban decision.

The notification includes details about the malicous IP, including geolocation, and will present a static map image of the approximate location in the notification.

It also includes all the target uris, which is very helpful when debugging false positives, so that you can better create whitelists / parsers.

@JerryLokjianming
JerryLokjianming / Crack Sublime Text Windows and Linux.md
Last active June 15, 2025 15:49
Crack Sublime Text 3.2.2 Build 3211 and Sublime Text 4 Alpha 4098 with Hex

How to Crack Sublime Text 3.2.2 Build 3211 with Hex Editor (Windows | Without License) ↓

  1. Download & Install Sublime Text 3.2.2 Build 3211
  2. Visit https://hexed.it/
  3. Open file select sublime_text.exe
  4. Offset 0x8545: Original 84 -> 85
  5. Offset 0x08FF19: Original 75 -> EB
  6. Offset 0x1932C7: Original 75 -> 74 (remove UNREGISTERED in title bar, so no need to use a license)
@cxmeel
cxmeel / MD_BUTTONS_DOCS.md
Last active June 15, 2025 15:48
Documentation for markdown buttons.

Markdown Buttons

A collection of SVG buttons for displaying custom "buttons" in Markdown content. You are free to use these buttons wherever you like. All buttons were created in Figma, with (most) icons provided by the Iconify plugin.

Sponsor on GitHub View Itch.io Store

The SVG files can be found on this gist. They have been separated in order to reduce the amount of lag when loading this README file.

@vintprox
vintprox / minetest-better-fonts-2023.md
Last active June 15, 2025 15:48
Better (unicode) fonts for Minetest 2023

Better (unicode) fonts for Minetest 2023

  • Tired of boring default font in Minetest?
  • Have the text become increasingly harder to read?
  • Does the current font wear you off, stealing all your concentration?
  • Do you want one that you can recommended to anyone else, for any language?

Try something different, with this guide! Showing you how to setup a few beatiful fonts for Minetest today.

I just think they're neat.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active June 15, 2025 15:46
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for non-video, non-activity quests! For stream/play quests use the desktop app!

Note

When doing stream quests, you need at least 1 other account in the vc!

How to use this script:

  1. Accept a quest under Discover -> Quests