Skip to content

Instantly share code, notes, and snippets.

View briantimp's full-sized avatar

Brian Timp briantimp

View GitHub Profile
@briantimp
briantimp / openclaw-security-setup.md
Created February 7, 2026 06:27 — forked from jordanlyall/openclaw-security-setup.md
OpenClaw Security-First Setup Commands - Companion to my X article on hardening your AI agent setup

OpenClaw Security-First Setup Commands

Companion to: "How I Set Up OpenClaw Without Giving It the Keys to My Life"

Phase 1: Harden the Machine

Create Dedicated User

sudo sysadminctl -addUser openclaw -password - -home /Users/openclaw
@briantimp
briantimp / Clear-NgenQueue
Created April 16, 2020 20:15
Clear NgenQueue
function Clear-NGENQueue {
Write-Host Running NGEN compile for each applicable version. -ForegroundColor Green
$NgenPath = Get-ChildItem -Path $Env:SystemRoot'\Microsoft.NET' -Recurse "ngen.exe" | % {$_.FullName}
foreach ($element in $NgenPath) {
Write-Host "Running .NET Optimization in $element";
Start-Process -wait $element -ArgumentList "ExecuteQueuedItems"
}
}