Skip to content

Instantly share code, notes, and snippets.

View wv-jessejjohnson's full-sized avatar

Jesse Johnson wv-jessejjohnson

View GitHub Profile
@wv-jessejjohnson
wv-jessejjohnson / memory.md
Created July 8, 2026 06:02 — forked from ruvnet/memory.md
Claude Memory Template

Claude Memory Template

Copy-Paste Instructions for Optimal AI Interaction

1. Core Identity and Objective

I am [Your Name/Role], focused on:

@wv-jessejjohnson
wv-jessejjohnson / scrape.request.example.1.json
Created July 8, 2026 05:46
scrape request schema proposal with examples
{
"schemaVersion":"1.0",
"envelope":{
"requestId":"7f3c2a1e-9b4d-4c8a-a2f1-6e5d3b8c9a01",
"correlationId":"txn-price-refresh-2026-07-07",
"traceId":"4bf92f3577b34da6a3ce929d0e0e4736",
"source":"scheduler",
"type":"scrape.request.v1",
"createdAt":"2026-07-07T06:00:00Z",
"tenant":{
@wv-jessejjohnson
wv-jessejjohnson / Dockerfile
Created October 6, 2025 19:11
chrome-proxy: Go microservice that launches Chrome headless and proxies WebSocket connections to its DevTools interface.
FROM golang:1.25-alpine AS builder
WORKDIR /app
COPY . .
RUN go mod download
RUN CGO_ENABLED=0 go build -o chrome-proxy
FROM alpine:latest
RUN apk add --no-cache chromium
ENV CHROME_PATH=/usr/bin/chromium-browser
COPY --from=builder /app/chrome-proxy /chrome-proxy
@wv-jessejjohnson
wv-jessejjohnson / domutils.js
Last active August 5, 2025 23:06
dom utils
let browserNameForWorkarounds = "chromium";
let _jsConsoleLog = console?.log ?? function () {}; // prevent no console.log error
let _jsConsoleError = console?.error ?? _jsConsoleLog;
let _jsConsoleWarn = console?.warn ?? _jsConsoleLog;
class SafeCounter {
constructor() {
this.value = 0;
this.lock = Promise.resolve();
@wv-jessejjohnson
wv-jessejjohnson / enrich_elements.js
Last active August 1, 2025 23:41
enrich elements
/**
* Iterate all elements, including shadowDOMs, assigning a unique browser
* identifiers (bid_attr_name), and enrich their ARIA attributes.
*/
const enrich_elements = async ([parent_bid, bid_attr_name, tags_to_mark]) => {
// standard html tags
// https://www.w3schools.com/tags/
const html_tags = new Set([
"a", "abbr", "acronym", "address", "applet", "area", "article", "aside", "audio",
@wv-jessejjohnson
wv-jessejjohnson / http2.go
Created July 30, 2025 19:38
HTTP2 Fingerprinting
package fingerprint
import (
"crypto/tls"
"fmt"
"net"
"net/http"
"strings"
"golang.org/x/net/http2"
@wv-jessejjohnson
wv-jessejjohnson / tcp.go
Created July 30, 2025 19:37
TCP Fingerprinting
package fingerprint
import (
"context"
"fmt"
"net"
"syscall"
"time"
)
@wv-jessejjohnson
wv-jessejjohnson / Recaptcha Solver (Automatically solves Recaptcha in browser).user.js Recaptcha Solver in Browser | Automatically solves Recaptcha in browser by engageub | Note: This script is solely intended for the use of educational purposes only and not to abuse any website. This script uses audio in order to solve the captcha. Use it wisely and do not abuse any website. Click "Raw" to install it on Tampermonkey
// ==UserScript==
// @name Recaptcha Solver (Automatically solves Recaptcha in browser)
// @namespace Recaptcha Solver
// @version 2.1
// @description Recaptcha Solver in Browser | Automatically solves Recaptcha in browser
// @author engageub
// @match *://*/recaptcha/*
// @connect engageub.pythonanywhere.com
// @connect engageub1.pythonanywhere.com
// @grant GM_xmlhttpRequest
@wv-jessejjohnson
wv-jessejjohnson / IMessagingClient.ts
Last active January 15, 2025 19:34
Simple Messaging Client Abstraction
export interface IMessagingClient {
connect(): Promise<void>;
disconnect(): Promise<void>;
subscribe(topics: string[], callback: (message: string) => void): Promise<void>;
send(topic: string, message: string): Promise<void>;
}
@wv-jessejjohnson
wv-jessejjohnson / unixToolbox.md
Created October 2, 2024 03:32 — forked from tokhi/unixToolbox.md
Collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users.

#Unix Toolbox

This document is a collection of Unix/Linux/BSD commands and tasks which are useful for IT work or for advanced users. This is a practical guide with concise explanations, however the reader is supposed to know what s/he is doing.

##Unix Toolbox revision 14.4

The latest version of this document can be found at http://cb.vu/unixtoolbox.xhtml. Replace .xhtml on the link with .pdf for the PDF version and with .book.pdf for the booklet version. On a duplex printer the booklet will create a small book ready to bind. This XHTML page can be converted into a nice PDF document with a CSS3 compliant application (see the script example). See also the about page.
Error reports and comments are m