Skip to content

Instantly share code, notes, and snippets.

View cartersusi's full-sized avatar
🌛

Carter Susi cartersusi

🌛
View GitHub Profile
@cartersusi
cartersusi / apptop.py
Created October 2, 2024 04:13
Mac powermetrics monitor
from re import compile
from colorama import Fore, Back, Style, init
from asyncio import subprocess, CancelledError, create_subprocess_exec, wait_for, all_tasks, get_event_loop
from argparse import ArgumentParser
from signal import signal, SIGINT
from warnings import filterwarnings
from time import sleep
filterwarnings("ignore", category=DeprecationWarning)
init(autoreset=True)
@cartersusi
cartersusi / go.mod
Last active August 16, 2024 16:07
Go - One Billion Row Challenge
module 1brc
go 1.22.6
require golang.org/x/exp v0.0.0-20240808152545-0cdaa3abc0fa