Skip to content

Instantly share code, notes, and snippets.

View ShayBox's full-sized avatar
🐧
Noot Noot

Shayne Hartford ShayBox

🐧
Noot Noot
View GitHub Profile
@ssokolow
ssokolow / x11_watch_active_window.py
Last active February 6, 2024 22:50
python-xlib example which reacts to changing the active window
#!/usr/bin/env python
"""python-xlib example which reacts to changing the active window/title.
Requires:
- Python
- python-xlib
Tested with Python 2.x because my Kubuntu 14.04 doesn't come with python-xlib
for Python 3.x.
@nikhiljha
nikhiljha / README.md
Last active February 10, 2024 22:34
Apple Silicon (M1) + MultiMC + Minecraft 1.18 + Native LWJGL

Apple Silicon (M1) + MultiMC + Minecraft 1.18 + Native LWJGL

Up to Minecraft 1.17.X I used yusefnapora/m1-multimc-hack, but this stopped working for me starting in Minecraft 1.18. Grabbing random jarfiles from a git repository is a little suspicious, so let's do it safely by getting the libraries from the official LWJGL website!

Installing Java

If you don't have Homebrew installed already, install Homebrew by following the instructions at brew.sh. Then, just open a Terminal and type...

brew install java
@ShayBox
ShayBox / main.rs
Created February 13, 2024 03:27
Infinite Craft automated with headless_chrome
use std::{collections::HashSet, time::Duration};
use anyhow::Result;
use derive_config::{json::Value, DeriveJsonConfig, DeriveTomlConfig};
use headless_chrome::{browser::default_executable, Browser, LaunchOptions};
use serde::{Deserialize, Serialize};
#[derive(Debug, Default, DeriveJsonConfig, Deserialize, Serialize)]
struct Combinations(HashSet<(String, String)>);
@BigBrainAFK
BigBrainAFK / wootility_lekker_edition_usb_feature_codes.js
Last active April 20, 2024 22:56
Wootility Lekker Edition USB Feature Codes
Ping = 0 = "Ping"
GetVersion = 1 = "GetVersion"
ResetToBootloader = 2 = "ResetToBootloader"
GetSerial = 3 = "GetSerial"
GetRgbProfileCount = 4 = "GetRgbProfileCount"
REMOVED_GetCurrentRgbProfileIndex = 5 = "REMOVED_GetCurrentRgbProfileIndex"
REMOVED_GetRgbMainProfile = 6 = "REMOVED_GetRgbMainProfile"
ReloadProfile0 = 7 = "ReloadProfile0"
SaveRgbProfile = 8 = "SaveRgbProfile"
GetDigitalProfilesCount = 9 = "GetDigitalProfilesCount"