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 json | |
import platform | |
file = "config.json" | |
if platform.system().lower() == "windows": | |
win_dir = "C:/Users/Public/appdata" | |
win_path = os.path.join(win_dir, file) | |
with open(win_path) as config_file: |
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
#!/bin/bash | |
REDBOLD='\e[1;31m' | |
GREENBOLD='\e[1;32m' | |
BOLD='\e[1m' | |
NORMAL='\e[97;0m' | |
# Make sure commited python files are formatted using black | |
# | |
# Needs work - but usable. | |
# |
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
"===STANDARD | |
set number | |
set cursorline | |
set linespace=10 | |
"===SEARCH | |
set incsearch | |
set hlsearch | |
"===PYTHON |