Skip to content

Instantly share code, notes, and snippets.

View bogorad's full-sized avatar

Eugene bogorad bogorad

View GitHub Profile
@bogorad
bogorad / SKILL.md
Created August 21, 2026 18:44
~/.dotfiles/agents/skills/nixos-configurations/SKILL.md
name nixos-configurations
description Use for NixOS configuration work in /persist/nix-config: flakes, dendritic layout, package sets, scripts outside .nix, Go/go run instead of Python, host/container/service patterns, and gated verification.

NixOS Configurations

Use this skill for NixOS host, container, LXC, Home Manager, module, overlay, package-set, service, build, deploy, and Nix documentation work in this repository.

@bogorad
bogorad / mvsvs.md
Created May 31, 2026 09:19
monit-vs-vector-syslog

For your narrowed case — monitor syslog/journald, flag errors, and call a script or URL when errors appear at any time — the comparison is:

Criterion Monit Vector Better fit
Core model Polling supervisor / local watchdog
@bogorad
bogorad / git-run.sh
Created April 20, 2026 18:43
git-run
#!/usr/bin/env bash
set -u
if [ $# -lt 1 ]; then
printf "Usage: %s <user/repo> [args...]\n" "$0" >&2
printf "Example: %s openai/codex --help\n" "$0" >&2
exit 1
fi
@bogorad
bogorad / no-fucking-shorts-on-youtube-com.js
Last active February 14, 2026 20:42
Remove shorts from youtube's front page
// ==UserScript==
// @name YouTube Auto-Hide Shorts (SPA Fixed)
// @namespace http://tampermonkey.net/
// @version 1.3
// @description Auto-hide dismissible video cards (Kills Shorts/Feed) but keeps /feed/you safe
// @match https://www.youtube.com/*
// @match https://youtube.com/*
// @exclude https://www.youtube.com/@*
// @exclude https://youtube.com/@*
// @exclude https://youtube.com/feed/@*
@bogorad
bogorad / devops-test-task.md
Last active January 14, 2026 13:54
reproducible infrastructure-as-code solution for secure, self-updating Hugo website server

The candidate's task is to build a reproducible infrastructure-as-code solution where Terraform provisions a Hetzner VPS and Cloudflare DNS, and Ansible configures a secure, self-updating Hugo website server.

Core Architecture

  1. Terraform (Infrastructure Layer)
    • Provider: hcloud (Hetzner) and cloudflare.
    • Compute: CX23 VPS (2 vCPU, 4GB RAM) in Nuremberg (nbg1).
    • Security:
      • Pre-configured SSH keys (referenced by name from Hetzner project).
  • Dedicated hcloud_firewall attached to the server allowing only TCP ports 22, 80, and 443.
@bogorad
bogorad / opencode.ps1
Last active January 13, 2026 13:19
Run opencode on windows using git-bash via server/client
# opencode.ps1 - Self-updating SST OpenCode wrapper (Windows)
<#
.SYNOPSIS
Self-updating wrapper for the SST OpenCode CLI on Windows.
.DESCRIPTION
This script manages the installation, update, and execution lifecycle of the opencode binary.
Key behaviors:
@bogorad
bogorad / dev-intro-str-forms.md
Created January 9, 2026 10:46
Developer Introduction to STR Forms

DEV-intro.md - Developer Introduction to STR Forms

Executive Summary

STR Forms is a multi-entity currency exchange ERP system built for local deployment (single Hetzner VPS). It handles transaction processing (5 types: exchange, expense, deposit, withdrawal, transfer), debt tracking, and financial reporting across multiple legal entities within a single organization. The system serves 4 user roles (admin, accountant, cashier, viewer) with role-based access control and entity-level data isolation.

Primary use case: Cashiers process currency exchanges at exchange bureaus. Accountants track expenses and generate P&L reports. Admins manage users, entities, wallets, and periods. Viewers (typically business owners) have read-only access to all reports.

Scale expectations: ~$1M daily transaction volume across 3 entities, 5-10 concurrent users. Single-tenant, single-instance deployment.

@bogorad
bogorad / 2026-01-08-hermes-bot-mvp-design.md
Last active January 31, 2026 19:06
# Hermes Bot MVP - Technical Design

Hermes Bot MVP - Technical Design

Date: 2026-01-08
Status: Approved
Version: 2.0 (Simplified - No Scraping Required)

Executive Summary

Hermes Bot is a subscription service that notifies customers when specific Hermes products become available in their chosen country. The system leverages shengsho.com's email notifications which already contain complete product data (name, price, SKU, direct Hermes URL, images) - eliminating the need for web scraping entirely.

@bogorad
bogorad / MIRYOKU-CHUCK.md
Created January 1, 2026 17:13
My current Miryoku modification architecture
@bogorad
bogorad / TR-ENERGY-Wallet-onboarding.md
Last active January 13, 2026 13:22
Wallet - Venue-Assisted Onboarding

TR.ENERGY Wallet - Venue-Assisted Onboarding

Document Type: Onboarding Flow Specification
Date: December 29, 2025
Status: READY FOR IMPLEMENTATION
Target: EU (MiCA) compliant, staff-assisted venue onboarding


EXECUTIVE SUMMARY