Last active
April 19, 2021 16:31
-
-
Save JavanTang/7fd3834557d81c9c1f3b8fe860a8f487 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
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
{"contents":{"python":{"unitTest":{"unittestArgs":["-v","-s","./test","-p","test*.py"],"pyTestEnabled":false,"nosetestsEnabled":false,"unittestEnabled":true}},"launch":{"version":"0.2.0","configurations":[{"name":"Python: Insight Face Current File","type":"python","request":"launch","program":"${file}","env":{"MXNET_CUDNN_AUTOTUNE_DEFALUT":0},"cwd":"${workspaceFolder}/insightface","console":"integratedTerminal","stopOnEntry":true}]}},"overrides":[],"keys":["python.unitTest.unittestArgs","python.unitTest.pyTestEnabled","python.unitTest.nosetestsEnabled","python.unitTest.unittestEnabled","launch.version","launch.configurations"]} |
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
{"lastUpload":"2021-04-19T16:31:11.159Z","extensionVersion":"v3.4.3"} |
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
[ | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "Shan.code-settings-sync", | |
"publisherDisplayName": "Shan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "3.4.3" | |
}, | |
{ | |
"metadata": { | |
"id": "5db78037-f674-459f-a236-db622c427c5b", | |
"publisherId": "PKief.material-icon-theme", | |
"publisherDisplayName": "PKief" | |
}, | |
"name": "material-icon-theme", | |
"publisher": "PKief", | |
"version": "4.6.0" | |
}, | |
{ | |
"metadata": { | |
"id": "8842cbf6-738b-423f-81a4-ae88fba2024c", | |
"publisherId": "tushortz.python-extended-snippets", | |
"publisherDisplayName": "tushortz" | |
}, | |
"name": "python-extended-snippets", | |
"publisher": "tushortz", | |
"version": "0.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "5c8059d0-7809-4ed2-8f89-690eda5bdea6", | |
"publisherId": "cstrap.python-snippets", | |
"publisherDisplayName": "cstrap" | |
}, | |
"name": "python-snippets", | |
"publisher": "cstrap", | |
"version": "0.0.9" | |
}, | |
{ | |
"metadata": { | |
"id": "607fd052-be03-4363-b657-2bd62b83d28a", | |
"publisherId": "ms-vscode-remote.remote-ssh", | |
"publisherDisplayName": "ms-vscode-remote" | |
}, | |
"name": "remote-ssh", | |
"publisher": "ms-vscode-remote", | |
"version": "0.65.3" | |
}, | |
{ | |
"metadata": { | |
"id": "bfeaf631-bcff-4908-93ed-fda4ef9a0c5c", | |
"publisherId": "ms-vscode-remote.remote-ssh-edit", | |
"publisherDisplayName": "ms-vscode-remote" | |
}, | |
"name": "remote-ssh-edit", | |
"publisher": "ms-vscode-remote", | |
"version": "0.65.3" | |
}, | |
{ | |
"metadata": { | |
"id": "c919f1b2-3705-431b-9cfd-bb0f6f3c9720", | |
"publisherId": "softwaredotcom.swdc-vscode", | |
"publisherDisplayName": "softwaredotcom" | |
}, | |
"name": "swdc-vscode", | |
"publisher": "softwaredotcom", | |
"version": "2.5.11" | |
}, | |
{ | |
"metadata": { | |
"id": "484d897a-6711-403c-ab54-a96f12be5833", | |
"publisherId": "Equinusocio.vsc-community-material-theme", | |
"publisherDisplayName": "Equinusocio" | |
}, | |
"name": "vsc-community-material-theme", | |
"publisher": "Equinusocio", | |
"version": "1.4.2" | |
}, | |
{ | |
"metadata": { | |
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260", | |
"publisherId": "Equinusocio.vsc-material-theme", | |
"publisherDisplayName": "Equinusocio" | |
}, | |
"name": "vsc-material-theme", | |
"publisher": "Equinusocio", | |
"version": "33.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "8c609a4f-268a-41fb-8fe6-b6fcd95e8113", | |
"publisherId": "equinusocio.vsc-material-theme-icons", | |
"publisherDisplayName": "equinusocio" | |
}, | |
"name": "vsc-material-theme-icons", | |
"publisher": "equinusocio", | |
"version": "1.2.2" | |
}, | |
{ | |
"metadata": { | |
"id": "e4ee7751-6514-4731-9cdb-7580ffa9e70b", | |
"publisherId": "MS-CEINTL.vscode-language-pack-zh-hans", | |
"publisherDisplayName": "MS-CEINTL" | |
}, | |
"name": "vscode-language-pack-zh-hans", | |
"publisher": "MS-CEINTL", | |
"version": "1.55.2" | |
}, | |
{ | |
"metadata": { | |
"id": "9b2c953d-6ad4-46d1-b18e-7e5992d1d8a6", | |
"publisherId": "akamud.vscode-theme-onedark", | |
"publisherDisplayName": "akamud" | |
}, | |
"name": "vscode-theme-onedark", | |
"publisher": "akamud", | |
"version": "2.2.3" | |
}, | |
{ | |
"metadata": { | |
"id": "b04771a3-7270-469b-b721-3870e297ebe3", | |
"publisherId": "goobyter.vscode-weixin-read", | |
"publisherDisplayName": "goobyter" | |
}, | |
"name": "vscode-weixin-read", | |
"publisher": "goobyter", | |
"version": "0.1.11" | |
}, | |
{ | |
"metadata": { | |
"id": "3620b114-6fe8-459b-8c68-99943147069b", | |
"publisherId": "hollowtree.vue-snippets", | |
"publisherDisplayName": "hollowtree" | |
}, | |
"name": "vue-snippets", | |
"publisher": "hollowtree", | |
"version": "1.0.4" | |
}, | |
{ | |
"metadata": { | |
"id": "fd6d3dc6-b307-4589-82a6-78e2afec3d77", | |
"publisherId": "johnpapa.winteriscoming", | |
"publisherDisplayName": "johnpapa" | |
}, | |
"name": "winteriscoming", | |
"publisher": "johnpapa", | |
"version": "1.4.4" | |
} | |
] |
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
{"version":"1.2.2"} |
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
[{"interpreterPath":"/Users/tangzhifeng/opt/anaconda3/bin/python","kernelSpecFile":"/Users/tangzhifeng/opt/anaconda3/share/jupyter/kernels/python3/kernel.json"},{"kernelSpecFile":"/Users/tangzhifeng/Library/Jupyter/kernels/python37464bitafab6279a92c4cfea4f611b4da305637/kernel.json"},{"kernelSpecFile":"/Users/tangzhifeng/Library/Jupyter/kernels/python37464bitanaconda3virtualenv26b4f761b3644c0eaad24fa4a863968c/kernel.json"},{"kernelSpecFile":"/Users/tangzhifeng/Library/Jupyter/kernels/python37464bitbaseconda7212ec7b2e284b8a87266bfc1d1133de/kernel.json"}] |
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
// Empty |
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
// Empty |
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
{ | |
"gitlens.advanced.messages": { | |
"suppressCommitHasNoPreviousCommitWarning": true, | |
"suppressShowKeyBindingsNotice": true | |
}, | |
"git.autofetch": true, | |
"gitlens.historyExplorer.enabled": false, | |
"files.autoSave": "afterDelay", | |
"workbench.iconTheme": "material-icon-theme", | |
"git.confirmSync": false, | |
"python.linting.pylintArgs": [ | |
"--disable=E1102" | |
], | |
"workbench.colorTheme": "Solarized Light", | |
"breadcrumbs.enabled": true, | |
"files.eol": "\n", | |
"[markdown]": { | |
"editor.quickSuggestions": true | |
}, | |
"evermonkey.token": "S=s36:U=885c7a:E=16e165a9949:C=166bea96b10:P=1cd:A=en-devtoken:V=2:H=f8cf91392e37bb8af96300358832c14b", | |
"evermonkey.noteStoreUrl": "https://app.yinxiang.com/shard/s36/notestore", | |
"python.testing.unittestEnabled": true, | |
"julia.enableTelemetry": true, | |
"vim.statusBarColorControl": true, | |
"workbench.colorCustomizations": { | |
"statusBar.background": "#5f0000", | |
"statusBar.noFolderBackground": "#5f0000", | |
"statusBar.debuggingBackground": "#5f0000" | |
}, | |
"vim.leader": "<space>", | |
"vim.otherModesKeyBindingsNonRecursive": [{ | |
"before": ["<leader>", "<leader>"], | |
"after": ["<space>"] | |
}], | |
"gitlens.views.fileHistory.enabled": false, | |
"gitlens.views.lineHistory.enabled": false, | |
"fileheader.customMade": { | |
"Author": "TangZhiFeng", | |
"Data": "Do not edit", | |
"LastEditors": "TangZhiFeng", | |
"LastEditTime": "Do not edit", | |
"Description": "" | |
}, | |
"sync.gist": "7fd3834557d81c9c1f3b8fe860a8f487", | |
"files.exclude": { | |
"**/__pycache__/": true | |
}, | |
"editor.fontWeight": "bold", | |
"editor.cursorWidth": 5, | |
"git.enableSmartCommit": true, | |
"jupyter.appendResults": true, | |
"explorer.confirmDelete": false, | |
"terminal.integrated.inheritEnv": false, | |
"editor.minimap.enabled": false, | |
"vim.easymotion": true, | |
"[html]": { | |
"editor.defaultFormatter": "HookyQR.beautify" | |
}, | |
"liveshare.authenticationProvider": "GitHub", | |
"[javascript]": { | |
"editor.defaultFormatter": "HookyQR.beautify" | |
}, | |
"leetcode.endpoint": "leetcode-cn", | |
"workbench.editorAssociations": [ | |
{ | |
"viewType": "jupyter.notebook.ipynb", | |
"filenamePattern": "*.ipynb" | |
} | |
], | |
"leetcode.workspaceFolder": "/Users/tangzhifeng/.leetcode", | |
"[json]": { | |
"editor.defaultFormatter": "vscode.json-language-features" | |
}, | |
"jupyter.alwaysTrustNotebooks": true, | |
"python.defaultInterpreterPath": "/Users/tangzhifeng/opt/anaconda3/bin/python" | |
} |
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
{ | |
"crease document": { | |
"prefix": "creasedoc", | |
"body": [ | |
"save_dir = 'MNIST_data/raw/'", | |
"if os.path.exists(save_dir) is False:", | |
" os.makedirs(save_dir)" | |
], | |
"description": "crease document" | |
}, | |
"show picture": { | |
"prefix": "spic", | |
"body": [ | |
"import matplotlib.pyplot as plt", | |
"plt.imshow(image_array) #Needs to be in row,col order", | |
"plt.savefig(filename)" | |
], | |
"description": "show picture" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment