Skip to content

Instantly share code, notes, and snippets.

View senko's full-sized avatar

Senko Rašić senko

View GitHub Profile
@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",
# ]
@senko
senko / minesweeper-gpt41.html
Created April 15, 2025 10:46
Minesweeper - single shot implementation by GPT 4.1
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Minesweeper Clone</title>
<style>
body {
font-family: sans-serif;
background: #222;
color: #eee;
@senko
senko / minesweeper.html
Created March 26, 2025 16:47
Minesweeper - single shot, Google Gemini 2.5 Pro
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Simple Minesweeper</title>
<style>
body {
font-family: sans-serif;
display: flex;
@senko
senko / gist:353b182a754704de6783a071391732d6
Created March 5, 2025 09:00
LinkedIn announcement blocker filter
! Add this to your custom filters in uBlock Origin or other blocker extension
||media.licdn.com/media/AAYQA*.gif$image
@senko
senko / slides.html
Created December 6, 2024 09:41
lo-fi slides proof of concept
<!DOCTYPE html>
<html lang="hr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<style>
html,body {
margin: 0; padding: 0; height: 100%; width: 100%;
font-family: sans-serif; background: #fff;
display: flex; align-items: center; justify-content: center;
@senko
senko / clean-transient-folders
Last active November 13, 2023 07:27
Clean ~/Downloads and ~/Pictures/Screenshots on Linux - remove old files and empty directories
#!/bin/bash
#
# Written by Senko Rasic <[email protected]> and released unto Public Domain.
#
# Save this to ~/.local/bin/clean-transient-folders. Then add it to
# your user crontab with a rule like this:
#
# # Run this every day at 5am
# 0 5 * * * /home/<user>/.local/bin/clean-transient-folders
#