Skip to content

Instantly share code, notes, and snippets.

@torvalds
torvalds / gist:6faadce34c56d53b2d5352da0c3cd093
Last active May 12, 2026 01:47
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.
@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
@MarvNC
MarvNC / get-discord-token-from-browser.md
Last active May 9, 2026 12:31
How to Get Your Discord Token From the Browser Developer Console

How to Get Your Discord Token From the Browser Console

New method (contributed by youyoumu)

  • Open the browser console with F12 or Ctrl + Shift + I.
  • Enable mobile device emulation with Ctrl + Shift + M.
  • Paste the following code into the console and press Enter:
const iframe = document.createElement('iframe');
@mjkstra
mjkstra / arch_linux_installation_guide.md
Last active May 13, 2026 17:28
A modern, updated installation guide for Arch Linux with BTRFS on an UEFI system
@SMUsamaShah
SMUsamaShah / list_of_p2p_file_sharing.md
Last active May 14, 2026 13:33
List of P2P file sharing tools

Browser Based

  1. Web Wormhole https://webwormhole.io/ https://github.com/saljam/webwormhole
  2. Localsend https://web.localsend.org/
  3. FilePizza https://file.pizza/
  4. ShareDrop sharedrop.io https://github.com/szimek/sharedrop (SOLD, not recommended, use one of the forks)
    1. A clone SnapDrop snapdrop.net https://github.com/RobinLinus/snapdrop (SOLD, not recommended, use one of the forks)
      1. A fork PairDrop https://pairdrop.net/ https://github.com/schlagmichdoch/pairdrop
  5. ToffeeShare https://toffeeshare.com/
  6. Instant.io https://instant.io/
@braindevices
braindevices / #btrfs benchmark for daily used desktop OS
Last active May 11, 2026 20:49
which file sytem to use for daily work? should we turn on btrfs compression?
#btrfs benchmark for daily used desktop OS
@BlueSwordM
BlueSwordM / Decoding guide AV1 2022: Decoding and decoding aware encoding optimizations.md
Last active December 28, 2025 18:48
# Maximizing AV1 decoding speed: a modern 2022 encoding and decoding guide!

Hello. I've decided to share a lot more of my knowledge in public forums from now on, and to not divert any of my focus away from improving the world in a way that stays written in history.

This Gist is about discussing on how to improve AV1 decoding performance on 2 fronts: improving performance through more efficient decoding, and through decoding aware encoding.

Improving decoding performance through more efficient decoding.

Here are many tips on how to improve decoding performance on any machine:

1. Keep your favorite media player up to date!

@pmarreck
pmarreck / coinflip.bash
Created February 9, 2022 23:40
Simplest way to simulate a coin flip or toss on the Linux command line (in Bash; may work in other shells)
# return code is either 0 (success) or 1 (fail), so you can use it straight-up in logical statements
coinflip() { return $(($RANDOM%2)); }
coinflip && echo "heads" || echo "tails"
@ryuheechul
ryuheechul / windows.md
Last active October 1, 2025 17:06
Let that Windows 10/11 be a bit friendlier

An attempt to make Windows 10/11 work for me by customizing/personalizing it

Why gist not dotfiles?

I use dotfiles to personalize *nix type of machines. But I'm new to personalizing Windows 10. So I'm collecting information here first before adding these to the dotfiles. I'm not sure if these will ever move to dotfiles though.

Enable WSL2

@HFTrader
HFTrader / PacmanCheatsheet.md
Last active April 27, 2026 18:47
Pacman Cheatsheet

Installing packages

Note that packages often have a series of optdepends - optional dependencies - which are packages that provide additional functionality to the application, albeit not strictly required for running it. When installing a package, pacman will list its optional dependencies among the output messages, but they will not be found in pacman.log: use the pacman -Si (see Querying package databases) command to view the optional dependencies of a package, together with short descriptions of their functionality.

⚠️ Partial upgrades are not supported 69

Installing specific packages

To install a single package or list of packages (including dependencies), issue the following command: