Skip to content

Instantly share code, notes, and snippets.

View JacobBumgarner's full-sized avatar
🤖
Learning

Jacob Bumgarner JacobBumgarner

🤖
Learning
View GitHub Profile

This gist provides an overview of vector (in the form of lists) ranking in Python. Ties are resolved using averages of the ranks for the tied numbers.

I translated this solution to Python from C++ by studying René Richter's StackOverflow answer.

@JacobBumgarner
JacobBumgarner / README.md
Last active November 13, 2024 04:59
macOS Shortcuts on Windows

macOS Shortcuts on Windows

I prefer macOS keyboard shortcuts. I work on macOS by day and have a PC by night (WSL2 for dev), and I like homogeny.

To have a uniform development experience across multiple operating systems, I used PowerToys to create an extensive keyboard remapping of macOS shortcuts to Windows.

Mapping Overview

Briefly, the Left Alt⎇ key is remapped to match the Left Cmd ⌘ key, and the Left Windows ⊞ key is remapped to match the Left Option ⌥ key. The Left Windows ⊞ key was accordingly relocated to the original Left Ctrl ^ key position. After this, several dozen shortcut mappings were added.