Skip to content

Instantly share code, notes, and snippets.

View codeFlane's full-sized avatar

codeflane codeFlane

View GitHub Profile
@codeFlane
codeFlane / pygetcputemp.py
Last active July 1, 2025 06:40
Getting CPU temperature using WinTmp module, print using text2art, window editing using win32gui. Requirements: pywin32 art rich
from art import text2art
import WinTmp
import pyuac
from rich import print
from time import sleep
from os import system
import win32gui
import win32con
if not pyuac.isUserAdmin():
@codeFlane
codeFlane / video_stream.py
Created May 3, 2025 14:16
Video streamer
from climage import convert
from os import get_terminal_size, listdir, system, name, makedirs, path
from PIL import Image
from time import sleep, time
import cv2
import keyboard
import sounddevice as sd
import soundfile as sf
import pygame
import threading