Skip to content

Instantly share code, notes, and snippets.

View caffeineflo's full-sized avatar

Florian Harr caffeineflo

View GitHub Profile
@caffeineflo
caffeineflo / hdd-burn-in-test.sh
Last active January 4, 2023 20:22
Burn-in Test for new HDDs
#!/bin/bash
# Make sure the script is being run as root
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root"
exit 1
fi
# Iterate through the hard drives
for i in {b..f}; do

Keybase proof

I hereby claim:

  • I am caffeineflo on github.
  • I am evils (https://keybase.io/evils) on keybase.
  • I have a public key whose fingerprint is 4E50 409F 1FC6 DAA5 FC67 DCCB 3A49 2494 9F18 A5E8

To claim this, I am signing this object:

@caffeineflo
caffeineflo / Readme.md
Last active August 29, 2015 14:03
Autoboot Boot2Docker on System Startup

I came across this when I found several solutions that didn't work for me. They all had there very own problems, they either had a debug option in it (which I found guilty of not starting my job after several hours of debugging) or other unnecessary keys.

To make this plist work, you should may create the corresponding log files before and give them the necessary permissions (770 worked for me, though it's maybe too much).

  1. Create the plist under ~/Library/LaunchAgents/com.user.boot2docker.plist
  2. run launchctl load ~/Library/LaunchAgents/com.user.boot2docker.plist