Skip to content

Instantly share code, notes, and snippets.

@mjkl-gh
mjkl-gh / smartctl-validate-health.sh
Created March 25, 2022 22:03
Maas script for checking disk health instead of --xall
#!/usr/bin/env python3
#
# smartctl-validate-health - Validate SMART health for all drives in parallel.
#
# Author: Lee Trager <[email protected]>
# Newell Jensen <[email protected]>
#
# Copyright (C) 2017-2020 Canonical
#
# This program is free software: you can redistribute it and/or modify
@mjkl-gh
mjkl-gh / Makefile
Created August 25, 2021 09:58 — forked from Hermann-SW/Makefile
Pi 400 KB
pi400: CFLAGS+=-static -lusbgx -lconfig -DPI400_USB
pi400: pi400.c gadget-hid.c
$(CC) $^ $(CFLAGS) -o $@
clean:
-rm pi400