Skip to content

Instantly share code, notes, and snippets.

View perfecto25's full-sized avatar

mrx perfecto25

  • NYC
View GitHub Profile
@perfecto25
perfecto25 / 01-opus-aegis1.md
Last active November 20, 2026 06:24
Metal alloy design ideas

Rocket Chassis Concept & AEGIS-1 Alloy

Design concept: a re-entry-capable spacecraft hull and a new lightweight refractory alloy to outperform stainless steel on hot structures.


Part 1 — Concept: the "Graded Shell" chassis

The four requirements (extremely strong, very lightweight, able to flex under G-force, and able to absorb massive re-entry heat) pull against each other. Materials that survive extreme heat, like ceramics and refractory metals, tend to be heavy or brittle. Materials that flex, like polymers and soft metals, tend to melt.

@perfecto25
perfecto25 / rustdesk_user_setup.sh
Last active November 16, 2026 16:51
Rustdesk user config setup script
#!/bin/sh
# point RustDesk clients (Linux + macOS) at a self-hosted
# hbbs/hbbr setup, automatically choosing the closest relay server.
#
# Writes RustDesk2.toml for root (the service) and for the desktop user(s),
# preserving any other settings already in the file.
#
# Usage (run as root):
# sudo ./user_setup.sh -u jsmith
@perfecto25
perfecto25 / docker-compose.yml
Last active February 27, 2026 22:39
Graylog Open with Github SSO
---
networks:
graylog:
driver: bridge
volumes:
mongo_data:
driver: local
driver_opts:
type: none
@perfecto25
perfecto25 / newllm.md
Created February 3, 2026 04:13
New LLM architecture proposal - from claude.ai

the prompt:

imagine you are a LLM and machine language designer. How would you design a system that would be better than this current architecture, make it high level. What would you create thats new, a never before seen idea on how to make computers understand humans and have original thoughts.

The Next Evolution: A Speculative Architecture for True Understanding

Let me think radically here. I'll propose something that challenges fundamental assumptions about current LLMs...

@perfecto25
perfecto25 / connections.sh
Last active May 8, 2025 14:13
OpenVPN check connected users
#!/bin/bash
## checks openvpn status of connected users, shows connected users in table format
## returns >
## username: <virtual ip>, [x days, x hours, x minutes] from <user's public IP>
##
## make sure your openvpn server config has this line uncommented:
## management 127.0.0.1 5555
current_epoch=$(date +%s)
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"
[packages]
django = "*"
psycopg2 = "*"
loguru = "*"
django-bootstrap5 = "*"
@perfecto25
perfecto25 / README.md
Created December 8, 2023 17:01
RustDesk self hosted server

RustDesk self hosted Relay server (cloud)

tested on Redhat 9 using Rustdesk v 1.2.3 (installed on AWS ec2 instance t3.micro)

installs Signal + Relay server

on the cloud instance where this is installed, configure iptables

### RustDesk relay
@perfecto25
perfecto25 / dellbios.sh
Created May 23, 2023 21:42
Dell BIOS automation
#!/bin/bash
# reset firmware to optimized settings
# usage:
# ./dellbios.sh - prints current settings
# ./dellbios.sh configure - configures optimized BIOS settings (will require reboot to pick up changes)
export PATH=$PATH:/opt/dell/srvadmin/sbin/
red="\e[0;91m"
@perfecto25
perfecto25 / addition
Created October 13, 2022 19:41
Py benchmarks
from functools import reduce
import time
numbers = list(range(51000000))
def add(numbers):
total = 0
for n in numbers:
total += n
return total
@perfecto25
perfecto25 / qemu setup
Last active March 24, 2023 14:12
QEMU virtual machine manager
Make sure no other VM softrware is running (Virtualbox, etc)
create new win 10 VM on ubuntu host
0. Turn off/kill any VirtualBox process, this will interfere with QEMU
1. create pool
2. create volume within the pool
3. install win10 iso (select Browse local files)
4. once win10 is up, install Spice windows guest tools on win10, www.spice-space.org/download.html, this will enable full screen display