Skip to content

Instantly share code, notes, and snippets.

Avatar

Peter Bengtsson peterbe

View GitHub Profile
View default.txt
learn/server-side/express_nodejs/displaying_data/template_primer/index.html:<pre class="brush: js line-numbers language-js"><code class="language-js"><span class="comment token">// View engine setup.</span>
learn/server-side/express_nodejs/displaying_data/template_primer/index.html:<pre class="brush: html line-numbers language-html"><code class="language-html">doctype html
learn/server-side/express_nodejs/displaying_data/template_primer/index.html:<pre class="brush: html line-numbers language-html"><code class="language-html">h1= title
learn/server-side/express_nodejs/displaying_data/template_primer/index.html:<pre class="brush: html line-numbers language-html"><code class="language-html">p This is a line with #[em some emphasis] and #[strong strong text] markup.
learn/server-side/express_nodejs/displaying_data/template_primer/index.html:<pre class="brush: html line-numbers language-html"><code class="language-html">a(href='http://someurl/') Link text
learn/server-side/express_nodejs/displaying_data/temp
View default.diff
diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt
index 67684f7e..489ae0a4 100644
--- a/files/en-us/_redirects.txt
+++ b/files/en-us/_redirects.txt
@@ -5,12 +5,6 @@
/en-US/docs/%D9%88%D8%A7%D8%B5%D9%81%D8%A9_SpellCheck_%D8%A7%D9%84%D8%AC%D8%AF%D9%8A%D8%AF%D8%A9_%D9%81%D9%8A_HTML5 /ar/docs/واصفة_SpellCheck_الجديدة_في_HTML5
/en-US/docs/-moz-locale-dir(ltr) /en-US/docs/Web/CSS/:-moz-locale-dir(ltr)
/en-US/docs/-moz-locale-dir(rtl) /en-US/docs/Web/CSS/:-moz-locale-dir(rtl)
-/en-US/docs//HTML/Forms/Advanced_styling_for_HTML_forms undefined
-/en-US/docs//Scripting_Plugins_Adobe_Flash undefined
View default.diff
diff --git a/files/en-us/_redirects.txt b/files/en-us/_redirects.txt
index 67684f7e..a1800a83 100644
--- a/files/en-us/_redirects.txt
+++ b/files/en-us/_redirects.txt
@@ -5,12 +5,6 @@
/en-US/docs/%D9%88%D8%A7%D8%B5%D9%81%D8%A9_SpellCheck_%D8%A7%D9%84%D8%AC%D8%AF%D9%8A%D8%AF%D8%A9_%D9%81%D9%8A_HTML5 /ar/docs/واصفة_SpellCheck_الجديدة_في_HTML5
/en-US/docs/-moz-locale-dir(ltr) /en-US/docs/Web/CSS/:-moz-locale-dir(ltr)
/en-US/docs/-moz-locale-dir(rtl) /en-US/docs/Web/CSS/:-moz-locale-dir(rtl)
-/en-US/docs//HTML/Forms/Advanced_styling_for_HTML_forms undefined
-/en-US/docs//Scripting_Plugins_Adobe_Flash undefined
View peterbe__broken_l10n_links.js
View preact.config.js
import { resolve } from "path";
export default {
/**
* Function that mutates the original webpack config.
* Supports asynchronous changes when a promise is returned (or it's an async function).
*
* @param {object} config - original webpack config.
* @param {object} env - options passed to the CLI.
* @param {WebpackConfigHelpers} helpers - object with useful helpers for working with the webpack config.
View default.diff
diff --git a/preact.config.js b/preact.config.js
index c8eeeec..c3ba21c 100644
--- a/preact.config.js
+++ b/preact.config.js
@@ -25,11 +25,11 @@ export default {
},
});
- // Use any `index` file, not just index.js
- config.resolve.alias["preact-cli-entrypoint"] = resolve(
View default.txt
{
"/": {
"bundle.72c60.css": {
"type": "style",
"weight": 1
},
"bundle.a12aa.js": {
"type": "script",
"weight": 1
}
View index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>That's Groce!</title>
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<link rel="apple-touch-icon" href="/assets/icons/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.json" />
View default.txt
{
"/": {
"bundle.72c60.css": {
"type": "style",
"weight": 1
},
"bundle.a12aa.js": {
"type": "script",
"weight": 1
}
View push-manifest.json
{"/":{"bundle.72c60.css":{"type":"style","weight":1},"bundle.a12aa.js":{"type":"script","weight":1}},"/about/index.tsx.chunk.cc0fc.css":{"bundle.72c60.css":{"type":"style","weight":1},"bundle.a12aa.js":{"type":"script","weight":1},"route-about/index.tsx.chunk.cc0fc.css":{"type":"script","weight":0.9}},"/about/index.tsx":{"bundle.72c60.css":{"type":"style","weight":1},"bundle.a12aa.js":{"type":"script","weight":1},"route-about/index.tsx.chunk.082b0.js":{"type":"script","weight":0.9},"route-about/index.tsx.chunk.cc0fc.css":{"type":"style","weight":0.9}},"/counters/index.tsx.chunk.b4528.css":{"bundle.72c60.css":{"type":"style","weight":1},"bundle.a12aa.js":{"type":"script","weight":1},"route-counters/index.tsx.chunk.b4528.css":{"type":"script","weight":0.9}},"/counters/index.tsx":{"bundle.72c60.css":{"type":"style","weight":1},"bundle.a12aa.js":{"type":"script","weight":1},"route-counters/index.tsx.chunk.16d49.js":{"type":"script","weight":0.9},"route-counters/index.tsx.chunk.b4528.css":{"type":"style","weight":
You can’t perform that action at this time.