This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Remaps macOS keyboard shortcuts as follows. I need this mainly | |
-- because I'm so used to these keys in Chrome, but they are not built | |
-- into Safari and I have not found a builtin way in macOS to add | |
-- these keyboard shortcuts to Safari. | |
-- | |
-- Intercepted shortcut Sends instead Desired function | |
-- -------------------- ------------- ---------------- | |
-- Ctrl-PageUp Ctrl-Shift-Tab Show Previous Tab | |
-- Ctrl-PageDown Ctrl-Tab Show Next Tab | |
-- Ctrl-LeftArrow Ctrl-Shift-Tab Show Previous Tab |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- | |
-- Bind keyboard shortcuts to macOS media key actions. | |
-- For example, bind F11/F12 to volume down/up. | |
-- | |
-- If binding to a function key doesn't work work, check: | |
-- System Preferences > Keyboard > Shortcuts | |
-- for a shortcut that is already using the function key. | |
-- For example, F11 is usually bound to Show Dashboard. | |
-- Even if that shortcut is unchecked, it can interfere. | |
-- Make sure the shortcut is set to some other key. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# | |
# reproduces a screen drawing bug in Panic Prompt v1.3.2 | |
# reported by fjarlq on August 13, 2012 | |
# | |
# good v1.3.1 behavior: counts on your screen from 0 to 9, updated each second | |
# | |
# bad v1.3.2 behavior: it counts 0 and then 1 and then the counting stops | |
# |