Skip to content

Instantly share code, notes, and snippets.

@orionpax00
Last active April 9, 2020 18:36
Show Gist options
  • Select an option

  • Save orionpax00/dad54623a6540d8d849da61af4238cf9 to your computer and use it in GitHub Desktop.

Select an option

Save orionpax00/dad54623a6540d8d849da61af4238cf9 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-04-09T18:36:14.879Z","extensionVersion":"v3.4.3"}
[
{
"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": "690b692e-e8a9-493f-b802-8089d50ac1b2",
"publisherId": "ms-vscode.cpptools",
"publisherDisplayName": "ms-vscode"
},
"name": "cpptools",
"publisher": "ms-vscode",
"version": "0.27.0"
},
{
"metadata": {
"id": "f57f68ea-9ee8-42b5-9a97-041d3e4278c4",
"publisherId": "Dart-Code.dart-code",
"publisherDisplayName": "Dart-Code"
},
"name": "dart-code",
"publisher": "Dart-Code",
"version": "3.9.1"
},
{
"metadata": {
"id": "f6c3ec04-6057-4d9c-b997-69cba07a6158",
"publisherId": "Dart-Code.flutter",
"publisherDisplayName": "Dart-Code"
},
"name": "flutter",
"publisher": "Dart-Code",
"version": "3.9.1"
},
{
"metadata": {
"id": "61d03280-3919-4dd1-bce1-178ca21fdeaf",
"publisherId": "James-Yu.latex-workshop",
"publisherDisplayName": "James-Yu"
},
"name": "latex-workshop",
"publisher": "James-Yu",
"version": "8.8.0"
},
{
"metadata": {
"id": "1f5eb737-5496-44a3-a8a1-36a85eee4979",
"publisherId": "magicstack.MagicPython",
"publisherDisplayName": "magicstack"
},
"name": "MagicPython",
"publisher": "magicstack",
"version": "1.1.0"
},
{
"metadata": {
"id": "3b1db1fc-c7f7-4bd6-9fa4-b499dfa99a8a",
"publisherId": "shd101wyy.markdown-preview-enhanced",
"publisherDisplayName": "shd101wyy"
},
"name": "markdown-preview-enhanced",
"publisher": "shd101wyy",
"version": "0.5.2"
},
{
"metadata": {
"publisherId": "undefined_publisher.nemesis-dark",
"publisherDisplayName": "undefined_publisher"
},
"name": "nemesis-dark",
"publisher": "undefined_publisher",
"version": "0.0.1"
},
{
"metadata": {
"id": "67e66172-30c7-4478-8f5d-6eac4ae755dc",
"publisherId": "mohsen1.prettify-json",
"publisherDisplayName": "mohsen1"
},
"name": "prettify-json",
"publisher": "mohsen1",
"version": "0.0.3"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2020.3.71659"
},
{
"metadata": {
"id": "3792588c-3d35-442d-91ea-fe6a755e8155",
"publisherId": "mechatroner.rainbow-csv",
"publisherDisplayName": "mechatroner"
},
"name": "rainbow-csv",
"publisher": "mechatroner",
"version": "1.6.0"
},
{
"metadata": {
"id": "f0c5397b-d357-4197-99f0-cb4202f22818",
"publisherId": "ms-vscode-remote.remote-wsl",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-wsl",
"publisher": "ms-vscode-remote",
"version": "0.42.4"
},
{
"metadata": {
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f",
"publisherId": "ms-azuretools.vscode-docker",
"publisherDisplayName": "ms-azuretools"
},
"name": "vscode-docker",
"publisher": "ms-azuretools",
"version": "1.0.0"
},
{
"metadata": {
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a",
"publisherId": "vscode-icons-team.vscode-icons",
"publisherDisplayName": "vscode-icons-team"
},
"name": "vscode-icons",
"publisher": "vscode-icons-team",
"version": "10.0.0"
}
]
// Place your key bindings in this file to override the defaults
[
{
"key": "ctrl+shift+u",
"command": "editor.action.transformToUppercase",
"when": "editorTextFocus"
},
]
{
"terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\cmd.exe",
"git.enableSmartCommit": true,
"window.zoomLevel": 0,
"git.autofetch": true,
"C_Cpp.updateChannel": "Insiders",
"editor.renderWhitespace": "none",
"workbench.startupEditor": "newUntitledFile",
"editor.fontSize": 20,
"editor.wrappingIndent": "indent",
"workbench.colorTheme": "Nemesis Dark",
"workbench.iconTheme": "vscode-icons",
"latex-workshop.view.pdf.viewer": "tab",
"files.autoSave": "onWindowChange",
"editor.tabSize": 2,
"sync.gist": "dad54623a6540d8d849da61af4238cf9",
"window.menuBarVisibility": "default",
"zenMode.fullScreen": false,
"zenMode.hideLineNumbers": false,
"zenMode.restore": true
}
{
// Place your snippets for cpp here. Each snippet is defined under a snippet name and has a prefix, body and
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the
// same ids are connected.
// Example:
// "Print to console": {
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "descripton": "Log output to console"
// }
"base_template":{
"prefix":"n",
"body":[
"// $1",
"// $2",
"#include <bits/stdc++.h>",
"",
"using namespace std;",
"",
"int main(){",
" ios_base::sync_with_stdio(false);",
" cin.tie(NULL);",
" cout.tie(NULL);",
" freopen(\"input.txt\", \"r\", stdin);",
" freopen(\"output.txt\", \"w\", stdout);",
" $3",
" return 0;",
"}"
]
},
"find_factors":{
"prefix":"findfactors",
"body":[
"vector<int> findfactors(int $1){"
"\tvector<int> factors;",
"\tfor(int i=1;i<sqrt($1);i++){",
"\t\tif($1%i==0){",
"\t\t\tif($1/i==i) factors.push_back(i);",
"\t\t\telse {factors.push_back(i);factors.push_back($1/i);}",
"\t\t}",
"\t}",
"\treturn factors;"
"}"
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment