Skip to content

Instantly share code, notes, and snippets.

View RandyMcMillan's full-sized avatar
🛰️
Those who know - do not speak of it.

randymcmillan RandyMcMillan

🛰️
Those who know - do not speak of it.
View GitHub Profile
@RandyMcMillan
RandyMcMillan / SQTG.rs
Last active September 13, 2026 03:16 — forked from rust-play/Playground.toml
SQTG.rs
// Author: Randy McMillan (@RandyMcMillan)
// Model: Sub-Planckian Quantum Entropic Gravity (SQTG) / Bloch-Screen Emergent Gravity
// Theory: Universal Scaling & Singularity Regularization via Exact Binomial Expansion
use std::f64::consts::PI;
use std::time::{SystemTime, UNIX_EPOCH};
pub const HBAR: f64 = 1.054_571_817e-34;
pub const C: f64 = 2.997_924_58e8;
pub const KB: f64 = 1.380_649e-23;
@RandyMcMillan
RandyMcMillan / HolographicScreen.rs
Last active September 13, 2026 00:49 — forked from rust-play/Playground.toml
Code shared from the Rust Playground
use std::f64::consts::PI;
/// Fundamental Physical Constants (SI Units)
pub const HBAR: f64 = 1.054_571_817e-34; // Reduced Planck constant (J·s)
pub const C: f64 = 2.997_924_58e8; // Speed of light in vacuum (m/s)
pub const KB: f64 = 1.380_649e-23; // Boltzmann constant (J/K)
pub const G: f64 = 6.674_30e-11; // Gravitational constant (m^3·kg^-1·s^-2)
/// Represents a point particle embedded in spacetime geometry
#[derive(Debug, Clone, Copy)]
@RandyMcMillan
RandyMcMillan / Playground.toml
Created September 12, 2026 17:17 — forked from rust-play/Playground.toml
Code shared from the Rust Playground
version = "1"
@RandyMcMillan
RandyMcMillan / chess.html
Created September 5, 2026 16:48 — forked from 0xmiki/index.html
4D chess: quality of life improvements
<!doctype html>
<html lang="en" data-input="pointer">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="theme-color" content="#fafbf9">
<title>4D chess</title>
<style>
*{box-sizing:border-box}body{margin:0;background:#fafbf9;color:#24342b;font:14px/1.5 system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif}button,select,summary{font:inherit;color:inherit}button,summary{cursor:pointer}button,select{min-height:38px;border:1px solid #cdd3cb;border-radius:5px;background:#fff;padding:7px 12px}button:hover:not(:disabled),summary:hover{background:#edf0e9}button:disabled{opacity:.4;cursor:default}button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #bc7131;outline-offset:2px}[hidden]{display:none!important}h1,h2,h3,p{margin:0}h1{font-size:18px;font-weight:650}h2{font-size:16px;font-weight:600}h3{font-size:14px}main{max-width:1800px;margin:auto;padding:24px 32px}.toolbar{display:flex;gap:12px;align-items:center;border-b
@RandyMcMillan
RandyMcMillan / Playground.toml
Created September 3, 2026 13:11 — forked from rust-play/Playground.toml
Code shared from the Rust Playground
version = "1"
@RandyMcMillan
RandyMcMillan / rbsr_fs.rs
Last active August 30, 2026 13:14 — forked from rust-play/Playground.toml
rbsr_fs.rs
//! Complete, copy-and-pasteable implementation of Range-Based Set Reconciliation (RBSR),
//! a Decentralized Mining Pool Partitioning State Machine, and low-level Cryptographic Primitives.
//!
//! # Included Subsystems:
//! - **Range-Based Set Reconciliation (RBSR)**: Efficiently computes missing or mutated file
//! entries between distributed nodes using binary bisection of range fingerprints.
//! - **Decentralized Pool Node**: Validates incoming double-SHA256 proof-of-work share submissions.
//! - **Time Network State Machine**: Manages dynamic multi-stage time consensus convergence
//! and nonce range partitioning.
//! - **Zero-Dependency Cryptography**: Pure Rust implementations of Git SHA-1 and standard SHA-256.
@RandyMcMillan
RandyMcMillan / isomorphic-git-cors-proxy.js
Created August 28, 2026 21:22 — forked from tomlarkworthy/isomorphic-git-cors-proxy.js
isomorphic git proxy on Cloudflare Workers
addEventListener('fetch', e => e.respondWith(handle(e.request)))
const ok = (req,u)=>{
const q=u.searchParams
return req.method==='OPTIONS'||
(req.method==='GET' && u.pathname.endsWith('/info/refs') &&
['git-upload-pack','git-receive-pack'].includes(q.get('service')))||
(req.method==='POST'&&u.pathname.endsWith('git-upload-pack') &&
req.headers.get('content-type')==='application/x-git-upload-pack-request')||
(req.method==='POST'&&u.pathname.endsWith('git-receive-pack') &&
@RandyMcMillan
RandyMcMillan / Tetration_Convergence_Boundary.rs
Last active August 28, 2026 13:25 — forked from rust-play/Playground.toml
Tetration_Convergence_Boundary.rs
use num_bigint::BigInt;
use num_traits::{One, Zero};
// ============================================================================
// EXECUTABLE PROOFS & MATHEMATICAL VERIFICATION MODULE
// ============================================================================
pub mod proofs {
use std::f64::consts::E;
@RandyMcMillan
RandyMcMillan / findbigfiles.sh
Created August 20, 2026 11:38 — forked from lukechilds/findbigfiles.sh
List all files on filesystem in size order
sudo du -h -a / 2>/dev/null | sort -h -r
@RandyMcMillan
RandyMcMillan / install-cross-platform-emulators.md
Created August 20, 2026 11:35 — forked from lukechilds/install-cross-platform-emulators.md
Install cross platform emulators for Docker

Installs all cross platform emulators for use with docker buildx

docker run -it --rm --privileged tonistiigi/binfmt --install all