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 / spec.md
Created February 13, 2026 14:46 — forked from CypherpunkSamurai/spec.md
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.

@thimslugga
thimslugga / README.md
Created February 13, 2026 14:43 — forked from maxim-saplin/README.md
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
@thimslugga
thimslugga / gist:2bd1cebede296bfe8129221c3012826b
Created February 12, 2026 13:39 — forked from rtrouton/gist:3ac68ac3770ab23ebae354c581f526b7
MigrateADMobileAccountToLocalAccount.command script
#!/bin/bash
# Modified 4/5/2019
Version=1.4
# Original source is from MigrateUserHomeToDomainAcct.sh
# Written by Patrick Gallagher - https://twitter.com/patgmac
#
# Guidance and inspiration from Lisa Davies:
# http://lisacherie.com/?p=239
#
# Modified by Rich Trouton
@thimslugga
thimslugga / active_directory_plug-in_helper.sh
Created February 12, 2026 13:38 — forked from macsimom/active_directory_plug-in_helper.sh
An attempt at a bandaid for AD bound Macs that lose their bind due to corrupted credentials
#!/bin/bash
# version 1.4 - Simon Andersen
# set -x
export PATH="/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
DSCONFIGADOUTPUT="$(dsconfigad -show -xml)"
COMPUTERACCOUNT="$(/usr/libexec/PlistBuddy -c "Print ':General Info:Computer Account'" /dev/stdin <<<"$DSCONFIGADOUTPUT")"
if [[ -z "$COMPUTERACCOUNT" ]]; then
echo "Fatal error - No computer account name found"
@thimslugga
thimslugga / Pretraining-LLM.md
Created February 10, 2026 03:50 — forked from ritwikraha/Pretraining-LLM.md
Pretraining of Large Language Models

Pretraining


A Map for Studying Pre-training in LLMs

  • Data Collection
    • General Text Data
    • Specialized Data
  • Data Preprocessing
    • Quality Filtering
  • Deduplication
@thimslugga
thimslugga / ai-agent-rule-instruction-context-files.md
Created February 4, 2026 18:09 — forked from 0xdevalias/ai-agent-rule-instruction-context-files.md
Some notes on AI Agent Rule / Instruction / Context files / etc

AI Agent Rule / Instruction / Context files / etc

Some notes on AI Agent Rule / Instruction / Context files / etc.

Table of Contents

@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
@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