Skip to content

Instantly share code, notes, and snippets.

View Hades32's full-sized avatar
😬

Martin Rauscher Hades32

😬
View GitHub Profile
@Hades32
Hades32 / how-codex-makes-electron-feel-snappy.md
Last active July 28, 2026 08:17
Uncovering how the Codex App makes Electron feel snappy

Uncovering how the Codex App makes Electron feel snappy

I was surprised by how responsive the Codex desktop app feels, so I traced its process tree and inspected the packaged application.

The short answer: the main UI really is Electron. It is just a notably well-architected Electron app.

These are independent observations from one locally installed build, not official OpenAI documentation. Details may change.

Is the whole interface Electron?

@Hades32
Hades32 / SKILL.md
Created June 30, 2026 06:51 — forked from fofr/SKILL.md
An agent skill for writing in the GOV.UK style
name govuk-style
description Write and edit in GOV.UK / GDS house style — plain English, active voice, front-loaded content, sentence case, and no bold or italics for emphasis. Use when writing or editing reports, research write-ups, guidance, documentation, summaries, or any prose where clarity and accessibility matter.
user-invokable true
args
name description required
target
The document or text to write or rewrite in GOV.UK style (optional)
false
@Hades32
Hades32 / Vector.svg
Created January 10, 2024 15:12
Fancy SVG box
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@Hades32
Hades32 / Dockerfile
Last active June 23, 2022 10:38
Fast SVG rendering with Go binding
FROM golang:1.18
RUN apt update && apt install -y librsvg2-dev && apt-get clean
WORKDIR /go/playground
COPY . .
RUN go build
@Hades32
Hades32 / 01-setup-system.network.sh
Created April 12, 2020 08:05
Grafana+Prometheus for home network monitoring
#!/bin/bash
docker network create mynet
useradd --system container-user
mkdir -p /data/prom/config/ /data/prom/data/ /data/grafana/data/ /data/meshping/redis/
chown -R container-user /data/prom/config/ /data/prom/data/ /data/grafana/data/ /data/meshping/redis/
@Hades32
Hades32 / fail.js
Created January 18, 2020 14:06
vodafone station endless loop
for(i=0 ; i<getdata['StaticNHostTable'].length ; i++) {
if(index != null) {
if(index == i) {
tt.find('span.inner-dropbox').text(getdata['StaticNHostTable'][i]['HostName']);
MAC = (getdata['StaticNHostTable'][i]['MAC']).split(":");
IP = (getdata['StaticNHostTable'][i]['IP']).split(".");
for(j=0; j<6; j++){
tt.find('.extra_mac_address'+(j+1)).text(MAC[j]);
}
@Hades32
Hades32 / kill.sh
Last active April 30, 2020 09:13
Instant k3s cluster on Scaleway
#!/bin/bash
set -euo pipefail
server_name=$1
region=${2:-"par1"}
function fix_scw {
# there is currently a bug in scw that causes failures when (re)using servernames with '-' in it
rm ~/.scw-cache.db || true
}
@Hades32
Hades32 / main.go
Created October 19, 2019 22:36
Azure EventHub with Go experiment
package main
// MIT License
//
// Copyright (c) Martin Rauscher. All rights reserved.
//
// Permission is hereby granted, free of charge, to any person obtaining a copy
// of this software and associated documentation files (the "Software"), to deal
// in the Software without restriction, including without limitation the rights
// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
// copies of the Software, and to permit persons to whom the Software is
@Hades32
Hades32 / JwtSecurityConfig.kt
Created November 12, 2018 00:21
Handling JWT Validation with only RSA X.509 Public Key
package mn.max
import io.micronaut.context.annotation.Value
import io.micronaut.security.token.jwt.signature.rsa.RSASignatureConfiguration
import java.security.KeyFactory
import java.security.interfaces.RSAPublicKey
import java.security.spec.X509EncodedKeySpec
import java.util.*
import javax.inject.Named
import javax.inject.Singleton
@Hades32
Hades32 / fizzlefade.html
Last active December 30, 2017 13:51 — forked from edco/fizzlefade.html
add possibility to break (obvious) determinism
<!DOCTYPE html>
<html>
<head><title>Javascript RT</title></head>
<style>canvas {width: 1280px; height: 768px}</style>
<body>
<canvas id="framebuffer"></canvas>
<script type="text/javascript">
/* Fizzlefade using a Feistel network.