Skip to content

Instantly share code, notes, and snippets.

@Wisdawms
Wisdawms / moving_words.py
Created March 16, 2024 13:57
kinda cool moving words effect in python along the employment of bcode colors.
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"
@Wisdawms
Wisdawms / texteditor.py
Last active March 10, 2024 00:08
text_editor_tkinter
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"
@Wisdawms
Wisdawms / .bashrc
Last active June 2, 2024 19:58
my custom .bashrc and .gitconfig commands/aliases for git/github
# [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
"$@"