Skip to content

Instantly share code, notes, and snippets.

@cartond
Last active March 11, 2020 21:20
Show Gist options
  • Save cartond/f1cf58835a59e1deb03eea831ca41f62 to your computer and use it in GitHub Desktop.
Save cartond/f1cf58835a59e1deb03eea831ca41f62 to your computer and use it in GitHub Desktop.
Code for the Flat Weather jQuery Plugin to be compatible with darksky's API
{"lastUpload":"2019-11-08T16:09:24.087Z","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": "0929f405-649c-41ac-b39f-2352e3d65a77",
"publisherId": "dakara.dakara-foldplus",
"publisherDisplayName": "dakara"
},
"name": "dakara-foldplus",
"publisher": "dakara",
"version": "1.4.0"
},
{
"metadata": {
"id": "5da0c8de-e8a6-4287-9ef1-632f0d6db9ad",
"publisherId": "CraigMaslowski.erb",
"publisherDisplayName": "CraigMaslowski"
},
"name": "erb",
"publisher": "CraigMaslowski",
"version": "0.0.1"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.1.2"
},
{
"metadata": {
"id": "38ad8277-d23f-4cfc-becf-c77e41c3f2ee",
"publisherId": "spywhere.guides",
"publisherDisplayName": "spywhere"
},
"name": "guides",
"publisher": "spywhere",
"version": "0.9.3"
},
{
"metadata": {
"id": "3d48b57c-1cf7-41d3-858c-2e6d926f2960",
"publisherId": "vayan.haml",
"publisherDisplayName": "vayan"
},
"name": "haml",
"publisher": "vayan",
"version": "1.0.1"
},
{
"metadata": {
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
"publisherId": "zhuangtongfa.Material-theme",
"publisherDisplayName": "zhuangtongfa"
},
"name": "Material-theme",
"publisher": "zhuangtongfa",
"version": "2.28.3"
},
{
"metadata": {
"id": "b027c4b2-25ad-46db-b574-05dae3b2dc92",
"publisherId": "azemoh.one-monokai",
"publisherDisplayName": "azemoh"
},
"name": "one-monokai",
"publisher": "azemoh",
"version": "0.4.4"
},
{
"metadata": {
"id": "4386e6f6-ec10-4463-9d23-c24278718947",
"publisherId": "tomoki1207.pdf",
"publisherDisplayName": "tomoki1207"
},
"name": "pdf",
"publisher": "tomoki1207",
"version": "0.5.1"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "2.3.0"
},
{
"metadata": {
"id": "f327ee76-fca0-4590-a3aa-f46057bdb877",
"publisherId": "noku.rails-run-spec-vscode",
"publisherDisplayName": "noku"
},
"name": "rails-run-spec-vscode",
"publisher": "noku",
"version": "0.1.3"
},
{
"metadata": {
"id": "06a986d8-083a-4df6-8378-88fb4b5dedab",
"publisherId": "karunamurti.rspec-snippets",
"publisherDisplayName": "karunamurti"
},
"name": "rspec-snippets",
"publisher": "karunamurti",
"version": "0.0.4"
},
{
"metadata": {
"id": "ae062c8a-c68e-4b92-9ecf-8f1d4288b05d",
"publisherId": "rebornix.ruby",
"publisherDisplayName": "rebornix"
},
"name": "ruby",
"publisher": "rebornix",
"version": "0.25.3"
},
{
"metadata": {
"id": "186ace18-2b44-490d-863e-0bd29b229a27",
"publisherId": "formulahendry.terminal",
"publisherDisplayName": "formulahendry"
},
"name": "terminal",
"publisher": "formulahendry",
"version": "0.0.10"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.22.6"
},
{
"metadata": {
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260",
"publisherId": "Equinusocio.vsc-material-theme",
"publisherDisplayName": "Equinusocio"
},
"name": "vsc-material-theme",
"publisher": "Equinusocio",
"version": "30.0.0"
},
{
"metadata": {
"id": "445ba381-f232-4150-9056-d790bd76d698",
"publisherId": "kamikillerto.vscode-colorize",
"publisherDisplayName": "kamikillerto"
},
"name": "vscode-colorize",
"publisher": "kamikillerto",
"version": "0.8.15"
},
{
"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": "9.5.0"
},
{
"metadata": {
"id": "92d01ae4-5a2e-4299-990c-7905798fb719",
"publisherId": "jsynowiec.vscode-insertdatestring",
"publisherDisplayName": "jsynowiec"
},
"name": "vscode-insertdatestring",
"publisher": "jsynowiec",
"version": "2.2.4"
},
{
"metadata": {
"id": "69ddd764-339a-4ecc-97c1-9c4ece58e36d",
"publisherId": "GitHub.vscode-pull-request-github",
"publisherDisplayName": "GitHub"
},
"name": "vscode-pull-request-github",
"publisher": "GitHub",
"version": "0.12.0"
},
{
"metadata": {
"id": "b35cd5b4-18db-46f9-ba9e-06096c3b22d3",
"publisherId": "msjsdiag.vscode-react-native",
"publisherDisplayName": "msjsdiag"
},
"name": "vscode-react-native",
"publisher": "msjsdiag",
"version": "0.13.0"
},
{
"metadata": {
"id": "9b2c953d-6ad4-46d1-b18e-7e5992d1d8a6",
"publisherId": "akamud.vscode-theme-onedark",
"publisherDisplayName": "akamud"
},
"name": "vscode-theme-onedark",
"publisher": "akamud",
"version": "2.1.0"
}
]
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "alt+d",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+cmd+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+alt+cmd+r",
"command": "workbench.action.terminal.toggleFindRegex",
"when": "terminalFindWidgetFocused"
},
{
"key": "shift+alt+cmd+r",
"command": "-workbench.action.terminal.toggleFindRegex",
"when": "terminalFindWidgetFocused"
},
{
"key": "shift+alt+cmd+r",
"command": "workbench.action.terminal.toggleFindRegexTerminalFocus",
"when": "terminalFocus"
},
{
"key": "alt+cmd+r",
"command": "-workbench.action.terminal.toggleFindRegexTerminalFocus",
"when": "terminalFocus"
},
{
"key": "shift+alt+cmd+r",
"command": "toggleFindRegex",
"when": "editorFocus"
},
{
"key": "shift+alt+cmd+r",
"command": "-toggleFindRegex",
"when": "editorFocus"
},
{
"key": "shift+alt+cmd+r",
"command": "toggleSearchRegex",
"when": "searchViewletFocus && searchViewletVisible"
},
{
"key": "shift+alt+cmd+r",
"command": "-toggleSearchRegex",
"when": "searchViewletFocus && searchViewletVisible"
},
{ "key": "alt+cmd+r",
"command": "revealFileInOS",
"when": "editorFocus"
}
]
{
"terminal.integrated.fontFamily": "Meslo LG M for Powerline",
"editor.minimap.enabled": false,
"window.zoomLevel": 0,
"files.associations": {
"*.inky": "haml"
},
"window.title": "${activeEditorLong}${separator}${rootName}",
"diffEditor.ignoreTrimWhitespace": true,
"gitlens.gitExplorer.files.layout": "list",
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/tmp": true,
"**/node_modules": true,
"**/bower_components": true,
"**/dist": true
},
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/tmp/**": true,
"**/bower_components/**": true,
"**/dist/**": true
},
"editor.tabCompletion": "on",
"gitlens.views.repositories.files.layout": "tree",
"diffEditor.renderSideBySide": false,
"workbench.editor.tabSizing": "shrink",
"editor.renderIndentGuides": false,
"workbench.colorCustomizations": {
"activityBarBadge.background": "#E57373",
"list.activeSelectionForeground": "#E57373",
"list.inactiveSelectionForeground": "#E57373",
"list.highlightForeground": "#E57373",
"scrollbarSlider.activeBackground": "#E5737350",
"editorSuggestWidget.highlightForeground": "#E57373",
"textLink.foreground": "#E57373",
"progressBar.background": "#E57373",
"pickerGroup.foreground": "#E57373",
"tab.activeBorder": "#E57373",
"notificationLink.foreground": "#E57373",
"editorWidget.resizeBorder": "#E57373",
"editorWidget.border": "#E57373",
"settings.modifiedItemIndicator": "#E57373",
"settings.headerForeground": "#E57373",
"panelTitle.activeBorder": "#E57373",
"breadcrumb.activeSelectionForeground": "#E57373",
"menu.selectionForeground": "#E57373",
"menubar.selectionForeground": "#E57373",
"editor.findMatchBorder": "#E57373",
"selection.background": "#E5737340"
},
"editor.renderWhitespace": "boundary",
"search.location": "sidebar",
"workbench.activityBar.visible": true,
"git.checkoutType": "local",
"editor.wordWrap": "on",
"editor.wrappingIndent": "deepIndent",
"ruby.intellisense": "rubyLocate",
"breadcrumbs.enabled": true,
"editor.fontFamily": "Fira Code",
"editor.fontLigatures": true,
"editor.fontWeight": "200",
"editor.fontSize": 14,
"editor.lineHeight": 20,
"editor.foldingStrategy": "indentation",
"editor.tabSize": 2,
"workbench.commandPalette.history": 5,
"workbench.colorTheme": "Material Theme High Contrast",
"gitlens.hovers.currentLine.over": "line",
"gitlens.views.repositories.location": "gitlens",
"gitlens.views.fileHistory.location": "gitlens",
"gitlens.views.lineHistory.location": "gitlens",
"gitlens.views.compare.location": "gitlens",
"gitlens.views.search.location": "gitlens",
"materialTheme.accent": "Red",
"sync.gist": "f1cf58835a59e1deb03eea831ca41f62"
}
{
// Place your snippets for ruby 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:
"Binding Pry": {
"prefix": "pry",
"body": [
"binding.pry",
""
],
"description": "binding.pry"
},
"Puts In Console": {
"prefix": "puts",
"body": [
"puts '**********************************************'",
"puts '**********************************************'",
"puts \" $0: #{$0} \" ",
"puts '**********************************************'",
"puts '**********************************************'",
""
],
"description": "binding.pry"
},
"Obvious comment": {
"prefix": "obviouscomment",
"body": [
"# +-------------------------------------------------------+",
"# | |",
"# +-------------------------------------------------------+"
],
"description": "binding.pry"
},
"Get from active record id": {
"prefix": "arid",
"body": [
"$0 = $0.where(id: $0_id).first",
""
],
"description": "Minimize time to get active record"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment