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 sys | |
from xml.sax import parse | |
from xml.sax.saxutils import XMLGenerator | |
class CycleFile: | |
def __init__(self, filename): | |
self.basename, self.ext = os.path.splitext(filename) | |
self.index = 0 |
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
# Resets fish terminal colors. Uses named colours instead of specific hex | |
# values so that it integrates better with terminal colour themes. | |
set fish_color_autosuggestion brblack | |
set fish_color_cancel -r | |
set fish_color_command --bold | |
set fish_color_comment red | |
set fish_color_cwd_root red | |
set fish_color_cwd green | |
set fish_color_end brmagenta |
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 snippets for VS Code | |
{ | |
"class": { | |
"prefix": "cls", | |
"body": [ | |
"class ${1:ClassName}:", | |
"\tdef __init__(self):", | |
"\t\tself.$2 = $2$0" | |
], | |
"description": "Code snippet for class without parameters" |