This file contains 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
/** | |
* Adapted from scripts by Chris Dhanaraj, Pavel Pevnitskiy, and Taran Van Hemert | |
* | |
* https://medium.com/@chrisdhanaraj/mapping-your-macos-keybinds-to-windows-b6009c50065b | |
* https://gist.github.com/fljot/58e46c92e99e7072ab56 | |
* https://github.com/TaranVH/2nd-keyboard/blob/master/Taran's_Windows_Mods/Alt_menu_acceleration_DISABLER.ahk | |
* | |
* This script assumes some keys have been remapped in the Windows registry | |
* to behave closer to a macOS keyboard layout. This key remapping can be | |
* done using SharpKeys or a similar program. |
This file contains 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
import os | |
import filecmp | |
import re | |
codes = {200: 'success', 404: 'file_name not found', | |
400: 'error', 408: 'timeout'} | |
class program: | |
"""Class that handles all nitty gritties of a user program""" |
This file contains 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
/* ~/Library/KeyBindings/DefaultKeyBinding.Dict | |
This file remaps the key bindings of a single user on Mac OS X 10.5 to more | |
closely match default behavior on Windows systems. This makes the Command key | |
behave like Windows Control key. To use Control instead of Command, either swap | |
Control and Command in Apple->System Preferences->Keyboard->Modifier Keys... | |
or replace @ with ^ in this file. | |
Here is a rough cheatsheet for syntax. | |
Key Modifiers |