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
| An annoying problem when you can't airdrop from your iPhone to your own Mac: you see the Mac as an Airdrop target but a transfer never succeeds. | |
| - all the usual suspects are checked: | |
| - visible to Everyone | |
| - same Wifi, same iCloud account, BT on both | |
| - Mac Firewall allows incoming connections fro system services and sharingd | |
| - .... | |
| run | |
| sudo defaults write /Library/Preferences/com.apple.mDNSResponder.plist NoMulticastAdvertisements -bool false |
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
| ''' | |
| https://www.color-hex.com/216-web-safe-colors/ | |
| just include in your Python code | |
| list of RGB tuples | |
| ''' | |
| webcolors = [(0, 0, 0), (0, 0, 51), (0, 0, 102), (0, 0, 153), (0, 0, 204), (0, 0, 255), (0, 51, 0), (0, 51, 51), | |
| (0, 51, 102), (0, 51, 153), (0, 51, 204), (0, 51, 255), (0, 102, 0), (0, 102, 51), (0, 102, 102), | |
| (0, 102, 153), (0, 102, 204), (0, 102, 255), (0, 153, 0), (0, 153, 51), (0, 153, 102), (0, 153, 153), | |
| (0, 153, 204), (0, 153, 255), (0, 204, 0), (0, 204, 51), (0, 204, 102), (0, 204, 153), (0, 204, 204), |