Skip to content

Instantly share code, notes, and snippets.

View chthollyphile's full-sized avatar

chthollyphile

View GitHub Profile
@chrisbu
chrisbu / gist:687cafefb87e0ddb3cb2d73301a9c64d
Last active June 11, 2025 06:42
Install LLAMA CPP PYTHON in WSL2 (jul 2024, ubuntu 24.04)
# Might be needed from a fresh install
sudo apt update
sudo apt upgrade
sudo apt install gcc
# Might be needed, per: https://docs.nvidia.com/cuda/wsl-user-guide/index.html#cuda-support-for-wsl-2
sudo apt-key del 7fa2af80
@scragly
scragly / activities.md
Created October 28, 2018 03:12
Activity updates on discord.py
# Setting `Playing ` status
await bot.change_presence(activity=discord.Game(name="a game"))

# Setting `Streaming ` status
await bot.change_presence(activity=discord.Streaming(name="My Stream", url=my_twitch_url))

# Setting `Listening ` status
await bot.change_presence(activity=discord.Activity(type=discord.ActivityType.listening, name="a song"))
@kennwhite
kennwhite / 1944_OSS_Simple_Sabotage_Field_Manual.md
Last active February 11, 2025 11:57
1944 OSS Simple Sabotage Field Manual