Skip to content

Instantly share code, notes, and snippets.

View dimon222's full-sized avatar
💭
Patching code

Dmitry Romanenko dimon222

💭
Patching code
View GitHub Profile
@SkyyySi
SkyyySi / youtube-vanced-alternatives.md
Last active October 27, 2025 03:47
A list of alternatives after the shutdown of Vanced

NONE OF THESE CLIENTS ARE VERIFIED BY ME FOR SECURITY OR ANYTHING ELSE! USE AT YOUR OWN RISK!


Update 2025-07-16: Use either Revanced, NewPipe or Firefox with add-ons. Revanced is my personal pick, due to it being a mod of the official App like Vanced, but better (e.g. it has integration of Sponsor Block, Return YouTube Disklike and more).

I wouldn't recommend Kiwi Browser anymore as it has been discontinued. AFAIK it has been accuired by Microsoft and the extension support has been merged into Edge (Canary). But you'd have to use Edge. Yuck.


@MalikAQayum
MalikAQayum / pcgameitplaytest.user.js
Last active February 3, 2022 20:38
gets the latest playtest from https://steamcommunity.com/groups/pcgameitplaytest/rss/ and request access to it.
// ==UserScript==
// @name PCGameit Playtests
// @namespace https://pcgameit.com
// @version 0.3
// @description gets the latest playtest from https://steamcommunity.com/groups/pcgameitplaytest/rss/ and request access to it.
// @author MalikQayum
// @connect store.steampowered.com
// @connect steamcommunity.com
// @match https://store.steampowered.com/*
// @require https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js
@derjohn
derjohn / update-huawei-matebook-firmware-linux.md
Last active July 19, 2025 16:18
Update your Huawei Matebook Pro X (and others) from the Linux shell with fwupd

Huawei Matebook BIOS update with Linux

Tested with Huawei Matebook X Pro (MACH-WX9) This is more or less a step by step tutorial, written 02/2021. Sadly at the moment Huawei does not ship a package in Linux Vendor Firmware Service.

WARNING

Please note that you can damage ("brick") your device if something goes wrong or is done incorrectly. This is for the advanced user! I can only say that I flashed the new firmware 0.1.33 to my MACH-WX9 successfully.

Original docs

dennemann.blog THX!!!

@mattkenn4545
mattkenn4545 / install-k3s.sh
Last active April 11, 2022 16:03
K3s/Rancher install script
#!/bin/env bash
set -e
export PATH=/usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin
: <<'README'
# Master node install, note this script /should/ be idempotentish. Rerunning to get worker node command output is fine
sudo -E ./install-k3s.sh
# to skip install of rancher
SKIP_RANCHER_INSTALL=true sudo -E ./install-k3s.sh
@adisbladis
adisbladis / podman-shell.nix
Last active November 20, 2025 22:49
Use podman within a nix-shell
{ pkgs ? import <nixpkgs> {} }:
let
# To use this shell.nix on NixOS your user needs to be configured as such:
# users.extraUsers.adisbladis = {
# subUidRanges = [{ startUid = 100000; count = 65536; }];
# subGidRanges = [{ startGid = 100000; count = 65536; }];
# };
@MalikAQayum
MalikAQayum / ProfileLinker.user.js
Last active February 29, 2024 02:35
Adds clickable icon links to external sites (steam-tracker.com, removed.timekillerz.eu, astats.nl, steamrep.com, barter.vg, backpack.tf, steamtrades, steamgifts)
// ==UserScript==
// @name Profile Linker
// @namespace https://gist.github.com/MalikAQayum/11ae7ba9b7741eb9d01af883dadedca4
// @version 1.23
// @description Adds clickable icons to external sites in the "profile_rightcol".
// @author MalikQayum
// @include /^https?:\/\/steamcommunity\.com[/]+(id|profiles)[/]+[^/]+(\/|)$/
// @downloadURL https://gist.github.com/MalikAQayum/11ae7ba9b7741eb9d01af883dadedca4/raw/ProfileLinker.user.js
// @updateURL https://gist.github.com/MalikAQayum/11ae7ba9b7741eb9d01af883dadedca4/raw/ProfileLinker.user.js
// @grant none
@Revadike
Revadike / steamtrades_users.json
Created August 24, 2018 14:12
SteamTrades Users JSON
[
{
"steamid": "76561198105197441",
"name": "SirIronMaiden",
"reputation": {
"positive": 2817,
"negative": 0
}
},
{
@AndersonIncorp
AndersonIncorp / install.md
Created June 29, 2018 16:36
Install any linux distro on VPS with low RAM, locked ISO boot

Overview

Scenario

  • Your VPS provider doesn't support ISO mount
  • Your VPS has low RAM and cannot load whole ISO image
  • Your current /boot is to small to contain ISO file

Workaround

  • Boot low memory ISO (CorePure64.iso ~ 14MB)
  • Create new partition ~1GB / size of your ISO
  • dd your ISO into that partition
@martin-juul
martin-juul / alpine-boostrap.sh
Last active July 19, 2020 22:33
[Alpine Bootstrapping script for Linode] Script for installing an alpine linode via lish/rescue console - Forked from https://github.com/jcorme/alpine-linode-bootstrap
#!/bin/sh
HOST=${HOST:-alpine}
INTERFACES="auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
hostname $HOST
"
@schmich
schmich / ducky.md
Last active November 21, 2025 08:38
Programming media keys on the Ducky One 2 Skyline

Programming Media Keys on the Ducky One 2 Skyline

To use media keys on the Ducky One 2 Skyline, you must record a macro to bind the media function to a hotkey combination, i.e. Fn plus some key.

Example

Important: In the instructions below, "Press X+Y+Z" means press and hold key X, press and hold key Y, press and hold key Z in that order, and then release all three.

As an example, to bind Fn+PgUp to the play/pause media function: