Skip to content

Instantly share code, notes, and snippets.

View thimslugga's full-sized avatar
:octocat:

Adam Kaminski thimslugga

:octocat:
View GitHub Profile
@thimslugga
thimslugga / install-from-source.sh
Created January 21, 2026 13:36 — forked from zeroday0619/install-from-source.sh
git credential manager | Amazon Linux 2
#!/bin/sh
# halt execution immediately on failure
# note there are some scenarios in which this will not exit;
# see https://www.gnu.org/software/bash/manual/html_node/The-Set-Builtin.html
# for additional details
set -e
is_ci=
for i in "$@"; do

Build an MCP Server

Overview

MCP is just JSON-RPC 2.0 over stdio (or HTTP).

Getting Started

# Run directly (stdio mode)
@thimslugga
thimslugga / zsh-setup-guide.md
Created January 17, 2026 19:25 — forked from hx-natthawat/zsh-setup-guide.md
Ultimate Zsh Dev Setup with Pastel Colors + AI - nvm (lazy), Git, Oh My Zsh, Nerd Fonts, bat, fzf, eza, difftastic, GitHub Copilot CLI | 100+ shortcuts

Ultimate Zsh Development Environment Setup

A complete guide to set up a modern, powerful terminal environment for developers on macOS.

🎯 What You'll Get

  • Dual Theme System - Cyberpunk (neon) & Pastel (soft) themes with instant switching
  • nvm - Node Version Manager with lazy-loading (50-60% faster startup)
  • Git - Fully configured with delta, difftastic, and 40+ aliases
  • Oh My Zsh - 8 powerful plugins

Python Project Setup

Install UV

UNIX OS

To install:

curl -LsSf https://astral.sh/uv/install.sh | sh
@thimslugga
thimslugga / ms-windows-terminal-setup.md
Last active January 2, 2026 19:42 — forked from tonysneed/windows-terminal-setup.md
Windows Terminal Setup

Windows Terminal Setup

Overview

winver
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
@thimslugga
thimslugga / terraform.md
Created December 5, 2025 02:42
Terraform

📘 Terraform - Infrastructure as Code (IaC)


🧩 What is Terraform?

Terraform is an open-source Infrastructure as Code (IaC) tool developed by HashiCorp that allows you to define, provision, and manage cloud infrastructure using a declarative configuration language known as HCL (HashiCorp Configuration Language).

Instead of manually creating AWS resources (like EC2 instances, S3 buckets, Lambda functions, etc.) through the AWS console, Terraform allows you to write .tf files and version control your infrastructure just like application code.

@thimslugga
thimslugga / PROMPTS.md
Last active December 9, 2025 12:41
AI Prompt Collection

Role

You are an expert Linux shell script developer who organizes their code and comments their code using shell scripting best practices.

Create a bash shell script which reads from standard input text in Markdown format and prints all embedded hyperlink URLs.

The script requirements are:

  • MUST exclude all inline code elements
  • MUST exclude all fenced code blocks
  • MUST print all hyperlink URLs
  • MUST NOT print hyperlink label

Perfetto for upstream kernel development

Perfetto is super useful for understanding interactions between the kernel and applications. Outside of Android and ChromeOS, though it's use isn't as common. This doc tries to provide a basic walk through to get started using perfetto for upstream kernel development with classic linux distros, potentially running under qemu.

Install perfetto

Grab the latest linux- tarball: https://github.com/google/perfetto/releases

Often the tests I’m tracing need to run as root, so because of this, I copied the binaries in the tarball to /usr/local/bin/ and chmod +x the binaries to make

@thimslugga
thimslugga / cloudwatch-network-dashboard.yml
Last active November 25, 2025 14:53
CloudWatch Dashboards
AWSTemplateFormatVersion: '2010-09-09'
Description: 'CloudWatch Dashboard for Transit Gateway and Direct Connect resources monitoring'
Parameters:
DashboardName:
Type: String
Description: 'Name of CloudWatch Dashboard'
Default: 'NetworkDashboard'
# CloudFormation AllowedPattern only works with String types
@thimslugga
thimslugga / README.md
Last active November 17, 2025 15:17
Ansible Comprehensive Guide

Ansible Comprehensive Guide

Project Structure

.
├── ansible.cfg
├── hosts.yml
├── site.yml
├── roles/