Skip to content

Instantly share code, notes, and snippets.

@evilJazz
evilJazz / MI50_32GB_VBIOS.md
Last active July 10, 2026 21:22
MI50 32GB VBIOS
@brainfoolong
brainfoolong / podman-windows-wsl.md
Last active June 16, 2026 01:58
Install Podman Desktop on Windows 11 + WSL Installation + Podman Desktop showing WSL containers

If you are in my boots, starting using podman for the first time and want it to get it working on Windows and WSL, this is for you. It's a bit of a pain to have the same "Docker Desktop" experience just with "Podman Desktop".

This guide doesn't matter for security, it just documents how you make things work.

This guide only works for ubuntu 24 in your WSL distro. Versions bellow have older podman versions which are not compatible with podman desktop.

What we do

  • Remove Docker Desktop if installed
@xzin-CoRK
xzin-CoRK / arr-restore.py
Last active February 5, 2025 22:26
Restore your download history with original filenames and hardlinks from your radarr database
###########################
### *ARR RESTORE v1.2 ###
### by xzin ###
###########################
# About #
# This script automatically restores the original downloaded media files from your Radarr and Sonarr databases
# These files will be named as they were when originally downloaded, before Radarr/Sonarr performed any renaming
# These files will also be hardlinked to your existing media, so you won't incur additional storage space usage
@nielsvanvelzen
nielsvanvelzen / jf-dev-auth.md
Last active July 14, 2026 20:46
Jellyfin API Authorization

Jellyfin API Authorization

To start using the Jellyfin API, authorization is probably the first thing you'll need to do. Jellyfin's authorization options can be a bit confusing because there are a lot of deprecated options.

Generally there are three ways to authenticate: no authorization, user authorization with an access token or authorization with an API key. The first way is easy, just do nothing. But most often you'll need to use either the access token or API key.

Sending authorization values

There are multiple methods for transmitting authorization values, however, some are outdated and scheduled to be removed. It's recommend to use the Authorization header. If header auth isn't an option, the token may be sent through the ApiKey query parameter. Sending secure data in a query parameter is unsafe as the changes of it leaking (via logs, copy-paste actions or by other means) are high. Only use this method as a last resort.

@Roardom
Roardom / qbit-fastresume-path-changer.py
Created December 7, 2021 15:55
Replace paths easily in qBittorrent .fastresume (useful when switching from windows to linux)
import os
import re
# Insert the path where you keep your fast resume files here.
# Make a backup first!!!
torrentsDir = r'/torrents/'
# Insert paths to be replaced here. Dictionary key is current path. Dictionary value is new path
# If left empty, the script will only detect paths
@aabytt
aabytt / lg webOS notes.md
Last active May 7, 2026 13:39
more useful stuff on lg webos

Playling a link with standard LG webOS player

  • id - id of the player app, com.webos.app.mediadiscovery for webOS 6+, com.webos.app.photovideo for webOS 3.x-5.x, com.webos.app.smartshare for webOS 1.0-2.x
  • fullPath - url of the video file
  • fileName - name of the video displayed in player. Filename is remembered by the player to continue playback from exit timestamp

from a web app

webOS.service.request("luna://com.webos.applicationManager", {
           method: "launch",
@quantenProjects
quantenProjects / 99-wifionice
Last active May 25, 2026 11:30 — forked from hacker-bastl/bahn.sh
NetworkManager WIFIonICE login automation
#!/bin/bash
# this script goes to /etc/NetworkManager/dispatcher.d/
IF=$1
STATUS=$2
case "$2" in
up)
if [ "$CONNECTION_ID" == "WIFIonICE" ]
@Bert-Proesmans
Bert-Proesmans / qos-all.auto.rsc
Last active March 22, 2025 06:02
Mikrotik Routerboard QOS script
# Creation Date: November 3, 2018
:local Version "2.0"
:local LASTUPDATE "05/10/2019"
# Tested with RouterOS 6.43.4
#
# Mikrotik script to implement QoS on internet connections.
# The script makes use of Address Lists, Firewall rules (Mangle) for connection tagging, and Queue Trees.
# The script will remove applied rules from previous runs before applying.
#
@uupaa
uupaa / image.resize.in.github.flavored.markdown.md
Last active March 7, 2026 04:23
image resize in github flavored markdown.

Image source

https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png

Try resize it!

  • ![](https://gyazo.com/eb5c5741b6a9a16c692170a41a49c858.png | width=100)
@niksumeiko
niksumeiko / git.migrate
Last active June 8, 2026 11:53
Moving git repository and all its branches, tags to a new remote repository keeping commits history
#!/bin/bash
# Sometimes you need to move your existing git repository
# to a new remote repository (/new remote origin).
# Here are a simple and quick steps that does exactly this.
#
# Let's assume we call "old repo" the repository you wish
# to move, and "new repo" the one you wish to move to.
#
### Step 1. Make sure you have a local copy of all "old repo"
### branches and tags.