From 6a1b11f77fad654e7a9934d18f5b8689f441d1f1 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Thu, 27 Jun 2024 00:48:28 -0500 Subject: [PATCH 1/5] Git is on wordlist --- constants.json | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/constants.json b/constants.json index 3f51bd2..f5a12de 100644 --- a/constants.json +++ b/constants.json @@ -198,7 +198,10 @@ "Docker": { "color": "blue" }, - "Github": { + "Git": { + "color": "gray" + }, + "git": { "color": "gray" }, "Steam": { From 6ee2f51f28d969a793103fb7d3a6754b8e1b7e81 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Thu, 27 Jun 2024 00:50:33 -0500 Subject: [PATCH 2/5] nah --- constants.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/constants.json b/constants.json index f5a12de..3f51bd2 100644 --- a/constants.json +++ b/constants.json @@ -198,10 +198,7 @@ "Docker": { "color": "blue" }, - "Git": { - "color": "gray" - }, - "git": { + "Github": { "color": "gray" }, "Steam": { From fb5d513545eb8400a5d450dd7d8e9ccd987a23b6 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Thu, 27 Jun 2024 00:55:38 -0500 Subject: [PATCH 3/5] pregen total time tracked --- pageUpdater.js | 3 +++ static/stats/index.html | 1 + 2 files changed, 4 insertions(+) diff --git a/pageUpdater.js b/pageUpdater.js index 0bf117c..1e6a7a6 100644 --- a/pageUpdater.js +++ b/pageUpdater.js @@ -398,6 +398,9 @@ function pregenerate() { pregenFiles[i].html = converter(fs.readFileSync(pregenFiles[i].absolutePath).toString(), false) pregenFiles[i].html = pregenFiles[i].html.replaceAll("{PREGEN_TIME}", Date.now() - startTime) } + for (var i = 0; i < pregenFiles.length; i++) { + pregenFiles[i].html = pregenFiles[i].html.replaceAll("{PREGEN_TOTAL}", Date.now() - lastPregen) + } } pregenerate() diff --git a/static/stats/index.html b/static/stats/index.html index 8aa6ce7..1e14a68 100644 --- a/static/stats/index.html +++ b/static/stats/index.html @@ -38,6 +38,7 @@
  • Page generation time: {LOAD_TIME}
  • Pregeneration time: {PREGEN_TIME}ms
  • +
  • Total Pregen time (all pages): {PREGEN_TOTAL}ms
  • Uptime: {UPTIME}
  • Last Lanyard update: {LAST_LANYARD}
  • Last Pregeneration: {LAST_PREGEN}
  • From a8bab330c8cf98d9a43d98cbbd543f6dde953122 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Fri, 28 Jun 2024 11:59:00 -0500 Subject: [PATCH 4/5] Code font could not handle long text I like the way it looks to have certain words be highlighted, makes it look fancier and easier to read (imo). So, when I remade this site, I went ahead and added an Automatic Word Highlighting System! This allows me have words automatically highlighted, on the server side, without having to do it in the code manually. Here's the current list of highlighted words:

    {ALL_HIGHLIGHTS}

    As time continues, more words are added to the highlighting list, and I'm slowly adding more features, like disabling case sensitivity, boldness, italics, outlines, and more.

    -

    You may notice some highlighted words are "missing" on this list. This is because characters adjacent to the highlighted word are highlighted, too! What that means is, I can type HolyCowabungaILoveUltrakillItsSoEpic and it'll all be highlighted!

    +

    You may notice some highlighted words are "missing" on this list. This is because characters adjacent to the highlighted word are highlighted, too! What that means is, I can type ILoveTetoTuesday! and it'll all be highlighted!

    P.S. If you're wondering what YIP is for, its for YIPPEEEEEEEEEEEEEEEEEEEEEE!


    I thought the site doesn't use Javascript? So why is it there?

    From 4174fa42eb32f19ebb31ec127e53fb2cf5f9eb31 Mon Sep 17 00:00:00 2001 From: bingus_violet Date: Fri, 28 Jun 2024 20:48:29 -0500 Subject: [PATCH 5/5] add Lethal Company to highlights config --- constants.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/constants.json b/constants.json index 3f51bd2..9cc3409 100644 --- a/constants.json +++ b/constants.json @@ -285,6 +285,9 @@ }, "YIP": { "italicized": true + }, + "Lethal Company": { + "color": "red" } } } \ No newline at end of file