Skip to content

Instantly share code, notes, and snippets.

View simonholm's full-sized avatar
:octocat:

Simon Holm simonholm

:octocat:
View GitHub Profile
@simonholm
simonholm / shell-function-annotation-standard.md
Created November 12, 2025 07:41
Shell function annotation standard

Shell Function Annotation Standard

Purpose

Maintain clarity in shell configuration files by documenting function origin, purpose, and status.

Standard Template

# =============================================================================
# Function: <function_name>
# Added: 
@simonholm
simonholm / tech-issue-reporting.md
Created November 12, 2025 07:25
Tech issue reporting guide

Quick Tech Issue Reporting Guide

The Problem

Vague reports like "status issues" or "operational disturbance" require multiple clarification rounds.

Solution Pattern

Subject + Specific Problem

Examples

@simonholm
simonholm / tech-issue-reporting.md
Created November 12, 2025 07:22
Tech issue reporting guide

Quick Tech Issue Reporting Guide

The Problem

Vague reports like "status issues" or "operational disturbance" require multiple clarification rounds.

Solution Pattern

Subject + Specific Problem

Examples

@simonholm
simonholm / gist:c4092b51740d659207ab92f3a2aecf57
Created November 11, 2025 06:18
ChatGPT quirkiness and behavioral notes
# ChatGPT Quirkiness & Behavioral Notes
A structured log of ChatGPT-specific behaviors, formatting quirks, and conversational inconsistencies observed during practical use.
*(Focus: patterns, not complaints — this aims to document reproducible phenomena for reference or debugging.)*
---
## 1. Formatting & Markdown Rendering
- **Code Block Handling:**
@simonholm
simonholm / clip.txt
Created November 6, 2025 06:56
Termux clipboard 2025-11-06T07:56:55+01:00
Platform / Tier Matrix (approximate alignment - Nov 2025)
┌────────────────────┬─────────────────────────────┬──────────────────────────────┬──────────────────────────────┬──────────────────────────────┐
│ Feature Level │ OpenAI ChatGPT │ Anthropic Claude │ Google Gemini │ GitHub Copilot │
├────────────────────┼─────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ Free / Basic │ GPT-5 (Free) │ Claude Free (Haiku model) │ Gemini Free (Nano model) │ Copilot Free (limited AI) │
│ │ Short context, no tools │ Short context, slower │ Short context, text only │ Limited completions │
├────────────────────┼─────────────────────────────┼──────────────────────────────┼──────────────────────────────┼──────────────────────────────┤
│ Mid / Consumer │ ChatGPT Plus (≈ $20) │ Claude Pro (≈ $20) │ Gemin
@simonholm
simonholm / snippet.txt
Created October 25, 2025 19:08
Clipboard snippet
# Codex CLI on Termux — Full Summary (Unofficial Native Build)
## ✅ Overview
You successfully built and ran the real **OpenAI Codex CLI** natively on Termux.
It logs in, executes models (e.g., `gpt-5-codex`), and runs the MCP server help.
This is a legitimate source build — not an exploit — but **unofficial** and **unsupported** by OpenAI.
---
## 🧩 Steps Performed
@simonholm
simonholm / cargo-update-explained.md
Created October 5, 2025 06:07
cargo update explained

cargo-update Explained

Overview

cargo-update is a community-maintained Cargo subcommand that manages updates for binaries installed with cargo install.
It is not part of the official Cargo distribution, but it’s widely trusted and behaves like a native command after installation.


Installation

Running OpenAI Codex CLI in Termux (Android, aarch64)

Problem

  • The official npm package (@openai/codex) ships prebuilt binaries (codex-aarch64-unknown-linux-musl).

  • Android’s Bionic libc rejects them with:

    error: "…/codex-aarch64-unknown-linux-musl" has unexpected e_type: 2

  • Result: the CLI doesn’t launch in Termux.

@simonholm
simonholm / register_remover.ps1
Created August 3, 2025 07:01
register remover paste
$logFile = "$env:USERPROFILE\stealth_app_monitor.log"
$scanTime = Get-Date -Format "yyyy-MM-dd HH:mm:ss"
"`n[Scan started: $scanTime]" | Out-File -FilePath $logFile -Append
# 1. Scan LocalAppData user programs (per-user installs)
$appDirs = Get-ChildItem "$env:LOCALAPPDATA\Programs" -Directory -ErrorAction SilentlyContinue
$registeredApps = Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*" -ErrorAction SilentlyContinue | Select-Object -ExpandProperty DisplayName
foreach ($app in $appDirs) {

ChatGPT Agent Launch Summary (Sam Altman Statement)

🆕 Product Overview

  • Name: ChatGPT Agent
  • Type: Local autonomous AI system
  • Functionality:
    • Executes complex, multi-step tasks using tools
    • Can operate over time with internal "reflection" cycles
    • Examples:
  • Personal: Buy clothes, book travel, choose gifts