Skip to content

Instantly share code, notes, and snippets.

Avatar

firepol firepol

View GitHub Profile
@firepol
firepol / crypt_unlock.sh
Created Feb 16, 2019 — forked from gusennan/crypt_unlock.sh
initramfs-hook for unlocking LUKS-encrypted LVM partition
View crypt_unlock.sh
#!/bin/sh
PREREQ="dropbear"
prereqs() {
echo "$PREREQ"
}
case "$1" in
prereqs)
@firepol
firepol / highsierra.xml
Created May 7, 2018
Libvirt domain I'm trying (w/o success) to use to install macOS High Sierra
View highsierra.xml
<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
/etc/apt/preferences to prevent automatic grub installation in ubuntu
View preferences
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 Sep 23, 2020 — forked from andyl/bootstrap_ms.css
updated max-width: 767px to avoid breaking the existing behavior on col-sm
View bootstrap_ms.css
.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,
You can’t perform that action at this time.