Skip to content

Instantly share code, notes, and snippets.

View firepol's full-sized avatar

firepol firepol

View GitHub Profile
@firepol
firepol / crypt_unlock.sh
Created February 16, 2019 10:48 — forked from gusennan/crypt_unlock.sh
initramfs-hook for unlocking LUKS-encrypted LVM partition
#!/bin/sh
PREREQ="dropbear"
prereqs() {
echo "$PREREQ"
}
case "$1" in
prereqs)
@firepol
firepol / highsierra.xml
Created May 7, 2018 22:23
Libvirt domain I'm trying (w/o success) to use to install macOS High Sierra
<domain type='kvm' xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'>
<name>highsierra</name>
<uuid>86fcec85-ce33-4c93-8118-bd22e669fa2b</uuid>
<memory unit='KiB'>16777216</memory>
<currentMemory unit='KiB'>16777216</currentMemory>
<vcpu placement='static'>4</vcpu>
<os>
<type arch='x86_64' machine='pc-q35-2.9'>hvm</type>
<loader readonly='yes' type='pflash'>/home/paul/vm/bios/highsierra/OVMF_CODE-pure-efi.fd</loader>
<nvram>/home/paul/vm/bios/highsierra/OVMF_VARS-pure-efi.fd</nvram>
@firepol
firepol / preferences
Created May 2, 2018 18:05
/etc/apt/preferences to prevent automatic grub installation in ubuntu
Package: grub-pc
Pin: release *
Pin-Priority: -1
Package: grub-pc:i386
Pin: release *
Pin-Priority: -1
Package: grub-pc-bin
Pin: release *
@firepol
firepol / bootstrap_ms.css
Last active September 23, 2020 19:14 — forked from andyl/bootstrap_ms.css
updated max-width: 767px to avoid breaking the existing behavior on col-sm
.col-ms-1,
.col-ms-2,
.col-ms-3,
.col-ms-4,
.col-ms-5,
.col-ms-6,
.col-ms-7,
.col-ms-8,
.col-ms-9,
.col-ms-10,