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
from glob import glob | |
from os.path import join, exists, basename, dirname | |
from lxml import etree | |
# Input | |
res_path = r'/Users/dennyweinberg/git-clones/android-photos/app/src/main/res' | |
languages_to_extract = ['', 'it'] | |
def get_translations(incl_non_translatable): |
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
{ | |
"title": "DWE", | |
"rules": [ | |
{ | |
"description": "Mouse", | |
"manipulators": [ | |
{ | |
"description": "Mouse back (Not for RDP)", "type": "basic", | |
"from": {"pointing_button": "button4"}, "to": [{"key_code": "left_arrow", "modifiers": ["command"]}], | |
"conditions": [ |
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
{ | |
"python.testing.unittestArgs": [ | |
"-v", | |
"-s", | |
"./tests", | |
"-p", | |
"test_*.py" | |
], | |
"python.testing.pytestEnabled": false, | |
"python.testing.unittestEnabled": true, |
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
{ | |
"title": "DWE", | |
"rules": [ | |
{ | |
"description": "Keyboards", | |
"manipulators": [ | |
{ | |
"description": "Space is switch to external keyboard input source", "type": "basic", | |
"from": {"key_code": "spacebar"}, "to": [{"select_input_source": {"input_source_id": "com.apple.keylayout.German-DIN-2137"}}, {"key_code": "spacebar"}], |
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
{ | |
"title": "DWE", | |
"rules": [ | |
{ | |
"description": "RDP", | |
"manipulators": [ | |
{ | |
"type": "basic", "description": "Completely disabled the windows key (Startmenu)", | |
"from": { "key_code": "left_command" }, | |
"to": [ { "key_code": "left_control" } ], |