From 6d16576f517185a8639c5a60f0883665330ba1c1 Mon Sep 17 00:00:00 2001 From: fmbearmf <77757734+fmbearmf@users.noreply.github.com> Date: Mon, 20 Jan 2025 22:26:41 -0800 Subject: [PATCH] zzzz --- dist/404.html | 16 +-- dist/418.html | 16 +-- dist/blog/firstPost.html | 16 +-- dist/blog/index.html | 16 +-- dist/blogIndex.js | 33 +----- dist/bundle.css | 219 +-------------------------------------- dist/coolLinks.html | 16 +-- dist/css.js | 49 --------- dist/git/index.html | 16 +-- dist/index.html | 16 +-- dist/main.js | 33 +----- dist/snoop.html | 16 +-- src/tmpl.html | 10 +- 13 files changed, 80 insertions(+), 392 deletions(-) diff --git a/dist/404.html b/dist/404.html index 4fae754..545fb0f 100644 --- a/dist/404.html +++ b/dist/404.html @@ -1,13 +1,15 @@
- - - - - - - + + + + + + + + + diff --git a/dist/418.html b/dist/418.html index 65b9ae6..01de7cb 100644 --- a/dist/418.html +++ b/dist/418.html @@ -1,13 +1,15 @@ - - - - - - - + + + + + + + + + diff --git a/dist/blog/firstPost.html b/dist/blog/firstPost.html index 7b4c88a..bae7785 100644 --- a/dist/blog/firstPost.html +++ b/dist/blog/firstPost.html @@ -1,13 +1,15 @@ - - - - - - - + + + + + + + + + diff --git a/dist/blog/index.html b/dist/blog/index.html index b35b5ff..1ded3cd 100644 --- a/dist/blog/index.html +++ b/dist/blog/index.html @@ -1,13 +1,15 @@ - - - - - - - + + + + + + + + + diff --git a/dist/blogIndex.js b/dist/blogIndex.js index ebc736d..fc52359 100644 --- a/dist/blogIndex.js +++ b/dist/blogIndex.js @@ -1,32 +1 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./js/blogIndex/blogIndex.ts": -/*!***********************************!*\ - !*** ./js/blogIndex/blogIndex.ts ***! - \***********************************/ -/***/ (function() { - -eval("var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nfunction convertCamelCaseToReadable(text) {\n return __awaiter(this, void 0, void 0, function* () {\n // i have no idea how this regex works\n return new Promise((resolve) => {\n resolve(text\n .replace(/([a-z])([A-Z])/g, '$1 $2')\n .replace(/(\\d{4}-\\d{2}-\\d{2})/g, ' $1')\n .replace(/\\b\\w/g, c => c.toUpperCase()));\n });\n });\n}\nfunction blogIndex() {\n return __awaiter(this, void 0, void 0, function* () {\n if (!document.getElementById('blogIndex') || !document.getElementById('latestPost'))\n return;\n document.getElementById('blogIndex').innerHTML = \"\";\n document.getElementById('latestPost').innerHTML = \"\";\n fetch(\"/blogindex.txt\")\n .then(response => response.text())\n .then(data => {\n const uriList = data.split('\\n');\n const filteredUriList = uriList.filter(entry => entry.trim() !== '');\n const entries = filteredUriList.map(entry => {\n const parts = entry.split(' ');\n return { timestamp: parseInt(parts[0]), uri: parts[1] || '' };\n });\n entries.sort((a, b) => b.timestamp - a.timestamp);\n const ulElement = document.createElement('ul');\n entries.forEach((entry) => __awaiter(this, void 0, void 0, function* () {\n if (entry.uri) {\n const fileName = entry.uri.split('/').pop().replace('.html', '');\n const readableName = `${yield convertCamelCaseToReadable(fileName)}`;\n if (fileName.toLowerCase() !== 'index') {\n const liElement = document.createElement('li');\n const aElement = document.createElement('a');\n const pElement = document.createElement('p');\n liElement.style.whiteSpace = \"nowrap\";\n pElement.style.gap = \"10px\";\n pElement.textContent = `${new Intl.DateTimeFormat(navigator.language).format(new Date(entry.timestamp * 1000))}⠀`;\n aElement.href = entry.uri.substring(entry.uri.indexOf('/blog/'));\n aElement.textContent = readableName;\n aElement.style.display = \"inline-block\";\n pElement.style.display = \"inline-block\";\n liElement.appendChild(pElement);\n liElement.appendChild(aElement);\n ulElement.appendChild(liElement);\n }\n }\n }));\n document.getElementById('blogIndex').appendChild(ulElement);\n })\n .catch(error => {\n console.error('Error fetching and processing blog index:', error);\n });\n });\n}\ndocument.addEventListener('DOMContentLoaded', blogIndex);\n\n\n//# sourceURL=webpack:///./js/blogIndex/blogIndex.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module is referenced by other modules so it can't be inlined -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./js/blogIndex/blogIndex.ts"](); -/******/ -/******/ })() -; \ No newline at end of file +({196:function(){var e=this&&this.__awaiter||function(e,t,n,i){return new(n||(n=Promise))((function(o,r){function a(e){try{l(i.next(e))}catch(e){r(e)}}function c(e){try{l(i.throw(e))}catch(e){r(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,c)}l((i=i.apply(e,t||[])).next())}))};document.addEventListener("DOMContentLoaded",(function(){return e(this,void 0,void 0,(function*(){document.getElementById("blogIndex")&&document.getElementById("latestPost")&&(document.getElementById("blogIndex").innerHTML="",document.getElementById("latestPost").innerHTML="",fetch("/blogindex.txt").then((e=>e.text())).then((t=>{const n=t.split("\n").filter((e=>""!==e.trim())).map((e=>{const t=e.split(" ");return{timestamp:parseInt(t[0]),uri:t[1]||""}}));n.sort(((e,t)=>t.timestamp-e.timestamp));const i=document.createElement("ul");n.forEach((t=>e(this,void 0,void 0,(function*(){if(t.uri){const n=t.uri.split("/").pop().replace(".html",""),o=`${yield function(t){return e(this,void 0,void 0,(function*(){return new Promise((e=>{e(t.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/(\d{4}-\d{2}-\d{2})/g," $1").replace(/\b\w/g,(e=>e.toUpperCase())))}))}))}(n)}`;if("index"!==n.toLowerCase()){const e=document.createElement("li"),n=document.createElement("a"),r=document.createElement("p");e.style.whiteSpace="nowrap",r.style.gap="10px",r.textContent=`${new Intl.DateTimeFormat(navigator.language).format(new Date(1e3*t.timestamp))}⠀`,n.href=t.uri.substring(t.uri.indexOf("/blog/")),n.textContent=o,n.style.display="inline-block",r.style.display="inline-block",e.appendChild(r),e.appendChild(n),i.appendChild(e)}}})))),document.getElementById("blogIndex").appendChild(i)})).catch((e=>{console.error("Error fetching and processing blog index:",e)})))}))}))}})[196](); \ No newline at end of file diff --git a/dist/bundle.css b/dist/bundle.css index ae522da..460bb2e 100644 --- a/dist/bundle.css +++ b/dist/bundle.css @@ -1,218 +1 @@ -/*!***************************************************************************************************************************************************************************************************************************************************!*\ - !*** css ./node_modules/.pnpm/css-loader@6.11.0_webpack@5.97.1/node_modules/css-loader/dist/cjs.js!./node_modules/.pnpm/sass-loader@14.2.1_node-sass@9.0.0_sass@1.83.4_webpack@5.97.1/node_modules/sass-loader/dist/cjs.js!./src/scss/style.scss ***! - \***************************************************************************************************************************************************************************************************************************************************/ -@font-face { - font-family: "Material Icons"; - font-style: normal; - font-weight: 400; - src: url(0c35d18bf06992036b69.woff2) format("woff2"); - font-display: swap; -} -.material-icons { - font-family: "Material Icons"; - font-weight: normal; - font-style: normal; - font-size: 24px; - line-height: 1; - letter-spacing: normal; - text-transform: none; - display: inline-block; - white-space: nowrap; - word-wrap: normal; - direction: ltr; - -moz-font-feature-settings: "liga"; - -moz-osx-font-smoothing: grayscale; -} - -* { - word-wrap: break-word; - overflow-wrap: break-word; - word-break: break-all; -} - -body { - font-family: Arial, sans-serif; - font-size: 1.5em; - margin: 2em; - line-height: 1.6; - height: 100vh; - width: auto; - margin: 0; - padding: 0; - text-align: left; - background-color: #1e1e2e; - color: #cdd6f4; - white-space: normal; -} - -.header-container { - width: 100vw; - text-align: center; - justify-content: center; -} - -.center-image { - display: block; - margin-left: auto; - margin-right: auto; -} - -.meta { - font-size: 0.75em; - line-height: 1; - color: #313244; -} - -header { - background-color: #11111b; - color: #cdd6f4; - height: auto; -} -header a { - color: #cdd6f4; - text-decoration: dotted; - font-size: 1.5rem; -} -header a i { - vertical-align: middle; - display: inline-block; -} - -nav { - background-color: #11111b; - color: #ebdbb2; - display: flex; - flex-direction: row; - padding-top: 0.25%; - padding-bottom: 0.25%; - align-items: center; - justify-content: center; - gap: 6px; -} - -.title { - font-weight: bolder; - text-align: center; -} - -.article { - margin-top: 0; - margin-bottom: auto; - margin-left: 0; - margin-right: 0; - text-align: left; - padding-left: 30%; - padding-right: 30%; - display: flex; - flex-direction: column; - flex-wrap: wrap; - justify-content: left; - align-items: normal; - white-space: normal; -} -.article p { - text-align: left; -} - -@media (max-width: 978px) { - .article { - padding-left: 5%; - padding-right: 5%; - } - .barticle { - padding-left: 5%; - padding-right: 5%; - } -} -.article h1, -.article h2, -.article h3, -.article h4, -.article h5, -.article h6 { - text-align: left; - display: block; -} - -ul, li, ol { - margin: 0; - padding: 0; - list-style: none; - display: block; -} - -h1, h2, h3, h4, h5, h6 { - color: #fbf1c7; - display: block; -} - -a { - color: #458588; - display: block; -} -a:hover { - color: #689d6a; -} - -button { - background-color: #b16286; - color: #fbf1c7; -} -button:hover { - background-color: #458588; -} - -p { - margin-bottom: 1em; - display: inline-block; - white-space: normal; -} - -pre { - background-color: #313244; - padding: 0.5em; - overflow: auto; -} - -code { - font-family: "Courier New", Courier, monospace; - background-color: #313244; - color: #d65d0e; - padding: 0.2em; - border-radius: 3px; - display: block; -} - -table { - border-collapse: collapse; - width: 100%; - margin-bottom: 1em; - border-collapse: collapse; - display: table; -} -table th, table td { - border: 1px solid #11111b; - padding: 8px; - text-align: left; -} - -th, td { - border: 1px solid #fbf1c7; - padding: 8px; - text-align: left; -} - -th { - background-color: #ebdbb2; -} - -blockquote { - border-left: 2px solid #313244; - margin: 1em 0; - padding-left: 1em; -} - -footer { - background-color: #11111b; - color: #d5c4a1; -} +@font-face{font-family:"Material Icons";font-style:normal;font-weight:400;src:url(0c35d18bf06992036b69.woff2) format("woff2");font-display:swap}.material-icons{font-family:"Material Icons";font-weight:normal;font-style:normal;font-size:24px;line-height:1;letter-spacing:normal;text-transform:none;display:inline-block;white-space:nowrap;word-wrap:normal;direction:ltr;-moz-font-feature-settings:"liga";-moz-osx-font-smoothing:grayscale}*{word-wrap:break-word;overflow-wrap:break-word;word-break:break-all}body{font-family:Arial,sans-serif;font-size:1.5em;margin:2em;line-height:1.6;height:100vh;width:auto;margin:0;padding:0;text-align:left;background-color:#1e1e2e;color:#cdd6f4;white-space:normal}.header-container{width:100vw;text-align:center;justify-content:center}.center-image{display:block;margin-left:auto;margin-right:auto}.meta{font-size:.75em;line-height:1;color:#313244}header{background-color:#11111b;color:#cdd6f4;height:auto}header a{color:#cdd6f4;text-decoration:dotted;font-size:1.5rem}header a i{vertical-align:middle;display:inline-block}nav{background-color:#11111b;color:#ebdbb2;display:flex;flex-direction:row;padding-top:.25%;padding-bottom:.25%;align-items:center;justify-content:center;gap:6px}.title{font-weight:bolder;text-align:center}.article{margin-top:0;margin-bottom:auto;margin-left:0;margin-right:0;text-align:left;padding-left:30%;padding-right:30%;display:flex;flex-direction:column;flex-wrap:wrap;justify-content:left;align-items:normal;white-space:normal}.article p{text-align:left}@media(max-width: 978px){.article{padding-left:5%;padding-right:5%}.barticle{padding-left:5%;padding-right:5%}}.article h1,.article h2,.article h3,.article h4,.article h5,.article h6{text-align:left;display:block}ul,li,ol{margin:0;padding:0;list-style:none;display:block}h1,h2,h3,h4,h5,h6{color:#fbf1c7;display:block}a{color:#458588;display:block}a:hover{color:#689d6a}button{background-color:#b16286;color:#fbf1c7}button:hover{background-color:#458588}p{margin-bottom:1em;display:inline-block;white-space:normal}pre{background-color:#313244;padding:.5em;overflow:auto}code{font-family:"Courier New",Courier,monospace;background-color:#313244;color:#d65d0e;padding:.2em;border-radius:3px;display:block}table{border-collapse:collapse;width:100%;margin-bottom:1em;border-collapse:collapse;display:table}table th,table td{border:1px solid #11111b;padding:8px;text-align:left}th,td{border:1px solid #fbf1c7;padding:8px;text-align:left}th{background-color:#ebdbb2}blockquote{border-left:2px solid #313244;margin:1em 0;padding-left:1em}footer{background-color:#11111b;color:#d5c4a1} diff --git a/dist/coolLinks.html b/dist/coolLinks.html index b10c53e..d1676df 100644 --- a/dist/coolLinks.html +++ b/dist/coolLinks.html @@ -1,13 +1,15 @@ - - - - - - - + + + + + + + + + diff --git a/dist/css.js b/dist/css.js index f123043..e69de29 100644 --- a/dist/css.js +++ b/dist/css.js @@ -1,49 +0,0 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ "use strict"; -/******/ var __webpack_modules__ = ({ - -/***/ "./src/scss/style.scss": -/*!*****************************!*\ - !*** ./src/scss/style.scss ***! - \*****************************/ -/***/ ((__unused_webpack_module, __webpack_exports__, __webpack_require__) => { - -eval("__webpack_require__.r(__webpack_exports__);\n// extracted by mini-css-extract-plugin\n\n\n//# sourceURL=webpack:///./src/scss/style.scss?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ // The require scope -/******/ var __webpack_require__ = {}; -/******/ -/************************************************************************/ -/******/ /* webpack/runtime/make namespace object */ -/******/ (() => { -/******/ // define __esModule on exports -/******/ __webpack_require__.r = (exports) => { -/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) { -/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' }); -/******/ } -/******/ Object.defineProperty(exports, '__esModule', { value: true }); -/******/ }; -/******/ })(); -/******/ -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module can't be inlined because the eval devtool is used. -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./src/scss/style.scss"](0, __webpack_exports__, __webpack_require__); -/******/ -/******/ })() -; \ No newline at end of file diff --git a/dist/git/index.html b/dist/git/index.html index c9881e5..ef26927 100644 --- a/dist/git/index.html +++ b/dist/git/index.html @@ -1,13 +1,15 @@ - - - - - - - + + + + + + + + + diff --git a/dist/index.html b/dist/index.html index adf12a9..596e2b2 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1,13 +1,15 @@ - - - - - - - + + + + + + + + + diff --git a/dist/main.js b/dist/main.js index bfb2d25..0f65f5b 100644 --- a/dist/main.js +++ b/dist/main.js @@ -1,32 +1 @@ -/* - * ATTENTION: The "eval" devtool has been used (maybe by default in mode: "development"). - * This devtool is neither made for production nor for readable output files. - * It uses "eval()" calls to create a separate source file in the browser devtools. - * If you are trying to read the output file, select a different devtool (https://webpack.js.org/configuration/devtool/) - * or disable the default devtool with "devtool: false". - * If you are looking for production-ready output files, see mode: "production" (https://webpack.js.org/configuration/mode/). - */ -/******/ (() => { // webpackBootstrap -/******/ var __webpack_modules__ = ({ - -/***/ "./js/main/main.ts": -/*!*************************!*\ - !*** ./js/main/main.ts ***! - \*************************/ -/***/ (function() { - -eval("var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n};\nfunction printInfo() {\n return __awaiter(this, void 0, void 0, function* () {\n const con = console;\n con.debug(`%c\\n\nUA: ${navigator.userAgent} \\n\nTITLE: ${document.title} \\n\nEC: ${document.getElementsByTagName(\"*\").length} \\n`, \"color: #fbf1c7; font-size: 20px; background-color: #1e1e2e;\");\n });\n}\ndocument.addEventListener(\"DOMContentLoaded\", printInfo);\n\n\n//# sourceURL=webpack:///./js/main/main.ts?"); - -/***/ }) - -/******/ }); -/************************************************************************/ -/******/ -/******/ // startup -/******/ // Load entry module and return exports -/******/ // This entry module is referenced by other modules so it can't be inlined -/******/ var __webpack_exports__ = {}; -/******/ __webpack_modules__["./js/main/main.ts"](); -/******/ -/******/ })() -; \ No newline at end of file +({4:function(){var n=this&&this.__awaiter||function(n,t,e,o){return new(e||(e=Promise))((function(c,i){function u(n){try{r(o.next(n))}catch(n){i(n)}}function a(n){try{r(o.throw(n))}catch(n){i(n)}}function r(n){var t;n.done?c(n.value):(t=n.value,t instanceof e?t:new e((function(n){n(t)}))).then(u,a)}r((o=o.apply(n,t||[])).next())}))};document.addEventListener("DOMContentLoaded",(function(){return n(this,void 0,void 0,(function*(){console.debug(`%c\n\nUA: ${navigator.userAgent} \n\nTITLE: ${document.title} \n\nEC: ${document.getElementsByTagName("*").length} \n`,"color: #fbf1c7; font-size: 20px; background-color: #1e1e2e;")}))}))}})[4](); \ No newline at end of file diff --git a/dist/snoop.html b/dist/snoop.html index f2f62cf..5427405 100644 --- a/dist/snoop.html +++ b/dist/snoop.html @@ -1,13 +1,15 @@ - - - - - - - + + + + + + + + + diff --git a/src/tmpl.html b/src/tmpl.html index de172ac..a1fe78a 100644 --- a/src/tmpl.html +++ b/src/tmpl.html @@ -3,11 +3,11 @@ - - - - - + + + + +