Life Hacks

"Insert cool description here"

Getting Super Powers

Becoming a super hero is a fairly straight forward process:

$ give me super-powers

Super-powers are granted randomly so please submit an issue if you're not happy with yours.

Once you're strong enough, save the world:

savetheworld.sh
# Code is still in the works...
echo 'You got to trust me on this, I saved the world'
logger.py
from datetime import datetime

RED = "\033[91m"
BLUE = "\033[94m"
GREEN = "\033[92m"
ORANGE = "\033[33m"
END = "\033[0m"

class Logger:
	def time():
		return datetime.now().strftime("%H:%M:%S")

	def info(msg):
		print(f"[{Logger.time()}] {BLUE}{msg}{END}")

	def warning(msg):
		print(f"[{Logger.time()}] {ORANGE}{msg}{END}")

	def error(msg):
		print(f"[{Logger.time()}] {RED}{msg}{END}")

	def success(msg):
		print(f"[{Logger.time()}] {GREEN}{msg}{END}")

	def debug(msg):
		print(f"[{Logger.time()}] {ORANGE}{msg}{END}")

Last updated