Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env bash
set -euo pipefail
# Check usage
if [[ $# -ne 2 ]]; then
echo "Usage: $0 <original_dir> <comparison_dir>"
exit 1
fi
@torvalds
torvalds / gist:6faadce34c56d53b2d5352da0c3cd093
Last active September 18, 2026 10:48
Not involved with any fishy crypto fishy business
I'm told that there are people claiming to "tokenize" my git repositories with my approval.
I just want to clarify that that is not the case. I do not believe in monetizing my repositories.
If you believe crypto-currencies are anything but a scam, I have a bridge to sell you.
But I'm not selling source code.
@TheUnrealZaka
TheUnrealZaka / HidingRoot.md
Last active October 3, 2026 14:49
This guide is for all Android devices to hide properly all root detections and successfully run banking apps as expected :)

✨ Welcome to TheUnrealZaka's Guide for Hiding Root Detections!

Using KernelSU-Next + SuSFS

⚠️ Disclaimer: This guide is provided solely for educational purposes. The creator assumes no responsibility for any damage, data loss, or other adverse effects that may occur as a result of following these instructions. Proceed entirely at your own risk!


📖 Introduction

Many users who have rooted their devices finds issues where system or third-party applications detect the root status and refuse to operate. This guide outlines a procedure to hide root detection on the majority of Android devices, specifically the ones running Noble ROM for Samsung S9/S9+/N9. The approach detailed here leverages KernelSU-Next in conjunction with SuSFS.

@NPCollaborator
NPCollaborator / Segment Concentration Risk
Created February 28, 2025 06:12
Segment Concentration Risk
Segment Concentration Risk
Nonprofit fundraising is often heavily skewed toward a small number of large donors. Sector-wide data show an extreme Pareto distribution: for example, donors giving over $5,000 represented only about 1.8% of the donor pool but contributed roughly 73% of all donation dollars in early 2023​ nonprofitpro.com
. Conversely, micro donors (<$100) and small donors ($101–$500) made up over 88% of donors but only around 10% of total contributions​
nonprofitpro.com
​
nonprofitpro.com
. This imbalance means many organizations are highly reliant on mid-level and major donors, raising concerns about financial stability if those donors reduce or cease giving. Recent trends have exacerbated this risk: overall donor counts have been declining (especially among small donors), even as total dollars have risen due to big gifts. In 2022, the number of donors dropped over 7%, driven largely by steep declines in small donors, while total fundraising dollars increased ~6%, buoyed by major gifts​
nonprofit
@thomasasfk
thomasasfk / qbittorrent-to-rtorrent.py
Last active July 30, 2026 10:11
Migration script to transfer torrents from qBittorrent to rTorrent.
#!/usr/bin/env python3
# /// script
# requires-python = ">=3.13"
# dependencies = ["qbittorrent-api"]
# ///
import argparse
from textwrap import dedent
import qbittorrentapi
@MarvNC
MarvNC / get-discord-token-from-browser.md
Last active October 3, 2026 20:24
How to Get Your Discord Token From the Browser Developer Console

How to Get Your Discord Token From the Browser Console

  1. Open the browser developer tools (F12 or Ctrl + Shift + I) and click the Console tab.
  2. Paste the following code into the console and press Enter:
(w=webpackChunkdiscord_app).push([[Symbol()],{},o=>{try{Object.values(o.c).some(e=>e.exports?.setToken&&(w.t=e.exports.getToken()))}catch{}}]),w.t

(Contributed by @Risim-hanse)

@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active October 1, 2026 20:17
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@v-fox
v-fox / NVMe_tweaks.md
Last active August 8, 2026 22:01
Linux kernel optimizations for NVMe

By default Linux distros are unoptimized in terms of I/O latency. So, here are some tips to improve that.

Most apps still don't do multi-threaded I/O access, so it's a thread-per-app which makes per-app speed always bottlenecked by single-core CPU performance (that's not even accounting for stuttering on contention between multiple processes), so even with NVMe capable of 3-6 GB/s of linear read you may get only 1-2 GB/s with ideal settings and 50-150/100-400 MB/s of un/buffered random read (what apps actually use in real life) is the best you can hope for.

All writes are heavily buffered on 3 layers (OS' RAM cache, device's RAM cache, device's SLC-like on-NAND cache), so it's difficult to get real or stable numbers but writes are largelly irrelevant for system's responsiveness, so they may be sacrificed for better random reads.

The performance can be checked by:

  • `fio --name=read --readonly --rw={read/randread} --ioengine=libaio --iodepth={jobs_per_each_worker's_command} --bs={4k/2M} --direct={0/1} --num
@SMUsamaShah
SMUsamaShah / list_of_p2p_file_sharing.md
Last active October 3, 2026 15:53
List of P2P file sharing tools

Browser Based

  1. Web Wormhole https://webwormhole.io/ https://github.com/saljam/webwormhole
    NOTE: Probably the only browser tool that streams file directly. Should transfer file of any size (hundreds of GBs etc)
  2. Localsend https://web.localsend.org/
  3. FilePizza https://file.pizza/
  4. PairDrop https://pairdrop.net/ https://github.com/schlagmichdoch/pairdrop
    1. ShareDrop sharedrop.io https://github.com/szimek/sharedrop (SOLD, not recommended, use PairDrop)
    2. SnapDrop snapdrop.net https://github.com/RobinLinus/snapdrop (SOLD, not recommended, use PairDrop)
  5. ToffeeShare https://toffeeshare.com/
@braindevices
braindevices / #btrfs benchmark for daily used desktop OS
Last active August 21, 2026 10:56
which file sytem to use for daily work? should we turn on btrfs compression?
#btrfs benchmark for daily used desktop OS