Skip to content

Instantly share code, notes, and snippets.

{
"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 / PIA JDownloader Reconnect.md
Last active April 25, 2024 01:09
Script to get new IP addresses in JDownloader by reconnecting Private Internet Access

PIA JDownloader Reconnect

Windows

Script to get new IP addresses in JDownloader by reconnecting Private Internet Access.

  1. Go to Settings -> Reconnect
  2. Tick all three checkboxes.
  3. Set method to External Batch Reconnect
  4. Set interpreter to cmd /c
@flostellbrink
flostellbrink / Jindosh Riddle as a Constraint Satisfaction Problem.md
Last active September 9, 2021 15:35
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.

@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.