Skip to content

Instantly share code, notes, and snippets.

View soltrinox's full-sized avatar
🤖
Building Cybernetic Systems

Mr. Rosario soltrinox

🤖
Building Cybernetic Systems
View GitHub Profile
@soltrinox
soltrinox / PROOF.pass.json
Created May 17, 2025 02:15
PROOF.PASS.json
[
{
"ENTROPY.HASH": "8475302745873452094357716198745683194",
"PROOF.UUID": "808f5a52-dd28-4490-aebd-ee924d769426",
"MODULO.SPIN": [1, 7, 4],
"ENI6MA.WITNESS": "😛",
"META": {
"user": "a3b92c4f-f0d3-4857-9c94-4170f8019e68",
"custodian": "422b8a51-548b-484a-8d94-d2ca4222d6a5",
"asset": "e42a0a49-984b-4baa-9ea7-dd9a69e5c089"
@soltrinox
soltrinox / Crypto-Linear-Operators.md
Last active April 26, 2025 23:34
Linear Algebra Operators for Set Theory and Cryptography

📘 Linear Algebra Operators for Set Theory and Cryptography

Operator Symbol Meaning (General) Meaning in Set Theory Usage in Cryptography
Membership $x \in A$ Element is in a set $x$ belongs to set $A$ Is a key or vector part of a keyspace
Non-Membership $x \notin A$ Element is not in a set $x$ is outside $A$ Excluded elements, invalid keys
Containment (Subset) $A \subseteq B$ Set $A$ inside $B$ Every member of $A$ is in $B$ Subspaces, subgroup keys
Proper Subset $A \subsetneq B$ Strict inclusion $A$ is part of $B$ but not equal Small keyspaces inside larger ones
For All $\forall x \in A$ For every element $x$ in $A$ Universal quantifier Validating all keys or states
There Exists $\exists x \in A$ There is at least one $x$ in $A$ Existential quantifier Existence of valid keys, collisions
@soltrinox
soltrinox / gist:bfe12809bc5ac059d4e9134fe491aaae
Created April 4, 2025 06:11
RENAME TRUNCATE FILE NAME INDEX
#!/bin/bash
# This script recursively renames files in all child directories.
# For any file that begins with a numeric prefix followed by a hyphen,
# the script will remove that prefix. For example:
# 001-finename.extension.pdf => finename.extension.pdf
# Find all files recursively, sort them alphabetically
find . -type f | sort | while IFS= read -r file; do
dir=$(dirname "$file")
base=$(basename "$file")
@soltrinox
soltrinox / append.sh
Created April 4, 2025 06:10
APPEND PREFIX INDEX INTEGET LEFT PAD ZERO
#!/bin/bash
# This script recursively renames files in all child directories.
# For any file that begins with a numeric prefix followed by a hyphen,
# the script will remove that prefix. For example:
# 001-finename.extension.pdf => finename.extension.pdf
# Find all files recursively, sort them alphabetically
find . -type f | sort | while IFS= read -r file; do

Secure AI Communication

The application of this innovative technology for secure artificial intelligence communication is profound and far-reaching. Imagine a scenario where one can interact with an AI system, altering its programming directly through the AI interface, yet the AI remains incapable of compromising or altering its own core programming. This level of security is achieved by replacing traditional zero-knowledge proofs with a novel encryption method that leverages random noise and advanced quantum mechanical principles.

At the heart of this technology is the use of random noise to create a secure encryption channel between humans and machines. By utilizing perfectly random entropy sources, the system generates cryptographic keys and primes that are inherently unpredictable, even to the most advanced super quantum computers. This unpredictability stems from the fundamental limitations of physical space-time, making it computationally infeasible for any entity to crack the encryption through b

@soltrinox
soltrinox / ContentView.swift
Created March 5, 2024 05:30 — forked from otmb/ContentView.swift
WKWebView can read a wasm from a localfile with XMLHttpRequest, but returns an error with fetch
import SwiftUI
import WebKit
enum WebViewError: Error {
case contentConversion(String)
case emptyFileName
case inivalidFilePath
var message: String {
switch self {
@soltrinox
soltrinox / readfile.contents.md
Last active February 21, 2024 12:02
BASH: Read file contents
# Example using xxd to read a byte at a specific offset from a binary file
xxd -p -l1 -s 100 file.bin  # Read one byte (-l1) at offset 100 (-s) from file.bin

# Using xxd to handle hex offsets and output in decimal format
echo $((16#$(xxd -p -l1 -s $((16#FC)) file.bin)))  # Convert the output of xxd from hex to decimal

# Example using dd to dump raw data
dd if=file.bin seek=$((16#FC)) bs=1 count=5 status=none  # Dump 5 bytes from file.bin starting at hex offset FC
@soltrinox
soltrinox / nginx.google.conf
Created January 5, 2024 03:37 — forked from liweitianux/nginx.google.conf
Nginx Proxy to Google
#
# Nginx reverse proxy to Google Search (with images and webcache))
#
# Credit:
# * Nginx rewrite append a parameter at the end of an URL
# https://serverfault.com/a/311660/387898
# * https://github.com/tracycool/Reverse-Proxy-for-Google
# * https://github.com/caiguanhao/nginx-bypass-gfw/blob/master/google.conf
#
# References:
@soltrinox
soltrinox / RecordAudio.swift
Created December 24, 2023 18:51 — forked from leonid-s-usov/RecordAudio.swift
Swift Audio Recording class. Reads buffers of input samples from the microphone using the iOS RemoteIO Audio Unit API
//
// RecordAudio.swift
//
// This is a Swift class (updated for Swift 5)
// that uses the iOS RemoteIO Audio Unit
// to record audio input samples,
// (should be instantiated as a singleton object.)
//
// Created by Ronald Nicholson on 10/21/16.
// Copyright © 2017,2019 HotPaw Productions. All rights reserved.