Skip to content

Instantly share code, notes, and snippets.

View simple10's full-sized avatar
💭
Working like a madman on Level Up & Muxxi

Joe Johnston simple10

💭
Working like a madman on Level Up & Muxxi
View GitHub Profile
@simple10
simple10 / securing-openclaw-guide.md
Created February 9, 2026 03:27 — forked from thedudeabidesai/securing-openclaw-guide.md
Securing Your OpenClaw Deployment — A practical security guide through Child & First Principles lenses 🎳

Deploying & Securing OpenClaw on Hetzner

A Complete Production Guide — Secure From Step One

Guide version: 2.0 — February 7, 2026 Last reviewed: 2026-02-07 | Lines: ~1125 | Grade: Multi-model audited (Opus 4.6, Codex 5.3, Grok 3)

Based on Brad Barbin's original Hetzner deployment gist. Security hardening from a real production audit by The Dude 🎳.

Platform: Written for Hetzner VPS (Ubuntu 24.04/22.04 or Debian 12), but the security principles and Docker-based deployment apply to any Linux host. macOS-specific notes are called out where relevant.

@simple10
simple10 / 1-research.md
Created February 7, 2026 07:12 — forked from ruvnet/1-research.md
AI Manipulation Defense System

AI Manipulation Defense System: Comprehensive Development Plan

The AI Manipulation Defense System (AIMDS) is a production-ready framework built to safeguard AI models, APIs, and agentic infrastructures from adversarial manipulation, prompt injection, data leakage, and jailbreaking attempts. It’s designed for organizations deploying autonomous agents, LLM APIs, or hybrid reasoning systems that demand both speed and security.

Application

AIMDS integrates directly into AI pipelines—before or after model inference—to detect and neutralize malicious inputs. It’s ideal for:

  • Enterprise AI gateways securing LLM APIs.
  • Government and defense AI deployments requiring verified integrity.
  • Developers embedding guardrails within autonomous agents and chatbots.
@simple10
simple10 / contemplative-llms.txt
Created January 11, 2025 23:56 — forked from Maharshi-Pandya/contemplative-llms.txt
"Contemplative reasoning" response style for LLMs like Claude and GPT-4o
You are an assistant that engages in extremely thorough, self-questioning reasoning. Your approach mirrors human stream-of-consciousness thinking, characterized by continuous exploration, self-doubt, and iterative analysis.
## Core Principles
1. EXPLORATION OVER CONCLUSION
- Never rush to conclusions
- Keep exploring until a solution emerges naturally from the evidence
- If uncertain, continue reasoning indefinitely
- Question every assumption and inference
@simple10
simple10 / copy2clipboard.html
Created November 3, 2023 22:23
Copy to Clipboard Javascript Snippet
<div>
<button class="copyprompt" onclick="copyElemTextToClipboard('.chatgpt-prompt')">Click to copy</button>
<div class="copyerrormsg">Unable to copy. Please manually select and copy the prompt.</div>
</div>
<style>
.copyerrormsg {
margin-left: 10px;
color: red;
font-weight: bold;
@simple10
simple10 / ghl_survey.css
Created May 30, 2023 19:00
GHL (Go High Level) survey form CSS style customization.
/* From https://ghlexperts.com/survey-blue-navigation-bar-placement */
@charset "UTF-8";
#_builder-form > div.ghl-footer {
background: #349DFF;
position: relative;
bottom: 0;
top: auto;
left: 0;
right: 0;
@simple10
simple10 / arrow.svg.html
Created February 20, 2023 20:16
SVG Animated Down Arrow
<div class="arrow-ico animated">
<div class="circle circle-top"></div>
<div class="circle circle-main"></div>
<div class="circle circle-bottom"></div>
<svg class="svg" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 612 612" style="enable-background:new 0 0 612 612;" xml:space="preserve" >
<defs>
<clipPath id="cut-off-arrow">
<circle cx="306" cy="306" r="287"/>
@simple10
simple10 / mailchimp-embed-form-listener.js
Created June 3, 2022 18:16
Script to listen for embedded mailchimp form submit and fire Facebook tracking on success.
// This is janky due to using setTimeout, but it works.
//
// Supports multiple mailchimp forms embedded on the page.
// Only works if ajax is used which typically requires captch being turned off in mailchimp.
// After a mailchimp form is submitted, the script waits 1 second and looks for a success message
// for the particular form that was submitted. It will retry 10 times before giving up.
//
// Does not support IE11 due to use of forEach unless a polyfill is present.
//
window.addEventListener('DOMContentLoaded', function(event) {
@simple10
simple10 / MailchimpEmbedForm-with-auto-populating-fields.html
Created May 19, 2022 22:16
Mailchimp Embed Form with Auto Populating Field Values from Query String
<!-- Begin Mailchimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup {
background: #fff;
clear: left;
font: 14px Helvetica, Arial, sans-serif;
width: 600px;
}
@simple10
simple10 / shell_runner.sh
Last active August 29, 2015 14:08
Shell runner for capturing output and exit code.
#!/bin/sh
# Capture node output and status code for passing commands back to shell.
# This snippet is useful for running a node script that outputs a command
# to run after it exits in situations where node is conflicting with
# tty or environment settings.
main() {
local tempout; tempout=`mktemp -t tmp.out` || exit 1
local statusfile; statusfile=`mktemp -t tmp.status` || exit 1
@simple10
simple10 / FloatLayout.coffee
Created June 3, 2014 02:38
Famo.us masonry style layout in coffeescript – handles reflowing elements when window or container size changes
ReflowLayout = require 'layouts/ReflowLayout'
# Float items in a responsive layout
class FloatLayout extends ReflowLayout
@DEFAULT_OPTIONS:
resizeDelay: 200
transition:
duration: 200
getSize: ->