Skip to content

Instantly share code, notes, and snippets.

View StarNumber12046's full-sized avatar
🏠
Maybe working from home

StarNumber StarNumber12046

🏠
Maybe working from home
  • localhost:12046
  • 11:42 (UTC +02:00)
View GitHub Profile
@StarNumber12046
StarNumber12046 / archtweaks.txt
Last active August 8, 2022 07:54
Extensions Sync
.
/**
* @name DTM-16-V5
* @author 11pixels#2004
* @version 5
* @invite vUN9sNW
* @description A remake of DTM-16
* @source https://github.com/XYZenix/XYZenixThemes/blob/master/DTM-16.theme.css
*/
:root {
--showRtcConnectionStatusIcon: block;
@StarNumber12046
StarNumber12046 / bettercmd.py
Last active May 20, 2021 13:30
A cmd but better
import os
os.system("pip install termcolor")
import termcolor, subprocess
while True:
val = input("> ")
if os.system(val) == 0:
termcolor.cprint(text="OK!", color="green", attrs=["bold"])
else:
@StarNumber12046
StarNumber12046 / embed.py
Created January 23, 2021 09:11
DISCORD.PY info embed
#N.B. this is a cog that requires a main bot
import discord
from discord.ext import commands
import time
import psutil
import platform
class info(commands.Cog):
def __init__(self, bot):
self.bot = bot