Skip to content

Instantly share code, notes, and snippets.

View j-steinbach's full-sized avatar

J. Steinbach j-steinbach

View GitHub Profile
@j-steinbach
j-steinbach / linux_kernel_modules_nixos.md
Created February 16, 2022 17:34 — forked from CMCDragonkai/linux_kernel_modules_nixos.md
Linux Kernel Modules for NixOS #linux #nixos

Linux Kernel Modules for NixOS

You can find what kernel modules are loaded using lsmod.

However some kernel modules are required at stage 1 boot. Basically preloaded in the initial ram disk before switching to the root filesystem. These kernel modules are mostly needed to deal with peripherals, storage devices, filesystems and network devices. You may need to be wary of these required modules:

  • sd_mod - SCSI, SATA, and PATA (IDE) devices
@j-steinbach
j-steinbach / extractAnnotations.py
Created December 20, 2021 21:03 — forked from stevepowell99/extractAnnotations.py
Extracts annotations and highlighted passages in all .pdf files in a folder recursively and outputs them as text files with the same name and modification date
#!/usr/bin/env python
# see http://socialdatablog.com/extract-pdf-annotations.html
myxkfolder="/home/steve/xk/" #you need to set this to where you want your to-dos to appear
import poppler, os.path, os, time, datetime
for root, dirs, files in os.walk('./'):
for lpath in files: