If you're using Mac OS (High Sierra or otherwise) you might have seen this error when you tried to push git code (to GitHub), especially if you tried doing so from something such as Visual Studio Code (vscode):
> git push [email protected]: Permission denied (publickey). fatal: Could not read from remote repository. Please make sure you have the correct access rights
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
| [mac os下vscode快捷键](https://www.cnblogs.com/informatics/p/8315339.html) | |
| 全局 | |
| Command + Shift + P / F1 显示命令面板 | |
| Command + P 快速打开 | |
| Command + Shift + N 打开新窗口 | |
| Command + W 关闭窗口 | |
| 基本 | |
| Command + X 剪切(未选中文本的情况下,剪切光标所在行) | |
| Command + C 复制(未选中文本的情况下,复制光标所在行) |
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
| // module scope start | |
| // Block | |
| { // <- scope start | |
| } // <- scope end | |
| // Class | |
| class Foo { // <- scope start |
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
| /* | |
| Copy this into the console of any web page that is interactive and doesn't | |
| do hard reloads. You will hear your DOM changes as different pitches of | |
| audio. | |
| I have found this interesting for debugging, but also fun to hear web pages | |
| render like UIs do in movies. | |
| */ | |
| const audioCtx = new (window.AudioContext || window.webkitAudioContext)() |