Bläddra i källkod

Update Code/update.sh,
avoid publishing oauth keys >_<

Tom McKenzie 7 år sedan
förälder
incheckning
2babf91ad8
2 ändrade filer med 161 tillägg och 161 borttagningar
  1. 160 160
      Code/User/settings.json
  2. 1 1
      Code/update.sh

+ 160 - 160
Code/User/settings.json

@@ -1,162 +1,162 @@
 {
-  "window.zoomLevel": 0,
-  "editor.fontFamily": "Inconsolata, Menlo, Monaco, 'Courier New', monospace",
-  "editor.fontSize": 14,
-  "editor.tabSize": 2,
-  "editor.renderWhitespace": "boundary",
-  "editor.rulers": [
-      80,
-      100
-  ],
-  "files.autoSave": "off",
-  "workbench.iconTheme": "eq-material-theme-icons",
-  "editor.minimap.enabled": false,
-  "editor.minimap.maxColumn": 100,
-  "editor.renderIndentGuides": true,
-  "typescript.check.npmIsInstalled": false,
-  "javascript.validate.enable": true,
-  "git.countBadge": "tracked",
-  "window.newWindowDimensions": "inherit",
-  "workbench.editor.tabCloseButton": "off",
-  "files.trimTrailingWhitespace": true,
-  "window.titleBarStyle": "native",
-  "git.confirmSync": false,
-  "workbench.sideBar.location": "right",
-  "files.insertFinalNewline": true,
-  "window.title": "${activeEditorMedium}${separator}${rootName}${separator}${dirty}",
-  "gitlens.advanced.menus": {
-      "editorContext": {
-          "blame": true,
-          "copy": true,
-          "details": true,
-          "fileDiff": false,
-          "history": true,
-          "lineDiff": false,
-          "remote": true
-      },
-      "editorTitle": {
-          "blame": true,
-          "fileDiff": false,
-          "history": true,
-          "remote": true,
-          "status": true
-      },
-      "editorTitleContext": {
-          "blame": true,
-          "fileDiff": false,
-          "history": true,
-          "remote": true
-      },
-      "explorerContext": {
-          "fileDiff": false,
-          "history": true,
-          "remote": true
-      }
-  },
-  "editor.multiCursorModifier": "ctrlCmd",
-  "workbench.startupEditor": "none",
-  "workbench.activityBar.visible": true,
-  "files.associations": {
-      "*.js": "javascriptreact"
-  },
-  "emmet.syntaxProfiles": {
-      "javascript": "jsx"
-  },
-  "[ruby]": {
-      "editor.wordWrap": "on"
-  },
-  // "editor.glyphMargin": false,
-  "ruby.rubocop.executePath": "/Users/tom/.rbenv/shims/",
-  "sublimeTextKeymap.promptV3Features": true,
-  "editor.snippetSuggestions": "top",
-  "editor.formatOnPaste": false,
-  "search.useIgnoreFiles": true,
-  "explorer.confirmDelete": false,
-  "jest.autoEnable": false,
-  "jest.runAllTestsFirst": false,
-  "problems.decorations.enabled": true,
-  "explorer.decorations.colors": false,
-  "editor.lineNumbers": "interval",
-  "flow.pathToFlow": "/Users/tom/.nvm/versions/node/v8.9.4/bin/flow",
-  "gitlens.blame.format": "${sha|20?} ${ago|12-}",
-  "gitlens.codeLens.scopes": [
-      "document",
-      "containers",
-      "blocks"
-  ],
-  "gitlens.codeLens.symbolScopes": [
-      "Function"
-  ],
-  "diffEditor.ignoreTrimWhitespace": true,
-  "gitlens.keymap": "none",
-  "gitlens.gitExplorer.view": "history",
-  "gitlens.hovers.currentLine.over": "line",
-  "gitlens.blame.highlight.locations": [
-      "line",
-      "overview"
-  ],
-  "vscodeWorkspaceSwitcher.paths": [
-      "~/Documents/activepipe",
-      "~/Documents/repos"
-  ],
-  "workbench.colorTheme": "Dark+ (contrast)",
-  "workbench.colorCustomizations": {
-      "[Dark+ (contrast)]": {
-          "activityBar.background": "#000000",
-          "sideBar.background": "#000000",
-          "sideBar.border": "#333",
-          "editorGroup.background": "#151515",
-          "editorGroupHeader.tabsBackground": "#151515",
-          "editorCodeLens.foreground": "#666",
-          "editorRuler.foreground": "#151515",
-          "editorWidget.background": "#151515",
-          "editorWidget.border": "#666",
-          "editor.lineHighlightBorder": "#151515"
-      },
-  },
-  "bookmarks.navigateThroughAllFiles": true,
-  "editor.folding": false,
-  "debug.openExplorerOnEnd": true,
-  "scm.diffDecorationsGutterWidth": 2,
-  "workbench.statusBar.feedback.visible": false,
-  "gitlens.gitExplorer.files.layout": "list",
-  "gitlens.gitExplorer.branches.layout": "list",
-  "gitlens.advanced.messages": {
-      "suppressCommitHasNoPreviousCommitWarning": false,
-      "suppressCommitNotFoundWarning": false,
-      "suppressFileNotUnderSourceControlWarning": false,
-      "suppressGitVersionWarning": false,
-      "suppressLineUncommittedWarning": false,
-      "suppressNoRepositoryWarning": false,
-      "suppressResultsExplorerNotice": true,
-      "suppressShowKeyBindingsNotice": true
-  },
-  "githubNotificationsBell.oauthToken": "477e37e0959be5abb9974e7d8d047d1a6a4a4662",
-  "githubNotificationsBell.icon": "pulse",
-  "githubNotificationsBell.colorParticipating": "#F4F9FF",
-  "gitTreeCompare.iconsMinimal": true,
-  "gitlens.explorers.avatars": false,
-  "gitlens.gitExplorer.enabled": false,
-  "gitlens.historyExplorer.enabled": false,
-  "gitlens.codeLens.recentChange.command": "gitlens.diffWithPrevious",
-  "gitlens.currentLine.enabled": false,
-  "gitlens.blame.toggleMode": "window",
-  "gitlens.blame.avatars": false,
-  "gitlens.heatmap.toggleMode": "window",
-  "gitlens.hovers.annotations.over": "annotation",
-  "gitlens.recentChanges.highlight.locations": [
-      "line",
-      "overview"
-  ],
-  "gitlens.hovers.annotations.changes": false,
-  "gitlens.hovers.currentLine.details": false,
-  "gitlens.recentChanges.toggleMode": "window",
-  "gitlens.statusBar.alignment": "left",
-  "gitlens.statusBar.format": "${ago}: \"${message}\"",
-  "editor.find.seedSearchStringFromSelection": false,
-  "gitlens.resultsExplorer.files.layout": "auto",
-  "gitlens.statusBar.reduceFlicker": true,
-  "git.enableSmartCommit": true,
-  "git.defaultCloneDirectory": "/Users/tom/Documents/repos",
-  "bracketPairColorizer.highlightActiveScope": true
+    "window.zoomLevel": 0,
+    "editor.fontFamily": "Inconsolata, Menlo, Monaco, 'Courier New', monospace",
+    "editor.fontSize": 14,
+    "editor.tabSize": 2,
+    "editor.renderWhitespace": "boundary",
+    "editor.rulers": [
+        80,
+        100
+    ],
+    "files.autoSave": "off",
+    "workbench.iconTheme": "eq-material-theme-icons",
+    "editor.minimap.enabled": false,
+    "editor.minimap.maxColumn": 100,
+    "editor.renderIndentGuides": true,
+    "typescript.check.npmIsInstalled": false,
+    "javascript.validate.enable": true,
+    "git.countBadge": "tracked",
+    "window.newWindowDimensions": "inherit",
+    "workbench.editor.tabCloseButton": "off",
+    "files.trimTrailingWhitespace": true,
+    "window.titleBarStyle": "custom",
+    "git.confirmSync": false,
+    "workbench.sideBar.location": "right",
+    "files.insertFinalNewline": true,
+    "window.title": "${activeEditorMedium}${separator}${folderName}${separator}${dirty}",
+    "gitlens.advanced.menus": {
+        "editorContext": {
+            "blame": true,
+            "copy": true,
+            "details": true,
+            "fileDiff": false,
+            "history": true,
+            "lineDiff": false,
+            "remote": true
+        },
+        "editorTitle": {
+            "blame": true,
+            "fileDiff": false,
+            "history": true,
+            "remote": true,
+            "status": true
+        },
+        "editorTitleContext": {
+            "blame": true,
+            "fileDiff": false,
+            "history": true,
+            "remote": true
+        },
+        "explorerContext": {
+            "fileDiff": false,
+            "history": true,
+            "remote": true
+        }
+    },
+    "editor.multiCursorModifier": "ctrlCmd",
+    "workbench.startupEditor": "none",
+    "workbench.activityBar.visible": true,
+    "files.associations": {
+        "*.js": "javascriptreact"
+    },
+    "emmet.syntaxProfiles": {
+        "javascript": "jsx"
+    },
+    "[ruby]": {
+        "editor.wordWrap": "on"
+    },
+    // "editor.glyphMargin": false,
+    "ruby.rubocop.executePath": "/Users/tom/.rbenv/shims/",
+    "sublimeTextKeymap.promptV3Features": true,
+    "editor.snippetSuggestions": "top",
+    "editor.formatOnPaste": false,
+    "search.useIgnoreFiles": true,
+    "explorer.confirmDelete": false,
+    "jest.autoEnable": false,
+    "jest.runAllTestsFirst": false,
+    "problems.decorations.enabled": true,
+    "explorer.decorations.colors": false,
+    "editor.lineNumbers": "interval",
+    "flow.pathToFlow": "/Users/tom/.nvm/versions/node/v8.9.4/bin/flow",
+    "gitlens.blame.format": "${sha|20?} ${ago|12-}",
+    "gitlens.codeLens.scopes": [
+        "document",
+        "containers",
+        "blocks"
+    ],
+    "gitlens.codeLens.symbolScopes": [
+        "Function"
+    ],
+    "diffEditor.ignoreTrimWhitespace": true,
+    "gitlens.keymap": "none",
+    "gitlens.gitExplorer.view": "history",
+    "gitlens.hovers.currentLine.over": "line",
+    "gitlens.blame.highlight.locations": [
+        "line",
+        "overview"
+    ],
+    "vscodeWorkspaceSwitcher.paths": [
+        "~/Documents/activepipe",
+        "~/Documents/repos"
+    ],
+    "workbench.colorTheme": "Dark+ (contrast)",
+    "workbench.colorCustomizations": {
+        "[Dark+ (contrast)]": {
+            "activityBar.background": "#000000",
+            "sideBar.background": "#000000",
+            "sideBar.border": "#333",
+            "editorGroup.background": "#151515",
+            "editorGroupHeader.tabsBackground": "#151515",
+            "editorCodeLens.foreground": "#666",
+            "editorRuler.foreground": "#151515",
+            "editorWidget.background": "#151515",
+            "editorWidget.border": "#666",
+            "editor.lineHighlightBorder": "#151515",
+            "titleBar.border": "#333333"
+        },
+    },
+    "bookmarks.navigateThroughAllFiles": true,
+    "editor.folding": false,
+    "debug.openExplorerOnEnd": true,
+    "scm.diffDecorationsGutterWidth": 2,
+    "workbench.statusBar.feedback.visible": false,
+    "gitlens.gitExplorer.files.layout": "list",
+    "gitlens.gitExplorer.branches.layout": "list",
+    "gitlens.advanced.messages": {
+        "suppressCommitHasNoPreviousCommitWarning": false,
+        "suppressCommitNotFoundWarning": false,
+        "suppressFileNotUnderSourceControlWarning": false,
+        "suppressGitVersionWarning": false,
+        "suppressLineUncommittedWarning": false,
+        "suppressNoRepositoryWarning": false,
+        "suppressResultsExplorerNotice": true,
+        "suppressShowKeyBindingsNotice": true
+    },
+    "githubNotificationsBell.icon": "pulse",
+    "githubNotificationsBell.colorParticipating": "#F4F9FF",
+    "gitTreeCompare.iconsMinimal": true,
+    "gitlens.explorers.avatars": false,
+    "gitlens.gitExplorer.enabled": false,
+    "gitlens.historyExplorer.enabled": false,
+    "gitlens.codeLens.recentChange.command": "gitlens.diffWithPrevious",
+    "gitlens.currentLine.enabled": false,
+    "gitlens.blame.toggleMode": "window",
+    "gitlens.blame.avatars": false,
+    "gitlens.heatmap.toggleMode": "window",
+    "gitlens.hovers.annotations.over": "annotation",
+    "gitlens.recentChanges.highlight.locations": [
+        "line",
+        "overview"
+    ],
+    "gitlens.hovers.annotations.changes": false,
+    "gitlens.hovers.currentLine.details": false,
+    "gitlens.recentChanges.toggleMode": "window",
+    "gitlens.statusBar.alignment": "left",
+    "gitlens.statusBar.format": "${ago}: \"${message}\"",
+    "editor.find.seedSearchStringFromSelection": false,
+    "gitlens.resultsExplorer.files.layout": "auto",
+    "gitlens.statusBar.reduceFlicker": true,
+    "git.enableSmartCommit": true,
+    "git.defaultCloneDirectory": "/Users/tom/Documents/repos",
+    "bracketPairColorizer.highlightActiveScope": true
 }

+ 1 - 1
Code/update.sh

@@ -1 +1 @@
-cp /Users/tom/Library/Application\ Support/Code/User/settings.json ./User/settings.json
+grep -v 'oauth' /Users/tom/Library/Application\ Support/Code/User/settings.json > ./User/settings.json