The maintained version now lives at Enable Dual Stack (IPv4 and IPv6) OpenFabric Routing, part of scyto/homelab-docs.
Questions or troubleshooting? Continue the conversation here — a Q&A discussion where replies thread properly, answers can be marked, and everything is searchable. The 70 comments below stay exactly where they are as an archive.
This script automates the extraction of icloud passwords on windows into a passwords.csv file, using Autohotkey to go through the entries, copy them to the clipboard with keyboard shortcuts, and write them to file.
Usage:
- Download and install icloud from the windows store. Do not open it yet.
- Once installed, run it as administrator for the first time, until you are signed in. (This fixes a bug where icloud says it is still initialising, every time you try to log in).
- Close icloud, then run it as a regular user. Open the keychain/passwords section in a new window.
- Download and install Autohotkey v1
- Download
extract.ahkand run it with autohotkey - Focus the icloud password window, at the first item.
If you are using APFS Case Sensitive File system and trying to use Steam, it will flicker & silently fail or show the following error message:
steam requires that '~/library/application support/steam/steam.appbundle/steam/contents/macos' be on a case-insensitive filesystem.
To fix the issue, follow the instruction here.
| Gigabytes (GB) | Megabytes (MB) decimal | Megabytes (MB) binary |
|---|---|---|
| 1 GB | 1,000 MB | 1,024 MB |
| 2 GB | 2,000 MB | 2,048 MB |
| 3 GB | 3,000 MB | 3,072 MB |
| 4 GB | 4,000 MB | 4,096 MB |
| 5 GB | 5,000 MB | 5,120 MB |
| 6 GB | 6,000 MB | 6,144 MB |
| 7 GB | 7,000 MB | 7,168 MB |
| 8 GB | 8,000 MB | 8,192 MB |
This is now a part of amigus.dnsmasq.
A dhcp-script for Dnsmasq
that makes it manage DHCP lease information in an SQLite database.
Dnsmasq has a dhcp-script configuration parameter.
| #!/bin/bash | |
| # SPDX-License-Identifier: MIT | |
| # Copyright (C) 2024 Roman Bolshakov. | |
| # All rights reserved. | |
| # | |
| # The script was tested on Samsung PM173x with FW EPK9CB5Q and EPK9GB5Q. | |
| # | |
| # It's recommended to use at least VQ=3 VI=3 with PM173x for decent | |
| # single-threaded I/O performance. | |
| # |
| #!/usr/bin/env python2 | |
| # | |
| # 1. https://web.archive.org/web/20210123000445/https://gist.github.com/devgianlu/018b299f8817bf92350bf7bf70214e4d | |
| # 2. https://github.com/devgianlu/Aria2App/wiki/Setup-HTTP-DirectDownload | |
| # | |
| # devgianlu/serve_http.py | |
| # Forked from pankajp/serve_http.py | |
| # | |
| # Standard library imports. |
| ACTION=="add", SUBSYSTEMS=="usb", ATTR{idProduct}!="XXXX", ATTR{idVendor}!="YYYY", RUN{program}+="/usr/sbin/usbip bind -b %k" |
I ran some experiments with varying recordsizes, filesizes, and compression. The files were .csv, representative of a simple schema:
full_name,external_id,last_modified
'Past, Gabrielle',40605,'2006-07-09 23:17:20'
'Vachil, Corry',44277,'1996-09-05 05:12:44'
The files were all generated on an ext4 filesystem. There were three sets of five files, with 75, 100,000, and 1,000,000 rows each, resulting in the following sizes:
❯ find . -name '*small*.csv' -exec du -bc {} + | \
awk 'END {printf "%s %.2f %s\n", "Average file size:", ($1 / (NR-1) / 1024), "KiB"}'
| #!/bin/bash | |
| set -e -o errexit -o pipefail -o nounset | |
| ################################### | |
| # This script can be used by itself, but it's recommended that you read | |
| # a tutorial on Proxmox forum first: https://forum.proxmox.com/threads/hey-proxmox-community-lets-talk-about-resources-isolation.124256/ | |
| ################################### | |
| # Do not modify these variables (set by Proxmox when calling the script) | |
| vmId="$1" |