Skip to content

Instantly share code, notes, and snippets.

View RyzeNGrind's full-sized avatar
:electron:
busy tinkering, building and having fun learning in the process. Let's connect!

RyzeNGrind RyzeNGrind

:electron:
busy tinkering, building and having fun learning in the process. Let's connect!
View GitHub Profile
@lzlrd
lzlrd / wslg-guide.md
Last active August 7, 2025 00:42
How to get WSLg working with OpenGL, Vulkan, and CUDA on (Official) Arch Linux and Ubuntu WSL Instances.

WSLg with OpenGL, Vulkan, and CUDA on (Official) Arch Linux and Ubuntu WSL Instances

Note: I haven't documented CUDA here. I'm lazy (and haven't tested on Arch). See https://documentation.ubuntu.com/wsl/en/latest/howto/gpu-cuda for that on Ubuntu.

Context

microsoft/wslg#1312:

So I got this working on both Ubuntu, and Arch. First, start with a fresh install (of archlinux from https://gitlab.archlinux.org/archlinux/archlinux-wsl or Ubuntu from wsl --install Ubuntu or https://apps.microsoft.com/detail/9pdxgncfsczv).

Arch

@imwaitingnow
imwaitingnow / 1_QuickReinstallBetterDiscord.md
Last active July 20, 2025 15:36 — forked from Knewest/1_QuickReinstallBetterDiscord.md
Reinstall BetterDiscord seconds after Discord uninstalls it against your will. Avoid using the time consuming installer with this trick.
@t3dotgg
t3dotgg / model-prices.csv
Last active August 8, 2025 16:48
Rough list of popular AI models and the cost to use them (cost is per 1m tokens)
Name Input Output
Gemini 2.0 Flash-Lite $0.075 $0.30
Mistral 3.1 Small $0.10 $0.30
Gemini 2.0 Flash $0.10 $0.40
ChatGPT 4.1-nano $0.10 $0.40
DeepSeek v3 (old) $0.14 $0.28
ChatGPT 4o-mini $0.15 $0.60
Gemini 2.5 Flash $0.15 $0.60
DeepSeek v3 $0.27 $1.10
Grok 3-mini $0.30 $0.50
@AlexTech01
AlexTech01 / Getting Authy back on Apple Silicon Macs.md
Last active August 9, 2025 02:17
Getting Authy back on Apple Silicon Macs

Getting Authy back on Apple Silicon Macs

For some reason, Twilio has disabled the ability to install the iPad version of Authy on Apple Silicon Macs. With Authy Desktop also being discontinued, this means that there is no longer an official way to use the Authy app on macOS anymore. This guide is a workaround I found to trick sideloaded versions of Authy into signing in successfully, and using that with a sideloaded version of the Authy iPad app on macOS gives us the ability to use Authy on Mac again.

What's needed for this guide:

  1. An iOS/iPadOS device with Authy installed normally
  2. An Apple Silicon Mac with Authy sideloaded
  3. mitmproxy
  4. A decrypted and signed Authy IPA
  5. Technical skill and patience
@PaulusParssinen
PaulusParssinen / giftcardscammer.md
Last active April 10, 2025 14:57
Relatively clever gift card scammer infra
@zzJinux
zzJinux / medium.user.js
Last active August 13, 2025 06:02 — forked from mathix420/medium.user.js
Bypass Medium Paywall fork: do not redirect for free posts
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*/*
// @grant none
// @version 2.4_4
// @updateURL https://gist.githubusercontent.com/zzJinux/364725e7c61810719286d94e88a4e38c/raw/medium.user.js
// @downloadURL https://gist.githubusercontent.com/zzJinux/364725e7c61810719286d94e88a4e38c/raw/medium.user.js
// @website https://freedium.cfd
git clone https://github.com/OpenDevin/OpenDevin.git
cd OpenDevin
conda create -n od python=3.10
conda activate od
docker ps
(optional) install docker if not already installed
docker pull ghcr.io/opendevin/sandbox
export OPENAI_API_KEY={your key}
(optional I had to install rust) curl --proto '=https' --tlsv1.2 -sSf [https://sh.rustup.rs](https://sh.rustup.rs/) | sh
(optional) restart terminal
@Artefact2
Artefact2 / README.md
Last active August 12, 2025 23:33
GGUF quantizations overview
@mathix420
mathix420 / medium.user.js
Last active July 28, 2025 15:45
Bypass Medium Paywall - Working late 2023 - Greasy Fork, Violentmonkey, Tampermonkey - Click the RAW button to install
// ==UserScript==
// @name Medium Paywall Bypass
// @namespace Violentmonkey Scripts
// @run-at document-start
// @match *://*.medium.com/*
// @match *://medium.com/*
// @match *://*/*
// @grant none
// @version 2.4
// @inject-into content
@coltonbh
coltonbh / docker-swarm-gpu.md
Last active June 13, 2025 01:50
Docker Swarm GPU Support

GPU Support For Docker Swarm

Docker compose has nice support for GPUs, K8s has moved their cluster-wide GPU scheduler from experimental to stable status. Docker swarm has yet to support the device option used in docker compose so the mechanisms for supporting GPUs on swarm are a bit more open-ended.

Basic documentation