(Also see [remarkable][], the markdown parser created by the author of this cheatsheet)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Packages Installed (Package Control) | |
// - AdvancedNewFile | |
// - All Autocomplete | |
// - AngularJS | |
// - AutoFileName | |
// - Better JavaScript | |
// - BracketHighlither | |
// - Emmet | |
// - FileDiffs | |
// - JavaScript Console |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List() | |
var list = Immutable.List([1,2,3]) | |
// [1, 2, 3] | |
List.isList() | |
Immutable.List.isList(list) | |
// true | |
List.of() | |
var list = Immutable.List.of(1,2,3); |
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:
- Use
diskutil list
to find the right drive id. - You want the id under the IDENTIFIER column, it should look like
disk1s1
- Run
sudo fsck_exfat -d <id from above>
. egsudo fsck_exfat -d disk1s3
-d
is debug so you'll see all your files output as they're processed.- Answer
YES
if it gives you the promptMain boot region needs to be updated. Yes/No?
exFAT support on macOS seems to have some bugs since exFAT drives may or maynot randomly get corrupted.
In my case, "not ejected properly" often casue the drive in Resource busy, Volume on xxx failed to mount, File system check exit code is 1, or Timed out waiting, when try to use both Disk Utility or diskutil
to mount, repair, or first aid the disk.
Possible fix is this:
- Use
diskutil list
to find the right drive id.- You want the id under the IDENTIFIER column, it should look like
disk1s1
. disk1
marks the entire Disk.disk1s1
ordisk1s2
marks each Volume.
- You want the id under the IDENTIFIER column, it should look like
- Usually, you want to check if the disk is occupied by one or many process.