Understand your Mac and iPhone more deeply by tracing the evolution of Mac OS X from prelease to Swift. John Siracusa delivers the details.
You've got two main options:
| #!/bin/sh | |
| echo Disabling vpnagentd... | |
| sudo launchctl disable system/com.cisco.anyconnect.vpnagentd | |
| echo Tearing down vpnagentd... | |
| sudo launchctl bootout system /Library/LaunchDaemons/com.cisco.anyconnect.vpnagentd.plist | |
| echo Deactivating Cisco AnyConnect Socket Filter Extension... | |
| /Applications/Cisco/Cisco\ AnyConnect\ Socket\ Filter.app/Contents/MacOS/Cisco\ AnyConnect\ Socket\ Filter -deactivateExt |
| import requests | |
| import json | |
| import random | |
| Back_URL = 'https://api.bilibili.com/x/web-interface/archive/stat?aid=' | |
| headers = { | |
| 'Cookie': "Replace Me With REAL COOKIE" , | |
| 'Pragma': 'no-cache', |
| # See: http://en.wikipedia.org/wiki/Tput | |
| BOLD="$(tput bold)" | |
| RED="$(tput setaf 1)" | |
| GREEN="$(tput setaf 2)" | |
| YELLOW="$(tput setaf 3)" | |
| BLUE="$(tput setaf 4)" | |
| MAGENTA="$(tput setaf 5)" | |
| CYAN="$(tput setaf 6)" | |
| WHITE="$(tput setaf 7)" |
Install convmv if you don't have it
sudo apt-get install convmv
Convert all files in a directory from NFD to NFC:
convmv -r -f utf8 -t utf8 --nfc --notest .