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
////////////////////////////////////////////////// | |
// | |
// EDIT: Warning, this doesn't seem to work well. | |
// | |
////////////////////////////////////////////////// | |
// Adapted from: https://gist.github.com/miguelmota/3ea9286bd1d3c2a985b67cac4ba2130a | |
package rsacrypto | |
import ( | |
"crypto/rand" | |
"crypto/rsa" | |
"crypto/sha512" | |
"crypto/x509" | |
"fmt" |
;************************************************* | |
;* Create and move a simple sprite x,y * | |
;************************************************* | |
processor 6502 | |
org $1000 | |
;helpful labels | |
CLEAR = $E544 | |
GETIN = $FFE4 |
$html = ""; | |
// URL containing rss feed | |
$url = "http://www.realbeta.net63.net/blog/rss?id=1"; | |
$xml = simplexml_load_file($url); | |
for($i = 0; $i < 1; $i++){ | |
$title = $xml->channel->item[$i]->title; | |
$link = $xml->channel->item[$i]->link; | |
$description = $xml->channel->item[$i]->description; | |
$pubDate = $xml->channel->item[$i]->pubDate; |
package main | |
import ( | |
"fmt" | |
"log" | |
"net" | |
"net/mail" | |
"net/smtp" | |
"crypto/tls" | |
) |
# Key considerations for algorithm "RSA" ≥ 2048-bit
openssl genrsa -out server.key 2048
# Key considerations for algorithm "ECDSA" ≥ secp384r1
# List ECDSA the supported curves (openssl ecparam -list_curves)
#include <cstdio> | |
#include <string> | |
#include <vector> | |
#include <SDL.h> | |
void logJoystickEvent(SDL_Event e); | |
std::string showHatState(Uint8 hat); | |
int main(int argc, char* argv[]) { | |
// Detect first gamepad on which a key is pressed, then log its events. |
THE ISA AND PC/104 BUS | |
IBM, IBM/XT, IBM PC, and IBM PC AT are registered trademarks of | |
International Business Machines Corporation. | |
This file is designed to give a basic overview of the bus found in | |
most IBM clone computers, often referred to as the XT or AT bus. The | |
AT version of the bus is upwardly compatible, which means that cards |