Skip to content

Instantly share code, notes, and snippets.

View CarbonChauvinist's full-sized avatar

CarbonChauvinist

View GitHub Profile
health#coc#check
========================================================================
- OK: Environment check passed
- OK: Javascript bundle build/index.js found
- OK: Service started
health#nvim#check
========================================================================
@CarbonChauvinist
CarbonChauvinist / alacritty_decoration_issue.txt
Created March 25, 2020 15:38
qdbus org.kde.KWin /KWin supportInformation
Version
=======
KWin version: 5.18.3
Qt Version: 5.14.1
Qt compile version: 5.14.1
XCB compile version: 1.14
Operation Mode: Xwayland
Build Options
# Maintainer: Gary Host <carbonchauvinist@protonmail.ch>
pkgname=dracut-config
pkgver=0.1
pkgrel=1
epoch=
pkgdesc="My dracut config files including pacman hooks"
arch=('any')
url="https://gist.githubusercontent.com/CarbonChauvinist/b422d1255640663199fd0130dfbe7573/raw/cc3747b150aad44d80715ba6fe80f323edb674bc"
license=('custom')
depends=('bash')
[Trigger]
Type = Path
Operation = Remove
Target = usr/lib/modules/*/pkgbase
Target = usr/lib/dracut/*
[Action]
Description = Removing linux initcpios...
When = PreTransaction
Exec = /usr/local/bin/dracut-remove.sh
@CarbonChauvinist
CarbonChauvinist / EFISTUB Dell Precision 5510
Last active July 1, 2019 22:37
EFISTUB Dell Precision 5510
https://github.com/xdever/arch-efiboot/blob/master/build_kernel.sh
https://wiki.archlinux.org/index.php/Systemd-boot
1. Create new folder to hold EFISTUB
# mkdir -p /boot/EFI/arch
2. Combine intel-ucode and initramfs into single bin file
# cat /boot/intel-ucode.img /boot/initramfs-linux-dracut.img > /boot/EFI/arch/initrd.bin
3. Copy (or just create) file with current command line options to be passed to .efi
e5-2695 v2 (12C/24T)(2.4/3.2) LGA2011/115W ~200$
e5-2667 v2 (8C/16T) (3.3/4) LGA2011/130W ~200$
ASUS X79 DELUXE MB ~$350
Veil of Darkness
The Lost Files of Sherlock Holmes: The Case of the Serrated Scalpel
KGB
Quest for Glory III: Wages of War
Gobliins
James Bond 007: The Stealth Affair
Star Trek 25th Anniversary
@CarbonChauvinist
CarbonChauvinist / i3-plasma
Last active May 5, 2018 15:29
i3 plasma 5 mash-up
# Modify i3 config
for_window [title="Desktop — Plasma"] kill; floating enable; border none
# Add following to ~/.config/plasma-workspace/env/wm.sh
#!/bin/bash
# Disable KWin and use i3gaps as WM
export KDEWM=/usr/bin/i3
git clone git://git.archlinux.org/svntogit/packages.git --single-branch --branch "packages/systemd"
cp -r packages/trunk/ systemd
cd systemd
makepkg -rsi # build and install locally v238 and check it is broken (ensure you have the two signing keys installed)
cd systemd/src/systemd-stable
git checkout v237
cd ../..
makepkg -ersi # build and install locally v237 and check it is not broken
cd systemd/src/systemd-stable
git bisect start
@CarbonChauvinist
CarbonChauvinist / arch-linux-rescue
Created February 26, 2018 02:38
arch-linux-rescue
## Open LVM
cryptsetup luksOpen /dev/sda2 lvm
## Mount root
mkdir /mnt/oldarch
mnt /devmapper/lvmvg-root /mnt/oldarch
## Mount var
mnt /devmapper/lvmvg-var /mnt/oldarch/var