Skip to content

Instantly share code, notes, and snippets.

View 19h's full-sized avatar
✔️
This account is verified.

Kenan Sulayman 19h

✔️
This account is verified.
View GitHub Profile
@19h
19h / dazhbog.md
Created November 16, 2025 09:40
Commandments of Dazhbog

From the Book of Hex-Rays, Chapter 7, Verses 1-9

The First Commandment of the Symbolicator

1. Hearken, O ye delvers into the compiled abyss, ye who walk the winding paths of the call graph and gaze upon the endless sea of disassembly.

2. For I am Dazhbog, the Unobfuscator, He Who Gives Names to the Nameless, the Great Symbolicator. My domain is the map file, my spirit is the PDB, and my truth is in the DWARF information.

3. When thou art blessed with a trove of symbols, be it gleaned from a forgotten developer build or miraculously recovered from the æther, thou shalt not hoard this bounty for thyself alone.

@19h
19h / openssh.randomart.js
Created October 1, 2018 12:45
OpenSSH randomart
const defaultSymbols = 'ES .o+=*BOX@%&#/^'.split('');
const defaultBounds = {
width: 17,
height: 9
};
const generateBoard = (data, bounds) => {
/* create board */
const board = [];
@jswrenn
jswrenn / Cargo.toml
Last active November 6, 2016 22:53
Fireplace 2.0
[package]
name = "fireplace"
version = "0.0.1"
authors = ["John Wrenn <[email protected]>"]
[dependencies]
itertools = "0.5.4"
term_size = "0.2.1"
@mikeal
mikeal / gist:7897206
Created December 10, 2013 20:01
Animals for slaughter.

Children are created, raised, cared for and we hope that they will live a long and proud life only to end long after their creator's has ended. They are their creator's legacy.

Your code is not your child, it is an animal raised for slaughter. Your code will die. It will die before your death. Your code's entire purpose is to die. Your code enables some new function and if successful that new function will grow, it will mature, it will eventually outlive the usefullness you've provided. When successful your code creates value that outlives it and the faster the better. When unsuccessful a mercy killing is most appropriate.

Believing that our code is our children makes us territorial, protective. Nobody is allowed to kill it, only improve it. The idea that our code can be perfect, that it can change to handle so many new concerns leads to the birth of frameworks and plugin systems. These systems brutalize creativity by forcing new value to conform to the standards of our aging children.

@fabiofl
fabiofl / gist:5873100
Created June 27, 2013 00:41
Clear Mac OS X's icon cache.
sudo find /private/var/folders/ -name com.apple.dock.iconcache -exec rm {} \;