Skip to content

Instantly share code, notes, and snippets.

View shuch's full-sized avatar

六月晨光 shuch

View GitHub Profile
@shuch
shuch / vscode-git-integration.md
Created February 16, 2023 13:57 — forked from stormwild/vscode-git-integration.md
Allow Visual Studio Code to Push to Remote Repository

Visual Studio Code Git Integration

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
@shuch
shuch / mac os下vscode快捷键
Created October 29, 2020 02:06 — forked from wxingheng/mac os下vscode快捷键
mac os下vscode快捷键
[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 复制(未选中文本的情况下,复制光标所在行)
@shuch
shuch / scope.js
Created May 8, 2020 12:41 — forked from vincentdchan/scope.js
Scope Analysis
// module scope start
// Block
{ // <- scope start
} // <- scope end
// Class
class Foo { // <- scope start
@shuch
shuch / plink-plonk.js
Created April 12, 2020 13:10 — forked from tomhicks/plink-plonk.js
Listen to your web pages