Skip to content

Instantly share code, notes, and snippets.

@biaogebusy
Forked from ireade/sw.js
Last active January 13, 2021 13:31
Show Gist options
  • Save biaogebusy/c8c0c72ffbe28c23c71643e08f635918 to your computer and use it in GitHub Desktop.
Save biaogebusy/c8c0c72ffbe28c23c71643e08f635918 to your computer and use it in GitHub Desktop.
Handle broken images with the service worker
{"lastUpload":"2021-01-13T13:31:33.661Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "d10af6bf-270f-4cf0-b94b-1bea4bda1e2e",
"publisherId": "nrwl.angular-console",
"publisherDisplayName": "nrwl"
},
"name": "angular-console",
"publisher": "nrwl",
"version": "16.0.0"
},
{
"metadata": {
"id": "15deda26-afe0-4758-8a3d-cd0aebcbd04f",
"publisherId": "johnpapa.angular-essentials",
"publisherDisplayName": "johnpapa"
},
"name": "angular-essentials",
"publisher": "johnpapa",
"version": "11.0.0"
},
{
"metadata": {
"id": "214cbfb9-7c06-4467-bad4-357ae83eb587",
"publisherId": "johnpapa.Angular2",
"publisherDisplayName": "johnpapa"
},
"name": "Angular2",
"publisher": "johnpapa",
"version": "11.0.0"
},
{
"metadata": {
"id": "656418ba-af03-4c69-bb6e-f3e51d543ca6",
"publisherId": "AngularDoc.angulardoc-vscode",
"publisherDisplayName": "AngularDoc"
},
"name": "angulardoc-vscode",
"publisher": "AngularDoc",
"version": "6.1.3"
},
{
"metadata": {
"id": "70378119-1d85-4935-9733-0298c7a369a2",
"publisherId": "steoates.autoimport",
"publisherDisplayName": "steoates"
},
"name": "autoimport",
"publisher": "steoates",
"version": "1.5.3"
},
{
"metadata": {
"id": "697255a9-3f36-44c8-b084-d3b91edfb23a",
"publisherId": "HookyQR.beautify",
"publisherDisplayName": "HookyQR"
},
"name": "beautify",
"publisher": "HookyQR",
"version": "1.5.0"
},
{
"metadata": {
"id": "f583eafd-aa0d-4ccb-8f44-d1e610389660",
"publisherId": "CoenraadS.bracket-pair-colorizer",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer",
"publisher": "CoenraadS",
"version": "1.0.61"
},
{
"metadata": {
"id": "8a0c151b-eb13-4bed-9d49-4a252a118a0c",
"publisherId": "michelemelluso.code-beautifier",
"publisherDisplayName": "michelemelluso"
},
"name": "code-beautifier",
"publisher": "michelemelluso",
"version": "2.3.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": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.12.11"
},
{
"metadata": {
"id": "fd110b00-4782-4794-bf1f-cdeae242954f",
"publisherId": "msjsdiag.debugger-for-edge",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-edge",
"publisher": "msjsdiag",
"version": "1.0.15"
},
{
"metadata": {
"id": "90a838c3-675b-4b87-b7a5-75ea88432cce",
"publisherId": "joelday.docthis",
"publisherDisplayName": "joelday"
},
"name": "docthis",
"publisher": "joelday",
"version": "0.7.1"
},
{
"metadata": {
"id": "f60a60a6-95ba-42d4-b41c-3d24c1b89588",
"publisherId": "EditorConfig.EditorConfig",
"publisherDisplayName": "EditorConfig"
},
"name": "EditorConfig",
"publisher": "EditorConfig",
"version": "0.16.4"
},
{
"metadata": {
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c",
"publisherId": "dsznajder.es7-react-js-snippets",
"publisherDisplayName": "dsznajder"
},
"name": "es7-react-js-snippets",
"publisher": "dsznajder",
"version": "3.1.0"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.6.14"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "11.1.3"
},
{
"metadata": {
"id": "6a35a27c-7ef8-4231-84ec-fba8c6b82096",
"publisherId": "ChaunceyKiwi.json-tree-view",
"publisherDisplayName": "ChaunceyKiwi"
},
"name": "json-tree-view",
"publisher": "ChaunceyKiwi",
"version": "2.6.0"
},
{
"metadata": {
"id": "489abeb0-400c-4a08-bde4-cf5d9b863a32",
"publisherId": "Tyriar.lorem-ipsum",
"publisherDisplayName": "Tyriar"
},
"name": "lorem-ipsum",
"publisher": "Tyriar",
"version": "1.2.0"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "4.5.0"
},
{
"metadata": {
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
"publisherId": "zhuangtongfa.material-theme",
"publisherDisplayName": "zhuangtongfa"
},
"name": "material-theme",
"publisher": "zhuangtongfa",
"version": "3.9.12"
},
{
"metadata": {
"id": "a92d457e-6f3f-4167-8087-1a54e1b6e00e",
"publisherId": "Angular.ng-template",
"publisherDisplayName": "Angular"
},
"name": "ng-template",
"publisher": "Angular",
"version": "0.1100.2"
},
{
"metadata": {
"id": "b027c4b2-25ad-46db-b574-05dae3b2dc92",
"publisherId": "azemoh.one-monokai",
"publisherDisplayName": "azemoh"
},
"name": "one-monokai",
"publisher": "azemoh",
"version": "0.5.0"
},
{
"metadata": {
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86",
"publisherId": "christian-kohler.path-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "path-intellisense",
"publisher": "christian-kohler",
"version": "2.3.0"
},
{
"metadata": {
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5",
"publisherId": "humao.rest-client",
"publisherDisplayName": "humao"
},
"name": "rest-client",
"publisher": "humao",
"version": "0.24.4"
},
{
"metadata": {
"id": "e52bce95-a629-455f-8626-e7301b9e372a",
"publisherId": "robinbentley.sass-indented",
"publisherDisplayName": "robinbentley"
},
"name": "sass-indented",
"publisher": "robinbentley",
"version": "1.5.1"
},
{
"metadata": {
"id": "466468c3-1861-4ad1-bf3e-f9ad46545ebb",
"publisherId": "syler.sass-indented",
"publisherDisplayName": "syler"
},
"name": "sass-indented",
"publisher": "syler",
"version": "1.8.13"
},
{
"metadata": {
"id": "ed3575fb-5812-4a43-9efb-c19649137420",
"publisherId": "liximomo.sftp",
"publisherDisplayName": "liximomo"
},
"name": "sftp",
"publisher": "liximomo",
"version": "1.12.9"
},
{
"metadata": {
"id": "9764fb1f-aa45-4e65-a18e-705b3b00761c",
"publisherId": "tinkertrain.theme-panda",
"publisherDisplayName": "tinkertrain"
},
"name": "theme-panda",
"publisher": "tinkertrain",
"version": "1.3.0"
},
{
"metadata": {
"id": "513cf511-3894-4ee2-8c34-13ab83ddfd37",
"publisherId": "eg2.tslint",
"publisherDisplayName": "eg2"
},
"name": "tslint",
"publisher": "eg2",
"version": "1.0.44"
},
{
"metadata": {
"id": "3324c5be-43aa-4c39-a0f8-d94c2978804f",
"publisherId": "whatwedo.twig",
"publisherDisplayName": "whatwedo"
},
"name": "twig",
"publisher": "whatwedo",
"version": "1.0.2"
},
{
"metadata": {
"id": "946d9406-d60f-4a31-b6d8-81604e06dd72",
"publisherId": "marcostazi.VS-code-drupal",
"publisherDisplayName": "marcostazi"
},
"name": "VS-code-drupal",
"publisher": "marcostazi",
"version": "0.0.12"
},
{
"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.1.2"
},
{
"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": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.14"
},
{
"metadata": {
"id": "c727ab43-8d12-4f26-9648-f1d91035c9b6",
"publisherId": "NuclleaR.vscode-extension-auto-import",
"publisherDisplayName": "NuclleaR"
},
"name": "vscode-extension-auto-import",
"publisher": "NuclleaR",
"version": "1.4.3"
},
{
"metadata": {
"id": "3c307d2b-baa0-4295-b541-c3d90519b713",
"publisherId": "mohd-akram.vscode-html-format",
"publisherDisplayName": "mohd-akram"
},
"name": "vscode-html-format",
"publisher": "mohd-akram",
"version": "0.0.4"
},
{
"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": "11.1.0"
},
{
"metadata": {
"id": "dd5a2c83-ad8c-4839-a529-0644e5acb646",
"publisherId": "mgmcdermott.vscode-language-babel",
"publisherDisplayName": "mgmcdermott"
},
"name": "vscode-language-babel",
"publisher": "mgmcdermott",
"version": "0.0.30"
},
{
"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.52.2"
},
{
"metadata": {
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643",
"publisherId": "DavidAnson.vscode-markdownlint",
"publisherDisplayName": "DavidAnson"
},
"name": "vscode-markdownlint",
"publisher": "DavidAnson",
"version": "0.38.0"
},
{
"metadata": {
"id": "ae9e3eb0-3357-4cc0-90ee-598d2d384757",
"publisherId": "eg2.vscode-npm-script",
"publisherDisplayName": "eg2"
},
"name": "vscode-npm-script",
"publisher": "eg2",
"version": "0.3.13"
},
{
"metadata": {
"id": "5a7017bf-c571-4d77-b902-6e56b16f539a",
"publisherId": "johnpapa.vscode-peacock",
"publisherDisplayName": "johnpapa"
},
"name": "vscode-peacock",
"publisher": "johnpapa",
"version": "3.9.1"
},
{
"metadata": {
"id": "90a37ca1-92a2-488a-b196-7a8c0b0127ea",
"publisherId": "ms-vscode.vscode-typescript-tslint-plugin",
"publisherDisplayName": "ms-vscode"
},
"name": "vscode-typescript-tslint-plugin",
"publisher": "ms-vscode",
"version": "1.3.3"
},
{
"metadata": {
"id": "2061917f-f76a-458a-8da9-f162de22b97e",
"publisherId": "redhat.vscode-yaml",
"publisherDisplayName": "redhat"
},
"name": "vscode-yaml",
"publisher": "redhat",
"version": "0.13.0"
},
{
"metadata": {
"id": "fd6d3dc6-b307-4589-82a6-78e2afec3d77",
"publisherId": "johnpapa.winteriscoming",
"publisherDisplayName": "johnpapa"
},
"name": "winteriscoming",
"publisher": "johnpapa",
"version": "1.4.3"
}
]
{
"atomKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
"editor.formatOnPaste": true,
"liveServer.settings.donotShowInfoMsg": true,
"explorer.confirmDelete": false,
"window.zoomLevel": 0,
"editor.tabSize": 2,
"git.path": "/usr/bin/git",
"[markdown]": {},
"php.validate.enable": false,
"workbench.colorTheme": "Default Dark+",
"files.associations": {
"*.theme": "php",
"*.twig": "twig",
"*.jsx": "javascriptreact",
".editorconfig": "javascript",
"*.js": "javascriptreact",
"*.cjson": "jsonc",
"*.wxss": "css",
"*.wxs": "javascript"
},
"emmet.triggerExpansionOnTab": true,
"[javascript]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"breadcrumbs.enabled": true,
"workbench.iconTheme": "vscode-icons",
"[css]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[less]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[json]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"search.exclude": {
"/coder": true,
"/vendor": true,
"/node_modules": true
},
"sync.gist": "c8c0c72ffbe28c23c71643e08f635918",
"sync.autoDownload": true,
"sync.autoUpload": true,
"sync.quietSync": false,
"[twig]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"[html]": {
"editor.defaultFormatter": "HookyQR.beautify"
},
"vsicons.dontShowNewVersionMessage": true,
"sync.forceUpload": true,
"editor.formatOnSave": true,
"explorer.confirmDragAndDrop": false,
"html.format.indentHandlebars": true,
"html.format.indentInnerHtml": true,
"editor.defaultFormatter": "HookyQR.beautify",
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {},
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
"emmet.includeLanguages": {
"wxml": "html"
},
"minapp-vscode.disableAutoConfig": true,
"editor.fontSize": 14,
"todo-tree.tree.showScanModeButton": false
}
{
// Place your snippets for html 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"
// ],
// "description": "Log output to console"
// }
}
{
// Place your snippets for javascript 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"
// ],
// "description": "Log output to console"
// }
}
{
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. 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": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment