Skip to content

Instantly share code, notes, and snippets.

View flostellbrink's full-sized avatar
🦉

Florian Stellbrink flostellbrink

🦉
View GitHub Profile
{
"description": "⌘-enter to send in Apple Mail",
"manipulators": [
{
"conditions": [
{
"bundle_identifiers": [
"com.apple.mail"
],
"description": "Only for Apple Mail",
@flostellbrink
flostellbrink / Karabiner Rules.md
Last active December 29, 2023 14:52
Karabiner Rules

Karabiner rules for easier mail and safari shortcuts.

  • Maps ⌘-r to refresh emails.
  • Maps ⌘-enter to send emails.
  • Maps ⌘- to switch to safari profile.
@flostellbrink
flostellbrink / Jindosh Riddle as a Constraint Satisfaction Problem.md
Last active December 10, 2025 19:03
Jindosh Riddle as a Constraint Satisfaction Problem

Jindosh Riddle as a Constraint Satisfaction Problem

In Dishonored 2 players encounter a version of the Zebra Puzzle that opens up a shortcut. These riddles are generated for each player so there isn't a single solution. Instead this script formulates them as a constraint satisfaction problem that is solved automatically.

uv run https://gist.githubusercontent.com/flostellbrink/cd735dd366e2bd3e1ced52a3c8d44b6c/raw/87861c20544fbf095daad647ed2fcc287be5fa7a/jindosh_constraint.py
@flostellbrink
flostellbrink / Flash Air Media Uploader.md
Last active September 9, 2021 15:29
FlashAir Media Uploader

FlashAir Media Uploader

Script that iterates over all photos and movies saved on an SD card and uploads them to an HTTP endpoint. Uploaded files are renamed. A tiny node server receives the files.