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
| # Backup | |
| docker exec CONTAINER /usr/bin/mysqldump -u root --password=root DATABASE > backup.sql | |
| # Restore | |
| cat backup.sql | docker exec -i CONTAINER /usr/bin/mysql -u root --password=root DATABASE | |
https://wiki.archlinux.org/index.php/beginners'_guide
What I wanted:
###Connect to Wifi
wifi-menu -o | [Unit] | |
| Description=Disable GPE6F interrupts | |
| [Service] | |
| Type=oneshot | |
| ExecStart=/bin/bash -c "echo disable > /sys/firmware/acpi/interrupts/gpe6F" | |
| [Install] | |
| WantedBy=multi-user.target |
| DefinitionBlock ("", "SSDT", 1, "APPLE ", "Debug", 0x00001000) | |
| { | |
| /* | |
| * Many OEM ACPI implementations have a ADBG function which is used for | |
| * debug logging. In almost all cases, this function calls MDBG, which is | |
| * supposed to be defined in a ACPI debug SSDT (but is usually missing). | |
| * This should make ADBG functional. | |
| */ | |
| Method (MDBG, 1, NotSerialized) | |
| { |
This is a very brief tutorial on getting OpenWRT installed on a regular computer, it assumes you know your way around Linux. If you find this and need additional details, please like, subscribe, and comm... oh wait this isn't youtube, just comment.
Updated: Current version is 22.03.5, this was originally written for 18.6.x in 2019.
| // ==UserScript== | |
| // @name YouTube - Anti-Anti-AFK | |
| // @namespace larryc5 | |
| // @version 1.0 | |
| // @description Stops YouTube from automatically pausing the video. | |
| // @author Larry Costigan | |
| // @include /^https?:\/\/(?:[^\/?#]*\.)?youtube.com\/.*$/ | |
| // @downloadURL https://gist.githubusercontent.com/larryc5/95c3ae2abbd37b35e2a35ac2c49d9996/raw/youtube-anti-anti-afk.user.js | |
| // @updateURL https://gist.githubusercontent.com/larryc5/95c3ae2abbd37b35e2a35ac2c49d9996/raw/youtube-anti-anti-afk.meta.js | |
| // ==/UserScript== |