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
Essentially following this answer:
https://stackoverflow.com/questions/12514197/convert-a-git-folder-to-a-submodule-retrospectively
Looking at the docs for git filter-branch is useful too:
First, create a cloned copy of your directory
The repository for the assignment is public and Github does not allow the creation of private forks for public repositories.
The correct way of creating a private frok by duplicating the repo is documented here.
For this assignment the commands are:
git clone --bare git@github.com:usi-systems/easytrace.git
This is a compiled list of falsehoods programmers tend to believe about working with time.
Don't re-invent a date time library yourself. If you think you understand everything about time, you're probably doing it wrong.
| " let g:python_host_prog = '/usr/bin/python2' | |
| " let g:python3_host_prog = '/usr/bin/python3' | |
| " ************************************* | |
| " PLUGIN SECTION for Vim-Plug | |
| " ************************************* | |
| call plug#begin('~/.config/nvim/plugged') | |
| " Make sure you use single quotes |
Please comment below if you have an update, e.g., with another networking-related dataset.
| product | notes | price (incl. VAT) | dedic.? | cores | RAM | SSD | Yabs | Geekbench ST | Geekbench MT | Geekbench version | operating system | date of benchmark |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Hetzner CPX11 | 4,58€/m | no | 2 | 2GB | 40GB | - | 1476/1496 |
2714/2732 |
Geekbench 6.3.0 Build 603408 (rosedale-main-build bca065a7d9) |
Ubuntu 22.04 | 2024-07-02 | |
| Hetzner CPX21 | 8,39€/m | no | 3 | 4GB | 80GB | - | 1484/1474 |
3862/3792 |
Geekbench 6.3.0 Build 603408 (rosedale-main-build bca065a7d9) |
Ubuntu 22.04 | 2024-07-02 | |
| Hetzner CPX22 | no IPv4 |
Note: I have moved this list to a proper repository. I'll leave this gist up, but it won't be updated. To submit an idea, open a PR on the repo.
Note that I have not tried all of these personally, and cannot and do not vouch for all of the tools listed here. In most cases, the descriptions here are copied directly from their code repos. Some may have been abandoned. Investigate before installing/using.
The ones I use regularly include: bat, dust, fd, fend, hyperfine, miniserve, ripgrep, just, cargo-audit and cargo-wipe.
| #!/usr/bin/env bash | |
| # IMPORTANT: this script is now part of my dotfiles and maintained there | |
| # see https://github.com/Diaoul/dotfiles/blob/main/.config/hypr/scripts/workspaces.sh | |
| set -e | |
| declare -i last_called=0 | |
| declare -i throttle_by=4 | |
| @throttle() { | |
| local -i now=$(date +%s) |