Skip to content

Instantly share code, notes, and snippets.

View dnck's full-sized avatar
😉
The essence of belief is the establishment of a habit.

Dan J Cook dnck

😉
The essence of belief is the establishment of a habit.
View GitHub Profile
@dnck
dnck / styles.less
Created April 12, 2022 14:31 — forked from yakovkhalinsky/styles.less
My Atom editor personal stylesheet
// colour vars (or color if you're American)
@plain-black: #000;
@plain-white: #fff;
@funky-green: #00ff00; // original
.title-bar {
padding: 15px;
letter-spacing: 0.08em;
font-size: 1.1em;
}
@dnck
dnck / fix_exfat_drive.md
Created December 10, 2019 17:28 — forked from scottopell/fix_exfat_drive.md
Fix corrupted exFAT disk macOS/OSX

exFAT support on macOS seems to have some bugs because my external drives with exFAT formatting will randomly get corrupted.

Disk Utility is unable to repair this at first, but the fix is this:

  1. Use diskutil list to find the right drive id.
  2. You want the id under the IDENTIFIER column, it should look like disk1s1
  3. Run sudo fsck_exfat -d <id from above>. eg sudo fsck_exfat -d disk1s3
  4. -d is debug so you'll see all your files output as they're processed.
  5. Answer YES if it gives you the prompt Main boot region needs to be updated. Yes/No?