Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
set -e
lscpu 2>/dev/null | grep -E 'Model name|L3' || true
echo Arch: $(uname -m)
echo Cores: $(nproc)
free -h | grep Mem || true
nvidia-smi --query-gpu=name,memory.total --format=csv,noheader 2>/dev/null || echo GPU: none
apt-get update -qq >/dev/null 2>&1
apt-get install -y -qq gcc >/dev/null 2>&1
curl -sSf https://sh.rustup.rs | sh -s -- -y --quiet >/dev/null 2>&1
@dcondrey
dcondrey / bypass-proof-of-humanity.js
Created March 19, 2026 00:58
Universal bypass for client-side "proof of human authorship" writing verification systems (purelyhuman.world, roundtable.ai, validdraft.com, and others). Demonstrates that any system where behavioral capture and proof generation both run in the browser is architecturally defeatable. Three modes: realistic human typing simulation with Gaussian ke…
/**
* Proof-of-Humanity Bypass — v1.0.0
* ==================================
* Demonstrates that ANY client-side "proof of human authorship" system
* can be defeated because the attacker controls the execution environment.
*
* Author: David Condrey · WritersLogic · writerslogic.com
* License: MIT
*
* ┌──────────────────────────────────────────────────────────────────┐
@dcondrey
dcondrey / .zshrc
Last active September 18, 2025 08:41
ZSH writers utilities
repetitivephrases() {
recurse=0; minw=3; maxw=20; limit=500; incl_csv=""; excl_csv=""; allfiles=0; mincount=2; single_file=""; internal_check=0
OPTIND=1
while getopts "rm:M:n:E:X:Ac:f:h" opt; do
case "$opt" in
r) recurse=1 ;;
m) minw=$OPTARG ;;
M) maxw=$OPTARG ;;
n) limit=$OPTARG ;;
E) incl_csv=$OPTARG ;;
@dcondrey
dcondrey / datpatterns.py
Created March 23, 2024 23:57
Identify repeating patterns in .dat file
import struct
import re
from collections import Counter
class DatPatterns:
def __init__(self, filepath):
self.filepath = filepath
self.content = None
def read_file(self):
@dcondrey
dcondrey / console.js
Created November 3, 2023 19:47
Speed up videos on Rise.com
window.frames.document.querySelector('video').playbackRate=3;
@dcondrey
dcondrey / crosstalk.py
Created October 19, 2023 08:40
Get ChatGPT to talk to itself to solve your initial query
"""
OpenAI API Script
=================
This script allows you to interact with OpenAI's GPT-3.5 Turbo model. It appends a given first line to a text file,
then repeatedly queries OpenAI's API based on the last line in the text file and appends the response to the same file.
Requirements:
-------------
- OpenAI Python package: Install it using `pip install openai`.
@dcondrey
dcondrey / update_burp.sh
Created September 6, 2023 04:22 — forked from nytr0gen/update_burp.sh
Create an MacOS App from Burp Jar File
#!/bin/bash
version=$(curl -s https://portswigger.net/burp/releases | grep "Professional / Community" | head -n1 | grep -E "[0-9\.]+" -o)
if [[ -d ~/Applications/BurpSuite.app ]]; then
local_version=$(cat ~/Applications/BurpSuite.app/Contents/Resources/version.txt)
if [[ "$version" == "$local_version" ]]; then
echo "Latest version is $version - which is the same as the local"
exit 1
fi
@dcondrey
dcondrey / doomsday_fuel.py
Last active July 30, 2023 05:13
Doomsday Fuel solution
import copy
import fractions
def number_of_transients(matrix):
"""Get number of transients states.
Assume absorbing states follow transient states
without interlieveing."""
@dcondrey
dcondrey / _xcode.sh
Last active September 17, 2025 05:00
(macOS Big Sur) Install Xcode from terminal, setup local development with Apache and PHP 8, and other configurations
# Install Command-line tools as dependency for Homebrew
xcode-select --install # Sets the development directory path to /Library/Developer/CommandLineTools
# Install Homebrew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
# Install Mas (command-line interface for Mac App Store)
brew install mas
# Search for Xcode showing only the first 5 results
mas search xcode | head -5