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
#! /usr/bin/env bash | |
sudo apt-get -y install \ | |
autotools-dev \ | |
axel \ | |
binutils \ | |
build-essential \ | |
cmake \ | |
console-setup \ | |
dpkg-dev \ | |
expat \ |
#define エスティーディー std | |
#define アイオーストリーム <iostream> | |
#define ユージング using | |
#define イフ if | |
#define インクルード #include | |
#define イント int | |
#define シーアウト cout | |
#define シーイン cin | |
#define ネームスペース namespace | |
#define ブール bool |
data class BarDataM(val value: Float, val label: String) | |
@Composable | |
fun BarChartComponent( | |
bars: List<BarDataM>, | |
barWidth: Dp, | |
spaceBetweenBars: Dp, | |
animateChart: Boolean | |
) { | |
var selectedBar by remember { mutableIntStateOf(-1) } |
.css-selector { | |
background: linear-gradient(157deg, #132923, #10b981, #151515, #383838); | |
background-size: 800% 800%; | |
-webkit-animation: AnimationName 25s ease infinite; | |
-moz-animation: AnimationName 25s ease infinite; | |
-o-animation: AnimationName 25s ease infinite; | |
animation: AnimationName 25s ease infinite; | |
} | |
@-webkit-keyframes AnimationName { | |
0%{background-position:0% 50%} |
.css-selector { | |
background: linear-gradient(270deg, #007aff, #ff0000, #33ff00); | |
background-size: 600% 600%; | |
-webkit-animation: AnimationName 17s ease infinite; | |
-moz-animation: AnimationName 17s ease infinite; | |
-o-animation: AnimationName 17s ease infinite; | |
animation: AnimationName 17s ease infinite; | |
} | |
@-webkit-keyframes AnimationName { | |
0%{background-position:1% 0%} |
const { createElement: el, useState, useEffect } = React; | |
const PanelBody = wp.components.PanelBody; | |
const PluginSidebar = wp.editor.PluginSidebar; | |
const addAction = wp.hooks.addAction; | |
const registerPlugin = wp.plugins.registerPlugin; | |
function MyPluginSidebar() { | |
const [ deprecations, setDeprecations ] = useState( [] ); | |
useEffect( () => { | |
addAction( |
https://icons.duckduckgo.com/ip2/{hostname}.ico
https://www.google.com/s2/favicons?domain_url={hostname}
https://favicon.yandex.net/favicon/{hostname1}/{hostname2}/
https://f1.allesedv.com/16/{hostname}
http://grab-favicons.herokuapp.com/api/v1/grab-favicons/?url={hostname}
https://besticon-demo.herokuapp.com/icon?url={hostname}&size=80..120..200
http://favicongrabber.com/service-api-reference
#!/usr/bin/env bash | |
# | |
# Download a Chrome extension from the webstore. | |
# Extract it to a specified path. | |
# | |
# Author: Werner Robitza | |
set -e | |
CHROME_VERSION="101.0.4951.57" |