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
Function Play-Mario { | |
[System.Console]::Beep(659, 125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(167); | |
[System.Console]::Beep(523, 125); | |
[System.Console]::Beep(659, 125); | |
[System.Threading.Thread]::Sleep(125); | |
[System.Console]::Beep(784, 125); |
[root@plex ~]# cat /etc/systemd/system/[email protected] | |
[Unit] | |
Description=Minecraft Server %i | |
[Service] | |
WorkingDirectory=/opt/minecraft-%i | |
User=mcserver | |
ExecStart=/usr/bin/screen -DmS mc-%i /bin/java -Xmx2048M -jar minecraft_server.jar nogui |
--- | |
- hosts: inyoka_dev | |
tasks: | |
- name: enable network | |
service: | |
name: "{{ item }}" | |
state: started | |
enabled: yes | |
with_items: |
DB
ovs-vsctl list open_vswitch
ovs-vsctl list interface
ovs-vsctl list interface vxlan-ac000344
ovs-vsctl --columns=options list interface vxlan-ac000344
ovs-vsctl --columns=ofport,name list Interface
ovs-vsctl --columns=ofport,name --format=table list Interface
ovs-vsctl -f csv --no-heading --columns=_uuid list controller
ovs-vsctl -f csv --no-heading -d bare --columns=other_config list port
Past August 2024, Authy stopped supported the desktop version of their apps:
See Authy is shutting down its desktop app | The 2FA app Authy will only be available on Android and iOS starting in August for details.
And indeed, after a while, Authy changed something in their backend which now prevents the old desktop app from logging in. If you are already logged in, then you are in luck, and you can follow the instructions below to export to tokens.
If you are not logged in anymore, but can find a backup of the necessary files, then restore those files, and re-install Authy 2.2.3 following the instructions below, and it should work as expected.
{% assign relBase = '' %} | |
{% assign tempDepth = page.url | append: 'hackish-solution' | split: '/' | size | minus: 2 %} | |
{% for i in (1..tempDepth) %} | |
{% assign relBase = relBase | append: "../" %} | |
{% endfor %} | |
{% if relBase == '' %} | |
{% assign relBase = './' %} | |
{% endif %} |
#!/usr/bin/env python3.6 | |
import os | |
import sys | |
from hashlib import md5 | |
from argparse import ArgumentParser | |
parser = ArgumentParser(description='Compare an S3 etag to a local file') | |
parser.add_argument('inputfile', help='The local file') | |
parser.add_argument('etag', help='The etag from s3') | |
args = parser.parse_args() |
#Requires -Module PSDetour | |
[CmdletBinding()] | |
param ( | |
[Parameter(Mandatory)] | |
[string] | |
$LogPath | |
) | |
$LogPath = $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath($LogPath) |