Skip to content

Instantly share code, notes, and snippets.

View jallspaw's full-sized avatar

John Allspaw jallspaw

View GitHub Profile
@crisdosaygo
crisdosaygo / vanity.c
Created March 28, 2025 10:53
gcc -O2 -o vanity vanity.c -lssl -lcrypto
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <openssl/sha.h>
#define TARGET_PREFIX "20250327"
#define MAX_WORDS 256
#define MAX_TEXT 2048
#define MAX_ATTEMPTS (1ULL << 32) // 2^32 attempts (~4.3B, enough for 8-char prefix)
@Thomascountz
Thomascountz / ijq.sh
Last active December 25, 2025 23:34
(Yet another) interactive jq, but it's a bash script using fzf
#!/usr/bin/env bash
set -euo pipefail
if [ "${1:-}" = "--help" ]; then
cat << EOF
Usage: ijq [filename]
A wrapper around jq that uses fzf to interactively build jq filters.
@rmtbb
rmtbb / iMessageAttachmentsLinksExtractor.sh
Created November 3, 2024 23:16
iMessage Attachments and Links Extractor for macOS
#!/bin/bash
# Define the main export folder
export_folder=~/Desktop/iMessages_Export
mkdir -p "$export_folder"
# Part 1: Generate the CSV file
echo "Generating CSV file..."
sqlite3 ~/Library/Messages/chat.db <<EOF
@steveroush
steveroush / radialLayout.gvpr
Last active January 18, 2026 17:29
radialLayout.gvpr - a multi-centric radial layout engine for Graphviz
/********************************************************************************
RadialLayout - a radial layout engine for Graphviz
radialLayout.gvpr takes a super-subset of Graphviz input and creates an enhanced output with explicit positioning for all nodes. Positioning for each node is based either on new angle & distance attributes or on explicit "pos" value. This output can be fed into `neato -n` (see https://graphviz.org/faq/#FaqDotWithNodeCoords) to route all defined edges.
New node attributes:
- radialangle - angle from the origin line units:
- radians
- degrees
- clock-face hour posiyion (4oc)
@markiaaan
markiaaan / .block
Last active July 28, 2024 23:36
Graph to Timeline
license: mit
scrolling: no
border: yes
@carstenschwede
carstenschwede / Zoom-HowToRecordMultipleBreakoutRoomsAtOnce.md
Last active August 11, 2025 01:20
How to record multiple breakout rooms at once in Zoom.

How to record multiple breakout rooms in Zoom at the same time:

  • Requirements

    • OS: Windows or Mac (Linux not tested, might work as well)
    • a Zoom account and Desktop installation (duh)
  • General idea

    • Host meeting under main account (main instance)
    • Open as many additional Zoom instances as there are breakout rooms (breakout instances)
    • For each breakout instance, join the meeting via meeting id + password and give each an easily identifiable name (e.g. "Breakout[1]", "Breakout[2]", ... )
@dianaow
dianaow / .block
Last active November 3, 2024 16:01
D3 V4: Radial Point Chart
license: mit
@Andrew-Reid
Andrew-Reid / index.html
Last active November 1, 2024 22:55
Brush and Zoom via Keyboard d3v4
<!DOCTYPE html>
<meta charset="utf-8">
<style>
.area {
fill: steelblue;
clip-path: url(#clip);
}
.zoom {
@alex-rind
alex-rind / .block
Created February 27, 2017 09:50
PubViz
license: mit
@renecnielsen
renecnielsen / README.md
Last active July 24, 2024 05:59 — forked from mbostock/.block
Zoomable Circle Packing