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
In CLI: | |
configure | |
set vpn l2tp remote-access authentication mode local | |
set vpn l2tp remote-access authentication local-users username <username> password <password> | |
set vpn l2tp remote-access client-ip-pool start 10.0.0.195 | |
set vpn l2tp remote-access client-ip-pool stop 10.0.0.199 | |
set vpn l2tp remote-access dns-servers server-1 10.0.0.1 |
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
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Max (editable)" 80 | |
defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" 48 | |
defaults write com.apple.BluetoothAudioAgent "Apple Initial Bitpool (editable)" 40 | |
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool" 58 | |
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Max" 58 | |
defaults write com.apple.BluetoothAudioAgent "Negotiated Bitpool Min" 48 |
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
Ordinarily I would go into Keyboard Preferences, Modifier Keys; I would select the name of the external keyboard | |
and I would tell it to turn Command into Option, Option into Command, and Caps Lock into Control. | |
But the Varmilo VB87M Mechanical Bluetooth Tenkeyless doesn't show up as an external keyboard. Weird, right? | |
You can't just swap command and option globally or your local keyboard will be affected. | |
When I added it, I had to "add Bluetooth device" under Bluetooth preferences, | |
rather than "add Bluetooth keyboard" under Keyboard preferences. | |
(That was true, at least, as of 2016-08-24, on OS X El Capital 10.11.6.) |
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
spctl --assess --verbose /Applications/Xcode.app |
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
#ifdef TESTING | |
/* | |
Disable deprecated-declarations warning. | |
See http://clang.llvm.org/docs/UsersManual.html#diagnostics_pragmas | |
Basic workflow: | |
1. push current warnings onto stack | |
2. ignore warning we know will get thrown | |
3. do dodgy thing that causes warning |
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
#ifdef TESTING | |
/* | |
Disable deprecated-declarations warning. | |
See http://clang.llvm.org/docs/UsersManual.html#diagnostics_pragmas | |
Basic workflow: | |
1. push current warnings onto stack | |
2. ignore warning we know will get thrown | |
3. do dodgy thing that causes warning |
NewerOlder