Skip to content

Instantly share code, notes, and snippets.

View abayomi185's full-sized avatar
🚀

Yomi Ikuru abayomi185

🚀
View GitHub Profile
@crabdancing
crabdancing / quick-nix-repl-tutorial.md
Last active December 21, 2024 19:45
a quick nix repl tutorial

If you want to probe a nix flake and figure out what it exposes, I typically just load it into nix repl and then tab complete around until I find what I'm looking for. E.g.:

$ nix repl
Welcome to Nix 2.18.5. Type :? for help.

nix-repl> :lf github:wez/wezterm/main?dir=nix
Added 12 variables.
@mcarlton00
mcarlton00 / Jellyfin-api-auth-example.py
Last active November 30, 2024 23:00
Example for authenticating to Jellyfin API from Python
import requests
# Define connection details
server_url = 'http://192.168.0.200:8096'
username = 'User'
password = 'Password'
# Build json payload with auth data
auth_data = {
'username': username,
@cliffrowley
cliffrowley / STREAMDECK_HID.md
Last active December 5, 2024 17:36
Notes on the Stream Deck HID protocol

Stream Deck Protocol

How to interface with a Stream Deck device.

Synopsis

The device uses the HID protocol to communicate with its software.

Configuration