rm -Rf /Library/Preferences/com.apple.Bluetooth.plist
A few useful Chrome extensions that i'm using to help learn Japanese.
- IPA Furigana - Looks up the readings for kanji words and inserts them as furigana
- rikaikun - Translate Japanese by hovering over words.
- Yomichan - Japanese dictionary with Anki integration
- Wanikanify - Take the kanji you've studied and inject them into the web!
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
# Reset Bluetooth settings on MacOS 10.12 (probably above, too) | |
sudo rm -f /Library/Preferences/com.apple.Bluetooth.plist | |
rm -f ~/Library/Preferences/ByHost/com.apple.Bluetooth.* | |
<Reboot> |
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
function loadjscssfile(filename, filetype) { | |
if (filetype == "js") { //if filename is a external JavaScript file | |
var fileref = document.createElement('script') | |
fileref.setAttribute("type", "text/javascript") | |
fileref.setAttribute("src", filename) | |
} else if (filetype == "css") { //if filename is an external CSS file | |
var fileref = document.createElement("link") | |
fileref.setAttribute("rel", "stylesheet") | |
fileref.setAttribute("type", "text/css") | |
fileref.setAttribute("href", filename) |
sudo rm -rfv /Library/Caches/com.apple.iconservices.store; sudo find /private/var/folders/ \( -name com.apple.dock.iconcache -or -name com.apple.iconservices \) -exec rm -rfv {} \; ; sleep 3; killall Dock; killall Finder
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
Primary Meaning | |
[ -a FILE ] True if FILE exists. | |
[ -b FILE ] True if FILE exists and is a block-special file. | |
[ -c FILE ] True if FILE exists and is a character-special file. | |
[ -d FILE ] True if FILE exists and is a directory. | |
[ -e FILE ] True if FILE exists. | |
[ -f FILE ] True if FILE exists and is a regular file. | |
[ -g FILE ] True if FILE exists and its SGID bit is set. | |
[ -h FILE ] True if FILE exists and is a symbolic link. | |
[ -k FILE ] True if FILE exists and its sticky bit is set. |
Speed test
- dotcom-monitor
- webpagetest
- Site24x7
- 360.cn - Testing within China
- Baidu - Test your website from 32 provinces, in China.
- Mailspring - Productivity focused & cross-platform email client
- bitwarden - Open-source cross-platform password manager
- eqMac2 - system-wide audio equalizer