This file contains hidden or 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
| ;;======================================================== | |
| ;; Setting User Start | |
| ;;======================================================== | |
| ;; Added by Package.el. This must come before configurations of | |
| ;; installed packages. Don't delete this line. If you don't want it, | |
| ;; just comment it out by adding a semicolon to the start of the line. | |
| ;; You may delete these explanatory comments. | |
| (setq user-full-name "Shichen Liu") |
This file contains hidden or 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
| #!/usr/bin/swift | |
| import Foundation | |
| let path = NSString(string: "~/Library/Application Support/.ffuserdata").expandingTildeInPath | |
| let data = NSKeyedUnarchiver.unarchiveObject(withFile: path) as! NSDictionary | |
| let mutableData = data.mutableCopy() as! NSMutableDictionary | |
| for (key, value) in mutableData { | |
| if value is NSDate { |
This file contains hidden or 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
| ########################################### | |
| # File Size | |
| ########################################### | |
| # Show current folder size | |
| du -sh | |
| # Show all files with corresponding size | |
| du -h --max-depth=1 |