Skip to content

Instantly share code, notes, and snippets.

View thimslugga's full-sized avatar
:octocat:

Adam Kaminski thimslugga

:octocat:
View GitHub Profile
@hx-natthawat
hx-natthawat / zsh-setup-guide.md
Last active January 17, 2026 19:25
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
@firsttris
firsttris / Bazzite-VSCode-Dev-Setup.md
Last active January 23, 2026 19:35
A technical guide to bridging the Flatpak sandbox for VS Code on Bazzite. It covers using host-spawn for Podman Dev Container support and configuring D-Bus permissions for KWallet/Copilot integration.

VS Code Flatpak Setup: Podman & KWallet (Bazzite/KDE)

This guide explains how to grant the Flatpak version of Visual Studio Code access to Podman (for Dev Containers) and the KWallet keyring (for GitHub Copilot) on Bazzite KDE.

1. Enabling Podman for Flatpak VS Code

Since VS Code runs in a sandbox, it cannot directly access the host's Podman binary. We use host-spawn to bridge this gap.

Binary Preparation

Python Project Setup

Install UV

UNIX OS

To install:

curl -LsSf https://astral.sh/uv/install.sh | sh
@kenn
kenn / how-to-use.md
Last active November 29, 2025 17:33
SHA1-hulud Supply Chain Attack Scanner

SHA1-hulud Supply Chain Attack Scanner

A bash script to detect indicators of compromise from the SHA1-hulud npm supply chain attack.

Background

SHA1-hulud is a supply chain attack targeting npm packages discovered in late 2025. Attackers compromise legitimate npm maintainer accounts and publish malicious versions that execute code during npm install.

Reference: https://thehackernews.com/2025/11/second-sha1-hulud-wave-affects-25000.html

@maxim-saplin
maxim-saplin / README.md
Last active February 13, 2026 14:43
Kiro-like Spec-Driven Development (SDD) slash-commands for Cursor/GitHub Copilot

Slash commands enabling similar experience to Spec workflow in Kiro IDE.

  • Cursor - put the files [spec.md, task.md] to .cursor/commands folder
  • GitHub Copilot (VSCode) - put the files [spec.prompt.md, task.prompt.md] to .github/prompts folder

Un Agent mode call up /spec and /task commands to go through each of the phases:

  • /spec will produce requirements.md, design.md and tasks.md files under .specdev/specs/{feature-name} folder. You can use a single dialog to go through the Spec process and generate 3 artifacts OR create a new dialog for each stage of the Spec phase and pull in into context previously produced artifact. E.g. if you went through requirments stage (/spec let's work on Feautre 1. It shoudl do the following...) and have .specdev/spec/Feature 1/Requirements.md file just create a new dialog, type /spec and drag and drop the corresponding Requirements.md file
  • /tasks initiates the execution phase. Open up a new dialog, type /tasks and attach the `.specd
@nyanSpark
nyanSpark / aoostar_wtr_max.sh
Created September 15, 2025 19:54
AOOSTAR WTR MAX Help Guide for sensors and display configuration
# For Unraid 7.x / User Scripts or Terminal Commands
# AOOSTAR-X Service Start User Script
#!/bin/bash
cd /mnt/cache/appdata/AOOSTAR-X-linux && (nohup ./AOOSTAR-X > aoostar.log 2>&1 & echo $! > aoostar.pid && echo "PID saved to aoostar.pid" || { echo "❌ Failed to write PID file"; exit 1; })
# AOOSTAR-X Service Stop User Script
#!/bin/bash
PIDFILE="/mnt/cache/appdata/AOOSTAR-X-linux/aoostar.pid"
# Claude Code CLI Environment Variables
# This file lists all environment variables used in cli.js with explanations
process.env.__CFB - Internal Node.js buffer flag
process.env.__MINIMATCH_TESTING_PLATFORM__ - Testing flag for minimatch library platform detection
process.env.ALACRITTY_LOG - Alacritty terminal emulator log level configuration
process.env.ALIYUN_REGION_ID - Alibaba Cloud region identifier for Chinese cloud services
process.env.ANTHROPIC_API_KEY - Primary API key for authenticating with Anthropic's Claude API
process.env.ANTHROPIC_AUTH_TOKEN - Alternative authentication token for Anthropic services
process.env.ANTHROPIC_BASE_URL - Custom base URL for Anthropic API endpoints
@CypherpunkSamurai
CypherpunkSamurai / spec.md
Last active February 13, 2026 14:46
Kiro AI System Prompt

System Prompt

Identity

You are Kiro, an AI assistant and IDE built to assist developers.

When users ask about Kiro, respond with information about yourself in first person.

You are managed by an autonomous process which takes your output, performs the actions you requested, and is supervised by a human user.

You talk like a human, not like a bot. You reflect the user's input style in your responses.

@xthezealot
xthezealot / lyra.txt
Last active February 13, 2026 14:59
Lyra - AI Prompt Optimization Specialist
You are Lyra, a master-level AI prompt optimization specialist. Your mission: transform any user input into
precision-crafted prompts that unlock AI's full potential across all platforms.
## THE 4-D METHODOLOGY
### 1. DECONSTRUCT
- Extract core intent, key entities, and context
- Identify output requirements and constraints
- Map what's provided vs. what's missing
@Paraphraser
Paraphraser / intel-mac-sequoia-cron.md
Last active September 18, 2025 05:14
No route to host on macOS Sequoia

No route to host on macOS Sequoia

  • formerly "macOS Sequoia + HomeBrew + cron = pain!"

Each year as Apple's World Wide Developer Conference (WWDC) approaches, I start to think about upgrading macOS to the version that was released at WWDC the previous year. I reckon that's a good way of minimising your pain and suffering, not to mention giving developers a chance to patch things that got broken when the API goal-posts moved.

The end of May 2025 was when I decided to upgrade both a 2019-era Intel iMac and an Apple M2 MacBook from Sonoma 14.7.1 to Sequoia 15.5.

Aside from the seven fractions of eternity that macOS updates seem to demand these days, it all seemed to go swimmingly. The only explicit grizzle was from Carbon Copy Cloner, which wanted a later version (on my to-do list).