Skip to content

Instantly share code, notes, and snippets.

View TheLastCicada's full-sized avatar

Zachary Brown TheLastCicada

View GitHub Profile
@TheLastCicada
TheLastCicada / keybase.md
Created January 21, 2022 19:20
keybase.md

Keybase proof

I hereby claim:

  • I am thelastcicada on github.
  • I am zacharybrown (https://keybase.io/zacharybrown) on keybase.
  • I have a public key ASAVzIviFOmQPvGTef6KVx_vF9juKbInE6zfjIqrHMfx8wo

To claim this, I am signing this object:

@TheLastCicada
TheLastCicada / gist:66ac0c7d2e99881bf9c76e3a8e645fd3
Last active April 30, 2022 14:54
Preparing Hard Drives for Chia
Maybe this is a good way to do it, maybe it isn't - this is my current method.
### List all drives and partitions
`fdisk -l`
### Delete partitions
`gdisk /dev/sdX`
`d`
`1`
`d` (do d until all partitions are deleted)
#!/bin/bash
# (c) Wolfgang Ziegler // fago
# Modified by Zachary Brown, Chia Networks Inc
#
# Original Script: https://gist.github.com/fago/9608238
#
# Inotify script to trigger a command on file changes.
#
# The script triggers the command as soon as a file event occurs. Events
# occurring during command execution are aggregated and trigger a single command