This is a quick guide to mounting a qcow2 disk images on your host server. This is useful to reset passwords, edit files, or recover something without the virtual machine running.
Step 1 - Enable NBD on the Host
modprobe nbd max_part=8
| Latency Comparison Numbers (~2012) | |
| ---------------------------------- | |
| L1 cache reference 0.5 ns | |
| Branch mispredict 5 ns | |
| L2 cache reference 7 ns 14x L1 cache | |
| Mutex lock/unlock 25 ns | |
| Main memory reference 100 ns 20x L2 cache, 200x L1 cache | |
| Compress 1K bytes with Zippy 3,000 ns 3 us | |
| Send 1K bytes over 1 Gbps network 10,000 ns 10 us | |
| Read 4K randomly from SSD* 150,000 ns 150 us ~1GB/sec SSD |
| # Add the following 'help' target to your Makefile | |
| # And add help text after each target name starting with '\#\#' | |
| help: ## Show this help. | |
| @fgrep -h "##" $(MAKEFILE_LIST) | fgrep -v fgrep | sed -e 's/\\$$//' | sed -e 's/##//' | |
| # Everything below is an example | |
| target00: ## This message will show up when typing 'make help' | |
| @echo does nothing |
Based on https://www.gnu.org/software/make/manual/html_node/Quick-Reference.html
| Directive | Description |
|---|---|
define variable define variable = define variable := define variable ::= define variable += define variable ?= endef |
Define multi-line variables. |
undefine variable |
Undefining variables. |
Also see the Modrinth Awesome list, and a (probably somewhat outdated) list of curse modpack downloaders at https://gist.github.com/jikuja/f44533a16ad04624c3eb8e99e7a3e494/
This list is a bit outdated in places, but I'm still adding things here so that I don't forget them.
| Name | Type | Number of mods/packs | Popularity (Similarweb rank) | Official launcher | Third-party support | Open Source backend | Author rewards |
|---|---|---|---|---|---|---|---|
| CurseForge | Public | 31,000 mods; 38,000 modpacks | #1410 | Yes | Many | No | Yes |
| Modrinth | Public | 2000 mods | #79,182 | In development | ATLauncher, packwiz, pacmc, modweaver | Yes | Planned |
| #!/usr/bin/env bash | |
| # | |
| # gpg-export-wkd.sh: Uses gnupg and sequoia-sq to generate a Web Key Directory. | |
| # See https://tools.ietf.org/html/draft-koch-openpgp-webkey-service-11 and | |
| # https://wiki.gnupg.org/WKD for details. | |
| # | |
| # Prerequisite: gpg and sq must be located through the PATH. | |
| # Install sq with `crate install sequoia-sq` | |
| # See also https://crates.io/crates/sequoia-sq | |
| # |