xcodebuild -scheme TARGET clean build OTHER_SWIFT_FLAGS="-Xfrontend -debug-time-function-bodies" | grep .[0-9]ms | grep -v ^0.[0-9]ms | sort -nr > culprits.txt
Xcode 8: Disabling Networking Logs
Xcode 8 seems to be printing, for whatever reason, lots and lots of extra debug information.
We can shut it down by means of an environment variable:
OS_ACTIVITY_MODE = disable
Removing SSL Private Key Passwords
Yes. Again! For future self reference:
openssl rsa -in encrypted.key -out unencrypted.key
UITextView + Intrinsic Content Size
Note to future self: the trick to get intrinsicContentSize to properly work, in UITextView instances, is to simply disable scrolling in the UITextView instance.
That way… the intrinsic size will be properly calculated.
Kali Bootable FlashDrive + Mac
Long story short… this is how i managed to get a bootable Kali flash drive:
- Make sure the Flash Drive is partitioned with the Master Boot Record DiskUtility Option.
- Kali’s dd command didn’t do the trick for me. Instead, i’ve used this tool.
The quieter you become, the more you can hear…