Skip to content

Instantly share code, notes, and snippets.

View fed51's full-sized avatar

fed51

  • Nowhere
View GitHub Profile
@fed51
fed51 / mount_qcow2.md
Created March 18, 2020 07:46 — forked from shamil/mount_qcow2.md
How to mount a qcow2 disk image

How to mount a qcow2 disk image

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
@fed51
fed51 / keybase.md
Last active October 19, 2019 06:18

Keybase proof

I hereby claim:

  • I am fed51 on github.
  • I am fed51 (https://keybase.io/fed51) on keybase.
  • I have a public key ASB859HpBy1qQl18d3ZQwhtz1rLBMj3VvCj2qSzwUV-X5wo

To claim this, I am signing this object:

@fed51
fed51 / google_calendar.css
Last active November 2, 2016 05:10 — forked from dawoodman71/google_calendar.css
PHP Solution for adding a Google Calendar, injecting styles and changing options dynamically.
.dp-cur, .chip dt, .te, .te-t, .te-rev-s, .rb-n, .rb-i, .agenda, .event-title{
white-space:normal !important;
}
#calendarTitle,
.tab-name,
img[title="Print my calendar (shows preview)"],
.footer img,
.details .links a:last-child,
.event-links a:last-child