Skip to content

Instantly share code, notes, and snippets.

@TameemS
TameemS / debloatLDPlayer.md
Last active June 15, 2025 05:38
Debloating LDPlayer

Inspired by this

More of my guides: Debloating MEMu - Debloating Nox (Updated)

This mainly applies to LDPlayer9. They will probably work on the low end options (like LDPlayer5) but not guaranteed.

Debloating LDPlayer

This emulator seems to have less stability issues than MEMu. I think we get the shtick that these emulators do spooky stuff.

  1. Download LDPlayer, preferably an offline version from the version history
@neggles
neggles / Download-File.ps1
Last active July 19, 2023 06:53
download a file with powershell w/o using invoke-webrequest or DoSing yourself with progress prompts
function Download-File {
[CmdletBinding()]
param (
[Parameter(Mandatory = $True,
Position = 0,
HelpMessage = 'The URI of the file to download.')]
[ValidateNotNullOrEmpty()]
[Alias('Url', 'FileUri')]
[String]$Uri,
# Specifies a path to one or more locations.
@SpareSimian
SpareSimian / asntoipset.py
Created November 30, 2022 01:52
Convert a list of records from iptoasn.com to a firewalld ipset XML file.
#!/usr/bin/env python3
""" Convert a list of records from iptoasn.com to a firewalld ipset XML file.
Download https://iptoasn.com/data/ip2asn-v4.tsv.gz, uncompress, filter
with grep, and feed to this script to generate a file to place in
/etc/firewalld/ipsets for use in firewall rules.
Example:
wget -q -O - https://iptoasn.com/data/ip2asn-v4.tsv.gz | \
@paranoiq
paranoiq / index.php
Created November 29, 2022 12:25
Generator of the Supersymmetric Table of Cellular Automata
<?php
error_reporting(E_ALL);
function bin(int $n): string
{
$bin = str_pad(decbin($n), 8, '0', STR_PAD_LEFT);
return substr($bin, 0, 4) . ' ' . substr($bin, 4, 4);
}
@writzx
writzx / timerService.ps1
Last active July 19, 2023 06:53
Modified ryzenAdj PS Script for applying config periodically without monitoring. No dependency on inpoutx64.dll (no problem with anticheats).
Param([Parameter(Mandatory=$false)][switch]$noGUI)
$Error.Clear()
################################################################################
#### Configuration Start
################################################################################
# WARNING: Use at your own risk!
$pathToRyzenAdjDlls = Split-Path -Parent $PSCommandPath
$monitorPowerSlider = $true
@vyach-vasiliev
vyach-vasiliev / README.md
Last active June 27, 2025 07:34
Compact VDisk after Docker operations

Resolving Docker Hard Disk Image File Size Issues on Windows

Is Your Docker Hard Disk Image File Too Large?

Is Docker Image Still Taking Up Space After Deletion?

If you're a Windows OS user, you may have encountered the problem of Docker images consuming excessive disk space even after they've been deleted. This long-standing issue can significantly affect system performance and storage management.

Common Problem for Windows OS Users

Many Windows users have faced the challenge of Docker image files growing unexpectedly large. Even after removing images, the disk space is not always reclaimed efficiently, leading to frustration and reduced available storage.

@cam8001
cam8001 / service-regions.sh
Last active December 20, 2023 19:41
One liner to get list of services keyed to AWS region
#!/bin/bash
curl -s 'https://api.regional-table.region-services.aws.a2z.com/index.json' \
| jq '.prices[] | .attributes | .["aws:region"], .["aws:serviceName"]' \
| sed '$!N;s/\n/,/'
@conofor
conofor / coalesce-12-phosphorescence-6.markdown
Created October 29, 2022 01:42
Coalesce 12 - Phosphorescence 6
@Gemba
Gemba / bashwelcomeextra-README.md
Last active May 28, 2023 03:42
Bash Welcome Extra: Scriptmodule for RetroPie-Setup with additional versions output on bash start.

INSTALLATION

On RetroPie shell as user pi:

cd RetroPie-Setup
mkdir -p ext/local/scriptmodules/supplementary
pushd ext/local/scriptmodules/supplementary
wget -O bashwelcomeextra.sh https://gist.githubusercontent.com/Gemba/bc41f9b2570486b855d6bfa57b3cbdc5/raw/d03b9f101212a0acb37d8750f9006f8639fcc54e/bashwelcomeextra.sh
popd
# remove genuine scriptmodule and install this one
@adelton
adelton / bugzilla-favicon.js
Last active March 28, 2023 23:39
Violentmonkey scripts
// ==UserScript==
// @name Set bugzilla favicon
// @namespace Adelton Violentmonkey Scripts
// @include https://bugzilla.redhat.com/*
// @grant none
// ==/UserScript==
var link = document.querySelector("link[rel = 'shortcut icon']");
if (!link) {
link = document.createElement('link');