Category Archive: mac
Time machine exclude list for developers
Backuping the following folders can eat up hundreds of gigabytes on the backup storage, and can cause significant performance reduction if the backup drive is a HDD (some of them can contains millions of files).
- /Applications/Xcode
- /Applications/Xcode-beta
- ~/.gradle
- ~/.npm
- ~/.composer
- ~/.cocoapods
- ~/.android/avd
- ~/Library/Application Support/JetBrains/Toolbox/apps
- ~/Library/Application Support/Google/Chrome/Default/Application Cache
- ~/Library/Developer/Xcode/DerivedData
- ~/Library/Developer/Xcode/iOS DeviceSupport
- {path to a node project}/node_modules
By removing these folders from the backups and excluding them in the System Preferences, the backup process can be faster and will consume less storage space.
Updater can’t detect DataTraveler Locker+ G3 (DTLPG3)
Nor the Windows, nor the Mac OS firmware updater contains device product IDs for every variant. Such as the “DTLPG3_Mac_Updater.zip” and the “DTLPG3 Updater with El Capitan Fix.zip”.
For me the device productID is same as the DTVP (DataTraveler Vault) drive’s productID.
The trick is to make the firmware updater (Mac OS variant) to work:
- Find your DTLocker+G3’s productID in the System Information app, under USB.
- Change the ‘productID’ in the following file, to your drive’s one:
DTLPG3_Mac_Updater.app/Contents/Resources/devicePersonalities.plist
Ex: My drive’s product is 0x160D, so I changed the ID from 0x169D to 0x160D. - Run the firmware updater app
After this modification, the updater can find and reflash the drive.
The latest updater can be downloaded from the Kingston’s website here: https://www.kingston.com/us/support/technical/products/dtlpg3
With this update the drive can be used with the latest MacOS Catalina.
Patched UEFI-BIOS for HP G62-A30SH
The Mac OS Mavericks runs great on this laptop, but to get the wlan work, the original wifi card must be replaced.
The UEFI firmware prevent to start with other card than the original, which thing already made a lot of headaches to hp users.
I patched the firmware, and with an also patched flasher, I been able to overwrite the ROM with the modified version.
You can download the modificated files from here => sp54846.zip
Create vmdk from disk/dmg/sparsebundle
- Open your disk image
- Unmount all partitons, but do not eject the drive/image.
- Open the Terminal app
cd /Applications/VMware\ Fusion.app/Contents/Library/
- Get your disk number with
diskutil list
./vmware-rawdiskCreator create /dev/diskx fullDevice ~/Desktop/hdd-link lsilogic
./vmware-vdiskmanager -r ~/Desktop/hdd-link.vmdk -t 0 ~/Desktop/hdd.vmdk