Skip to content

Instantly share code, notes, and snippets.

View senko's full-sized avatar

Senko Rašić senko

View GitHub Profile
@senko
senko / pingu-prompt.md
Created March 21, 2026 16:08
Pingu website checker initial prompt

First let's scope this out:

  1. internal tool - login (username+password), but no registration; no "reset password" flow either, I can always access the db manually if I really need to
  2. nice, simple, functional web interface to list web URLs that are checked, with their status (up or down) and last check, ability to add, modify or remove checks. on details of every check, show checks history for the past 24h and availability chart for longer periods in the past.
  3. for each config: 1. url to hit, 2. method (default is GET); 3. headers (if any); 4. body (if method is POST or PUT); allowed statuses (tags/labels with multiple select or can be manually entered; default 200, 201, 204); timeout (default 10s)
  4. tech : backend: python (use "uv" for managing the project), django for backend, use sqlite for database. django management command that will run every minute and should run the checks (the checks themselves should be in parallel to avoid spending too much time, so use async for just that small part - every
@senko
senko / index.html
Created March 5, 2026 20:39
RTS game by GPT-5.4
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Frontier Command RTS</title>
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&family=Rajdhani:wght@400;600;700&display=swap" rel="stylesheet" />
<style>
@senko
senko / index.html
Created February 5, 2026 19:17
RTS game by Opus 4.6
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Conquest RTS</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { width: 100%; height: 100%; overflow: hidden; background: #000; font-family: 'Segoe UI', Arial, sans-serif; }
#game { display: block; cursor: default; }
@senko
senko / index.html
Created February 5, 2026 19:16
RTS game by Codex 5.3
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mini RTS</title>
<style>
:root {
--bg: #0f151d;
--panel: #1c2733;
@senko
senko / dictat.py
Created November 6, 2025 08:20
Dictat - simple dictation+transcription app for GNOME in Python, using PipeWire and Whisper
#!/usr/bin/env -S uv run -s
"""
Dictat - A simple dictation and transcription app for GNOME
Records audio using PipeWire (pw-record) and transcribes using local Whisper.
"""
# /// script
# requires-python = ">=3.13"
# dependencies = [
@senko
senko / minesweeper-gpt5-nano.html
Created August 8, 2025 07:39
GPT-5 nano zero-shotting Minesweeper
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Minesweeper Mini</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<style>
:root{
--bg: #0f1220;
--panel: #181a2a;
@senko
senko / minesweeper-gpt5-full.html
Created August 8, 2025 07:34
GPT-5 (full) zero-shotting Minesweeper
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Minesweeper — Pure HTML/CSS/JS</title>
<style>
:root{
--bg: #0f1226;
--surface: #171a37;
@senko
senko / minesweeper-qwen3-coder.html
Created July 23, 2025 11:17
Qwen3-coder single-shotting Minesweeper
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Minesweeper</title>
<style>
* {
box-sizing: border-box;
margin: 0;
@senko
senko / minesweeper-kimi-k2.html
Created July 18, 2025 08:20
Kimi K2 single-shotting minesweeper on Groq
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Minesweeper Clone</title>
<style>
body {
font-family: Arial, sans-serif;
display: flex;
@senko
senko / qrgen.py
Created May 23, 2025 14:42
QR Code generator app for GTK/GNOME
#!/usr/bin/env -S uv run -s
# This script generates a QR code from a string input and displays it in a GTK window.
# /// script
# requires-python = ">=3.13"
# dependencies = [
# "pillow>=11.2.1",
# "pygobject==3.50.0",
# "qrcode>=8.2",
# ]