JProfiler的一点小东西
就在刚才,键盘被猫碰掉到地上,敲出了一行神秘字符,神奇的是它还真能用,特此记录。
1 | // JProfiler License |
就在刚才,键盘被猫碰掉到地上,敲出了一行神秘字符,神奇的是它还真能用,特此记录。
1 | // JProfiler License |
有时候一些意外操作可能会破坏macOS的hosts文件,此时可以通过以下方式恢复。
1 | sudo cat <<EOF > /etc/hosts |
该命令的作用是写入macOS默认的hosts文件内容。
1 | sudo chown root:wheel /etc/hosts; sudo chmod 644 /etc/hosts |