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, time | |
clear = lambda: os.system("clear") | |
# credits to tuvokki on github for this | |
class bcolors: | |
HEADER = "\033[95m" | |
OKBLUE = "\033[94m" | |
OKGREEN = "\033[92m" |
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 io import TextIOWrapper | |
import os | |
from tkinter import * | |
from tkinter import filedialog, colorchooser, font | |
from tkinter.messagebox import * | |
from tkinter.filedialog import * | |
current_file = "untitled.txt" |
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
# [put in ~/.bashrc (open with vim or nano)] | |
alias ghrmr='gh repo delete' | |
# create repo then push it automatically | |
alias ghmkr='gh repo create && git push;' | |
# use this command run custom sub-commands on the backup repo | |
bkup() { | |
orig_dir=$(pwd) | |
if cd $(pwd).bak; then | |
"$@" |