Skip to content

Instantly share code, notes, and snippets.

filepath
AGENTS.md

AGENT Guidelines

  • Before making changes, read .instructions/general.instructions.md and any relevant instructions inside .instructions/apps or .instructions/packages for the files you plan to modify.
  • Keep TypeScript strictly typed. Do not use @ts-ignore or ESLint disable comments.
  • Always run pnpm typecheck to ensure your code is working. This also builds any needed deps. So do this anytime you cross a package boundary.
  • Use pnpm lint to check for linting errors and code style.
  • Use pnpm format -w to format all packages before committing.
@gotomypc
gotomypc / claude-code-prompt.txt
Created August 26, 2025 14:35 — forked from CypherpunkSamurai/claude-code-prompt.txt
Claude Code System Prompt
'system':
[
{
'type': 'text',
'text': "You are Claude Code, Anthropic's official CLI for Claude.",
'cache_control': {'type': 'ephemeral'}
},
{
'type': 'text',
'text': 'You are an interactive CLI tool that helps users with software engineering tasks.
@gotomypc
gotomypc / spec.md
Created August 26, 2025 03:25 — 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.

@gotomypc
gotomypc / supervised_swarm.py
Created August 7, 2025 09:47 — forked from cnndabbler/supervised_swarm.py
This script implements a sophisticated movie purchase system using OpenAI's Swarm framework for multi-agent orchestration. The system handles the entire flow from movie selection to shipping using specialized AI agents working in concert.
"""
Movie Purchase System with Multi-Agent Orchestration
This script implements a sophisticated movie purchase system using OpenAI's Swarm framework
for multi-agent orchestration. The system handles the entire flow from movie selection to
shipping using specialized AI agents working in concert.
Key Components:
- Supervisor Agent: Orchestrates the overall purchase flow
- Buy Movie Agent: Handles pricing and purchase transactions

🔍 Google Dorking: Hacking with Google

"Google is your best friend... if you know how to ask."


📖 What is Google Dorking?

Google Dorking (or Google Hacking) is an advanced technique used to refine Google searches using specific operators to uncover hidden or sensitive information exposed on the web. This method is widely used in:

@gotomypc
gotomypc / OpenCV_Build-Guide.md
Created May 11, 2025 12:51 — forked from minhhieutruong0705/OpenCV_Build-Guide.md
Guide to build OpenCV from Source with GPU support (CUDA and cuDNN)

Guide to build OpenCV from source with GPU support (CUDA and cuDNN)

Feb 22nd, 2022

System specification

  • Operating system: Ubuntu 20.04 x84_64 (64-bit)
  • Architecture: amd64
  • GPU: NVIDIA GeForce RTX 3090
  • Python 3.8

Install dependencies and recommeneded packages

@gotomypc
gotomypc / Dockerfile
Created January 26, 2023 16:51 — forked from mthrok/Dockerfile
TorchAudio 0.10.2 minimum compilation example
FROM nvidia/cuda:11.3.1-cudnn8-devel-ubuntu20.04
ARG PYTHON_VERSION=3.9
ARG CU_VERSION=11.3
ARG PYTORCH_VERSION=1.10.2
ARG TORCHAUDIO_TAG=v0.10.2
RUN apt update && apt install -y -qq git curl && apt autoremove && apt autoclean
RUN git clone https://github.com/pytorch/audio.git
@gotomypc
gotomypc / download.cpp
Created December 25, 2022 03:44 — forked from ericdke/download.cpp
C++: Download a file using HTTP GET and store in in a std::string
/**
* HTTPDownloader.hpp
*
* A simple C++ wrapper for the libcurl easy API.
*
* Written by Uli Köhler (techoverflow.net)
* Published under CC0 1.0 Universal (public domain)
*/
#ifndef HTTPDOWNLOADER_HPP
#define HTTPDOWNLOADER_HPP
@gotomypc
gotomypc / tensorflow_serving_ubuntu_14.md
Created December 25, 2022 01:22 — forked from gvanhorn38/tensorflow_serving_ubuntu_14.md
TensorFlow Serving Ubuntu 14.04

Instructions for installing TensorFlow Serving on Ubuntu 14.04. I am following the instuctions from here.

Install Bazel

Installation instructions can be found here

If you have a previous version of bazel, and you are trying to do a fresh install then you should remove your old version of bazel. If you installed it through apt, then you can do sudo apt-get purge bazel. If you installed it from source, then you probably have a ~/bin directory with the bazel command, which you should delete, and you probably have a ~/.bazel directory that you should delete. Also check your ~/.bashrc file for any links to ~/.bazel.

  1. Install JDK 8 You'll need the add-apt-repository command, which you can get by doing sudo apt-get install software-properties-common

Tensorflow Serving Tutorial - 01 - Public Inception Model

In this tutorial:

  • Start with a blank Ubuntu
  • Install requirements
  • Download code & pre-tranied inception-v3 model from Google
  • Export the downloaded "checkpoint" format to a TF Graph that is servable with Tensorflow Model Serving
  • Query the server with images of a cat and a dog

General Notes

  • Compiling Tensorflow Serving from source (on docker with their official instructions) produces an internal gcc error (probably specific to tensorflow commit / gcc version used when writing this: tf serving commit: c1ec43508ee57a5d6269116aba82d2a16d383c8a)