Skip to content

Instantly share code, notes, and snippets.

@christopherwoodall
christopherwoodall / zsh_on_termux.md
Created April 29, 2025 18:18 — forked from rahaaatul/zsh_on_termux.md
Installing ZSH on Termux including themes & useful plugins

ZSH on Termux!

Spice up termux with beautiful themes and productivity plugins to make your life easier!

Install ZSH, GIT & LSD

pkg install zsh git lsd vim

Install Oh-My-Zsh

@christopherwoodall
christopherwoodall / uv-interpreter.ipynb
Created April 28, 2025 13:05
uv-interpreter.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@christopherwoodall
christopherwoodall / delete_tweets.js
Last active January 31, 2025 15:12
Delete tweets
// source: https://x.com/ThinkWiselyMatt/status/1885076017414348830
(async () => {
const delay = ms => new Promise(res => setTimeout(res, ms));
let deletedCount = 0;
const maxDeletes = 2000; // Adjust as needed
while (deletedCount < maxDeletes) {
let posts = document.querySelectorAll('[data-testid="tweet"]');
@christopherwoodall
christopherwoodall / uv-interpreter.ipynb
Last active January 10, 2025 00:03
uv-interpreter.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@christopherwoodall
christopherwoodall / FIREHOSE.md
Created December 11, 2024 05:30 — forked from davepeck/FIREHOSE.md
Zero-dependency Python script to decode the Bluesky firehose

Zero-dependency Python script to decode the Bluesky Firehose

This is a pure Python implementation of code necessary to decode the Bluesky Firehose's low-level binary data format.

It does not depend on any third-party libraries for decoding; we implement DAG_CBOR and CARv1 decoding ourselves.

To run this, install Astral's UV.

Then:

@christopherwoodall
christopherwoodall / landscape_to_blurred_portrait.sh
Created September 30, 2024 23:54 — forked from dupontgu/landscape_to_blurred_portrait.sh
Shell script to embed a landscape video inside a blurred, portrait version of itself.
#!/bin/bash
if [ -z "$1" ]; then
echo "Usage: $0 <input_video>"
exit 1
fi
input_file="$1"
if [ -z "$2" ]; then
# Identify the faulty driver file
$faultyDriver = "C:\Windows\System32\drivers\CrowdStrike\C-00000291*.sys"
# Check if the file exists
if (Test-Path $faultyDriver) {
# Attempt to remove the file
try {
Remove-Item -Path $faultyDriver -Force
Write-Output "Faulty driver removed successfully."
}
@christopherwoodall
christopherwoodall / scapy_bridge.py
Created May 12, 2024 03:00 — forked from eXenon/scapy_bridge.py
Use scapy as a modifying proxy
#!/usr/bin/python2
"""
Use scapy to modify packets going through your machine.
Based on nfqueue to block packets in the kernel and pass them to scapy for validation
"""
import nfqueue
from scapy.all import *
import os
@christopherwoodall
christopherwoodall / simple-circuit-solver.ipynb
Created April 26, 2024 00:40
simple-circuit-solver.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.