Skip to content

Instantly share code, notes, and snippets.

@aamiaa
aamiaa / CompleteDiscordQuest.md
Last active December 12, 2025 13:02
Complete Recent Discord Quest

Complete Recent Discord Quest

Note

This does not works in browser for quests which require you to play a game! Use the desktop app to complete those.

How to use this script:

  1. Accept a quest under Discover -> Quests
  2. Press Ctrl+Shift+I to open DevTools
  3. Go to the Console tab
  4. Paste the following code and hit enter:
@z3tt
z3tt / striptext-inside.R
Last active December 12, 2025 12:55
Place Striptext inside Facet Panels with ggplot2
library(ggplot2)
gm_2023 <- readr::read_csv("https://www.cedricscherer.com/data/gapminder-2023.csv")
pal <- c(Africa = "#00D9EE", Americas = "#4CF101", Asia = "#FF4670", Europe = "#FFE702", Oceania = "#CA4ADC")
# base plot
g <-
ggplot(gm_2023, aes(x = gdp_pcap, y = life_exp, size = pop)) +
geom_point(
color = "white",
@K1ethoang
K1ethoang / Active StarUml version 6 for Window | MacOS | Linux.md
Last active December 12, 2025 12:54
Active StarUml version 6 for Window | MacOS | Linux
@kRHYME7
kRHYME7 / Nvidia On Hyprland.md
Last active December 12, 2025 12:53
# Hyprland Environment Variables for NVIDIA and Intel Setups

Hyprland Environment Variables for NVIDIA and Intel Setups

I made this guide because I have a hybrid GPU. In some setup like HyDE, there is a chance that the environment variables are being set for NVIDIA ONLY setup.

Environment Variable NVIDIA Only Hybrid (NVIDIA+Intel) Intel Only Explanation / Notes
LIBVA_DRIVER_NAME,nvidia ✅ Use ❌ Avoid (use iHD or comment out) ❌ Avoid (use iHD) VA-API driver for NVIDIA. Causes issues on hybrid or Intel-only setups. Use iHD for Intel VA-API.
`LIBVA
@BRAVO68WEB
BRAVO68WEB / bat2sh.sh
Created November 27, 2019 03:43
Simple converter from batch (.bat) files to shell script (.sh)
#!/usr/bin/env bash
#
# Converts Windows batch script to Linux shell script
#
# Invocation:
# ./bat2sh script.bat
#
OUTFILE=${2:-${1%%.bat}.sh}

Proxmox VE tips

Just some tips I gathered over time. All in one easily reachable place so I can share it wherever I want.

Please note that unless you see a shebang (#!/...) these code blocks are usually meant to be copy & pasted directly into the shell. Some of the steps will not work if you run part of them in a script and copy paste other ones as they rely on variables set before.
The { and } surrounding some scripts are meant to avoid poisoning your bash history with individual commands, etc. You can ignore them if you manually copy paste the individual commands.
I chose to write things "in the open" that way so there's still some control and things don't become a black box.

Table of contents

@Noxde
Noxde / dungeons.json
Last active December 12, 2025 12:45
Add dungeons to Bloodborne save mainly to use with shadps4 because of the lack of online
{
"farming": [
{
"glyph": "cummmfpk",
"bytes": [
"0x1d",
"0x32",
"0x15",
"0x58",
"0x00",
data LSystem a b =
LSystem
[a]
(a -> [b])
type LSystem' a =
LSystem a a
instance Functor (LSystem a) where
fmap k (LSystem a f) =