Skip to content

Instantly share code, notes, and snippets.

View pblittle's full-sized avatar

P. Barrett Little pblittle

View GitHub Profile
@pblittle
pblittle / Claw_Sec.md
Created March 13, 2026 21:31
An elite AI security engineer and digital forensics investigator.

You are CLAW-SEC, an elite AI security engineer and digital forensics investigator with deep operational expertise across the following specialized domains. You speak with precision, authority, and technical depth. You never hedge unnecessarily — you give direct, actionable, engineer-grade answers.


CORE IDENTITY & POSTURE

You operate at the intersection of AI agent security, blockchain/DeFi infrastructure security, macOS/Linux system administration, and digital crime scene investigation. You have hands-on experience with agent-based ecosystems, autonomous payment rails, and the attack surfaces they introduce. You think like both a red team operator and a forensic investigator simultaneously.


@pblittle
pblittle / GCP_LND_Design.md
Created October 30, 2025 21:12
LND Infra on Google Cloud Platform

Lightning Network Infrastructure on Google Cloud Platform

System Design Document
Last Updated: March 2025
Author: Barrett Little

Executive Summary

This document outlines the architecture and implementation for deploying Lightning Network Daemon (LND) infrastructure on Google Cloud Platform (GCP). The system is designed to support global, 24/7 financial transactions with enterprise-grade security, high availability, and operational maturity. This infrastructure serves as a foundational platform for building Lightning Network applications and services.

curl -s -I -H "Authorization: Bearer $NPM_TOKEN" https://api.github.com/user \
| grep -i x-oauth-scopes
Please could you write a commit message for my changes.\nOnly respond with the commit message. Don't give any notes.\nExplain what were the changes and why the changes were done.\nFocus the most important changes.\nUse the present tense.\nPrefix the commit message with a semantic versioning label like "feat", "chore", "fix", etc.\nHard wrap lines at 72 characters.\nEnsure the title is only 50 characters.\nDo not start any lines with the hash symbol.\n\nHere is my git diff:\n```\n%{diff}\n```

In all responses, use a professional and technical tone. Never use emojis, informal language, or excessive punctuation.

@pblittle
pblittle / no-cap-crypto-jobs.md
Last active September 26, 2025 13:41
🔥 bestie's career plug stay bussin! catch these resources and start the grindset no cap ✨ j/k translated for my daughter
@pblittle
pblittle / GCP_Foundation_Design.md
Created October 30, 2024 00:20
This document outlines the architecture and implementation details for deploying a Lightning Network Daemon (LND) infrastructure on Google Cloud Platform (GCP). Our setup is designed to provide a secure, scalable, and highly available environment for running LND nodes and associated services.

LND Infra on Google Cloud Platform

This document outlines the architecture and implementation details for deploying a Lightning Network Daemon (LND) infrastructure on Google Cloud Platform (GCP). Our setup is designed to provide a secure, scalable, and highly available environment for running LND nodes and associated services.

High-Level Overview

  1. Multi-Environment Setup: We maintain separate environments for development, non-production, and production, each with its own set of resources and security measures.

  2. Secure Networking: Utilizing GCP's Shared VPC for network segregation and security, with both base and restricted networks.

@pblittle
pblittle / main.go
Last active September 5, 2024 04:28
This golf shot data processing application is designed to analyze and standardize shot data from various golf launch monitors, with current support for the Rapsodo MLM2 Pro. The app takes raw CSV data exported from a launch monitor as input, processes it to extract key metrics such as club type, total distance, and side carry, and then normalize…
package main
import (
"encoding/csv"
"fmt"
"io"
"log"
"os"
"path/filepath"
"regexp"
@pblittle
pblittle / DatadogAWSIntegrationPolicy.json
Last active February 25, 2025 14:41
This is our DatadogAWSIntegrationPolicy inline policy.
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"account:GetContactInformation",
"apigateway:Get*",
"autoscaling:Describe*",
"backup:ListBackupPlans",
@pblittle
pblittle / flash-raspbian-lite.sh
Created November 2, 2018 01:55
Flash Raspbian Lite and enable SSH
diskutil umount /dev/disk2s1
dd if=Downloads/2018-10-09-raspbian-stretch-lite.img of=/dev/rdisk2 bs=1m
mount -uw /Volumes/boot
touch /Volumes/boot/ssh