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
Install VMWare Workstation PRO 17 (Read it right. PRO!) | |
Also, these keys might also work with VMWare Fusion 13 PRO. Just tested it. | |
Sub to me on youtube pls - PurpleVibe32 | |
if you want more keys - call my bot on telegram. @purector_bot (THE BOT WONT REPLY ANYMORE) - Or: https://cdn.discordapp.com/attachments/1040615179894935645/1074016373228978277/keys.zip - the password in the zip is 102me. | |
--- | |
This gist can get off at any time. | |
PLEASE, DONT COPY THIS. IF YOU FORK IT, DONT EDIT IT. | |
*If you have a problem comment and people will try to help you! | |
*No virus |
# | |
# mkcd command | |
# This is an improvised version of the mkcd command at http://superuser.com/questions/152794/is-there-a-shortcut-to-mkdir-foo-and-immediately-cd-into-it | |
# This function has to be added to the ~/.bashrc file | |
# After that you can run command like: mkdir abc, mkdir -p one/two/three | |
# | |
function mkcd { | |
last=$(eval "echo \$$#") | |
if [ ! -n "$last" ]; then | |
echo "Enter a directory name" |
Note: This was written in 2015, it may be out of date now.
There are a lot of commands here which I use
sudo
if you don't know what you're doing withsudo
, especially where Irm
you can severely screw up your system.
There are many reasons which you would want to remove a piece of software such as McAfee, such as not wanting it to hammer your CPU during work hours which seems like primetime for a virus scan.
I intend this to be a living document, I have included suggestions from peoples' replies.
for f in /usr/share/figlet/* | |
do | |
fs=$(basename $f) | |
fname=${fs%%.tlf} | |
toilet -f $fname $fname | |
done |
Intentionally break your map canvas using the resize container
button, then fix it again using the fix map
button. This little demo is designed to show off how Mapbox GL JS's map.resize()
method can fix a squished or stretched map canvas by telling the map to 1) check the size of its container, then 2) trigger a re-render. This method is useful for applications where the map's container might be resized interactively through a sliding, expanding, contracting, or interactively hidden HTML element.
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 | |
model : 28 | |
model name : Intel(R) Atom(TM) CPU Z520 @ 1.33GHz | |
stepping : 2 | |
microcode : 0x217 | |
cpu MHz : 800.000 | |
cache size : 512 KB | |
physical id : 0 |
(function(global){ | |
"use strict"; | |
function constEnumPropValueDesc(v){ | |
return { | |
value: v, | |
enumerable: true, | |
configurable: false, | |
writable: false | |
}; |