From 92d22dedf04bdb9505a2f170608125b077cd4c20 Mon Sep 17 00:00:00 2001 From: Henrik Sommerfeld Date: Sun, 17 Nov 2024 19:35:45 +0100 Subject: [PATCH] Remove time from date frontmatter --- .../2017-08-07-switching-from-wordpress-to-hugo/index.md | 4 ++-- .../index.md | 4 ++-- .../index.md | 2 +- .../index.md | 4 ++-- .../index.md | 2 +- .../index.md | 2 +- .../index.md | 4 ++-- .../index.md | 4 ++-- .../2018-06-29-getting-a-divorce-from-sharepoint/index.md | 4 ++-- .../index.md | 2 +- .../2018-10-06-there-are-only-temporary-solutions/index.md | 4 ++-- .../article/2019-01-10-git-wasnt-that-complicated/index.md | 4 ++-- .../article/2019-03-19-error-handling-with-fetch/index.md | 4 ++-- content/article/2019-06-09-z-index/index.md | 4 ++-- .../2019-09-10-netlify-cms-incorrectly-eaten-value/index.md | 6 +++--- content/article/2019-10-18-pwa-bad-for-blog/index.md | 2 +- content/article/2019-10-30-gatsby-twitter/index.md | 4 ++-- content/article/2019-11-15-dark-mode/index.md | 2 +- content/article/2019-11-17-netlify-cms/index.md | 4 ++-- .../2019-11-26-i-love-my-new-2013-macbook-pro/index.md | 2 +- .../index.md | 4 ++-- content/article/2019-12-05-gatsby-vs-hugo/index.md | 4 ++-- content/article/2020-01-21-soundbar-vs-pihole/index.md | 4 ++-- content/article/2020-01-29-yarn-resolutions/index.md | 2 +- .../article/2020-02-05-lazy-loading-images-in-hugo/index.md | 4 ++-- content/article/2020-02-12-parental-leave-boredom/index.md | 2 +- content/article/2020-02-26-mac-setup/index.md | 2 +- content/article/2020-03-09-tests-for-legacy/index.md | 4 ++-- .../index.md | 4 ++-- content/article/2020-04-08-asuswrt-merlin-updater/index.md | 4 ++-- content/article/2020-04-17-greener-grass/index.md | 2 +- content/article/2020-05-29-tips-for-student/index.md | 4 ++-- content/article/2020-06-12-hugo-pipeline-intro/index.md | 2 +- content/article/2020-06-13-hugo-editing/index.md | 2 +- content/article/2020-06-14-hugo-developing/index.md | 2 +- content/article/2020-06-15-hugo-alpinejs/index.md | 2 +- content/article/2020-07-10-url-shortener/index.md | 4 ++-- content/article/2020-07-23-lunr-search/index.md | 6 +++--- .../article/2020-10-25-jenkins-shared-libraries/index.md | 2 +- content/article/2020-11-15-cli-commands/index.md | 4 ++-- content/article/2021-01-06-bear/index.md | 2 +- content/article/2021-05-28-us-layout-keyboard/index.md | 2 +- content/article/2021-08-11-build-a-barebone-pc/index.md | 2 +- content/article/2021-11-21-ts-unique-symbol/index.md | 2 +- content/article/2022-05-31-repo-search/index.md | 2 +- content/article/2022-11-28-i3-fade-and-opacity/index.md | 2 +- .../2023-03-09-set-dotnet-log-level-using-envs/index.md | 2 +- content/article/2023-03-31-my-unify-dream-wall/index.md | 2 +- content/article/2023-07-17-yale-doorman/index.md | 2 +- content/article/2023-09-14-onedrive-on-linux/index.md | 2 +- content/article/2023-12-16-akasa-fan-less-mini-pc/index.md | 2 +- content/article/2024-02-07-kyria/index.md | 2 +- content/article/2024-03-02-databases-as-dev-tool/index.md | 2 +- content/article/2024-07-28-gatsby-to-sveltekit/index.md | 2 +- content/article/2024-10-21-emoji-debugging/index.md | 2 +- tests/post.spec.ts | 2 +- 56 files changed, 82 insertions(+), 82 deletions(-) diff --git a/content/article/2017-08-07-switching-from-wordpress-to-hugo/index.md b/content/article/2017-08-07-switching-from-wordpress-to-hugo/index.md index 3992fab4..1c62796a 100644 --- a/content/article/2017-08-07-switching-from-wordpress-to-hugo/index.md +++ b/content/article/2017-08-07-switching-from-wordpress-to-hugo/index.md @@ -1,7 +1,7 @@ --- title: "Switching from WordPress to Hugo" url: "switching-from-wordpress-to-hugo" -date: 2017-08-07T21:25:57+02:00 +date: 2017-08-07 categories: ["Coding"] tags: ["Hugo","WordPress"] draft: false @@ -47,4 +47,4 @@ In summary I find this setup more enjoyable and more appropriate for my needs wi [5]: https://gohugo.io/tools/search/ [6]: https://www.algolia.com/ [7]: https://lunrjs.com/ -[8]: https://blog.carlmjohnson.net/post/2017/hugo-asset-pipeline/ \ No newline at end of file +[8]: https://blog.carlmjohnson.net/post/2017/hugo-asset-pipeline/ diff --git a/content/article/2017-08-26-switching-from-crashplan-backup-services/index.md b/content/article/2017-08-26-switching-from-crashplan-backup-services/index.md index a19ee144..4fa3e4bb 100644 --- a/content/article/2017-08-26-switching-from-crashplan-backup-services/index.md +++ b/content/article/2017-08-26-switching-from-crashplan-backup-services/index.md @@ -1,7 +1,7 @@ --- title: "Switching from CrashPlan and other Backup Services" url: "switching-from-crashplan-and-other-backup-services" -date: 2017-08-26T14:53:58+02:00 +date: 2017-08-26 categories: ["Thoughts"] tags: ["Backup","CrashPlan","OneDrive"] draft: false @@ -34,4 +34,4 @@ _**Update 2017-08-27:** Having uploaded an additional 278 GB to OneDrive through [1]: https://www.crashplan.com/en-us/consumer/nextsteps/ [2]: /micro-stuttering-caused-by-crashplan/ [3]: https://www.cloudwards.net/award/best-online-backup-services/ -[4]: https://www.hanselman.com/blog/TheComputerBackupRuleOfThree.aspx \ No newline at end of file +[4]: https://www.hanselman.com/blog/TheComputerBackupRuleOfThree.aspx diff --git a/content/article/2017-09-17-build-steps-using-npm-scripts-for-my-hugo-blog/index.md b/content/article/2017-09-17-build-steps-using-npm-scripts-for-my-hugo-blog/index.md index 2e3b4c17..a52e3858 100644 --- a/content/article/2017-09-17-build-steps-using-npm-scripts-for-my-hugo-blog/index.md +++ b/content/article/2017-09-17-build-steps-using-npm-scripts-for-my-hugo-blog/index.md @@ -1,7 +1,7 @@ --- title: "Build Steps Using NPM Scripts for My Hugo Blog" url: "build-steps-using-npm-scripts-for-my-hugo-blog" -date: 2017-09-17T17:15:54+02:00 +date: 2017-09-17 draft: false categories: ["Coding"] tags: ["Hugo","NodeJS", "JavaScript", "CSS"] diff --git a/content/article/2017-10-30-replacing-webcompiler-with-node-sass/index.md b/content/article/2017-10-30-replacing-webcompiler-with-node-sass/index.md index 67751fb5..786f8f0e 100644 --- a/content/article/2017-10-30-replacing-webcompiler-with-node-sass/index.md +++ b/content/article/2017-10-30-replacing-webcompiler-with-node-sass/index.md @@ -1,7 +1,7 @@ --- title: "Replacing Web Compiler With Node Sass" url: "replacing-webcompiler-with-node-sass" -date: 2017-10-30T05:48:41+01:00 +date: 2017-10-30 categories: ["Coding"] tags: ["NodeJS", "CSS", "JavaScript"] --- @@ -151,4 +151,4 @@ files.forEach((file) => { {{}} -[1]: https://marketplace.visualstudio.com/items?itemName=MadsKristensen.WebCompiler \ No newline at end of file +[1]: https://marketplace.visualstudio.com/items?itemName=MadsKristensen.WebCompiler diff --git a/content/article/2017-11-18-multi-app-in-angular-using-base-components/index.md b/content/article/2017-11-18-multi-app-in-angular-using-base-components/index.md index 7666aabf..145e8e0e 100644 --- a/content/article/2017-11-18-multi-app-in-angular-using-base-components/index.md +++ b/content/article/2017-11-18-multi-app-in-angular-using-base-components/index.md @@ -1,7 +1,7 @@ --- title: "Code Sharing with Multi-App Angular Project Using Base Components" url: "code-sharing-with-multi-app-angular-project-using-base-components" -date: 2017-11-18T11:51:22+01:00 +date: 2017-11-18 categories: ["Coding"] tags: ["Angular", "TypeScript", "Unit testing"] --- diff --git a/content/article/2018-02-09-using-angular-http-interceptor-for-logging/index.md b/content/article/2018-02-09-using-angular-http-interceptor-for-logging/index.md index b8a26314..66638b50 100644 --- a/content/article/2018-02-09-using-angular-http-interceptor-for-logging/index.md +++ b/content/article/2018-02-09-using-angular-http-interceptor-for-logging/index.md @@ -1,7 +1,7 @@ --- title: "Using Angular HTTP Interceptor for Logging" url: "using-angular-http-interceptor-for-logging" -date: 2018-02-09T11:35:22+01:00 +date: 2018-02-09 categories: ["Coding"] tags: ["Angular", "TypeScript"] --- diff --git a/content/article/2018-03-04-create-fake-backend-with-node-express/index.md b/content/article/2018-03-04-create-fake-backend-with-node-express/index.md index 9a4b7b69..b251e93f 100644 --- a/content/article/2018-03-04-create-fake-backend-with-node-express/index.md +++ b/content/article/2018-03-04-create-fake-backend-with-node-express/index.md @@ -1,7 +1,7 @@ --- title: "Create Fake Backend with Node Express" url: "create-fake-backend-with-node-express" -date: 2018-03-04T18:16:00+01:00 +date: 2018-03-04 categories: ["Coding"] tags: ["NodeJS", "JavaScript"] --- @@ -98,4 +98,4 @@ As you can see above, I've set the fake backend to listen on port 54321 and to a } {{}} -[1]: /using-angular-http-interceptor-for-logging/ \ No newline at end of file +[1]: /using-angular-http-interceptor-for-logging/ diff --git a/content/article/2018-06-24-integrated-terminal-shortcut-in-vscode-opens-external-terminal/index.md b/content/article/2018-06-24-integrated-terminal-shortcut-in-vscode-opens-external-terminal/index.md index 7bea4b38..f367b1f2 100644 --- a/content/article/2018-06-24-integrated-terminal-shortcut-in-vscode-opens-external-terminal/index.md +++ b/content/article/2018-06-24-integrated-terminal-shortcut-in-vscode-opens-external-terminal/index.md @@ -1,7 +1,7 @@ --- title: "Integrated Terminal Shortcut in VS Code Opens External Terminal" url: "integrated-terminal-shortcut-in-vscode-opens-external-terminal" -date: 2018-06-24T05:46:00+01:00 +date: 2018-06-24 categories: ["Tools"] tags: ["ConEmu", "Cmder", "VS Code"] --- @@ -28,4 +28,4 @@ ConEmu keyboard shortcut settings without conflicting configuration [1]: https://github.com/JanDeDobbeleer/oh-my-posh/ [2]: https://conemu.github.io/ -[3]: https://medium.com/@nuno.caneco/cmder-quake-style-e57601d1c07b/ \ No newline at end of file +[3]: https://medium.com/@nuno.caneco/cmder-quake-style-e57601d1c07b/ diff --git a/content/article/2018-06-29-getting-a-divorce-from-sharepoint/index.md b/content/article/2018-06-29-getting-a-divorce-from-sharepoint/index.md index 06582b29..2c0d63bf 100644 --- a/content/article/2018-06-29-getting-a-divorce-from-sharepoint/index.md +++ b/content/article/2018-06-29-getting-a-divorce-from-sharepoint/index.md @@ -1,6 +1,6 @@ --- title: "Getting a Divorce From SharePoint 💔" -date: 2018-06-29T23:18:39+02:00 +date: 2018-06-29 url: "getting-a-divorce-from-sharepoint" draft: false categories: ["Thoughts"] @@ -75,4 +75,4 @@ After my summer vacation I will join [Academic Work][11] as a team manager for a [8]: https://docs.microsoft.com/en-gb/sharepoint/dev/general-development/how-to-convert-an-html-file-into-a-master-page-in-sharepoint [9]: https://docs.microsoft.com/en-gb/sharepoint/search/understanding-how-item-display-templates-and-hit-highlighting-work [10]: https://webpack.js.org/concepts/hot-module-replacement/ -[11]: https://www.academicwork.com/ \ No newline at end of file +[11]: https://www.academicwork.com/ diff --git a/content/article/2018-07-31-firmware-update-notifications-for-my-asus-router/index.md b/content/article/2018-07-31-firmware-update-notifications-for-my-asus-router/index.md index 18ce094f..36009aa4 100644 --- a/content/article/2018-07-31-firmware-update-notifications-for-my-asus-router/index.md +++ b/content/article/2018-07-31-firmware-update-notifications-for-my-asus-router/index.md @@ -1,6 +1,6 @@ --- title: "Firmware Update Notifications for My Asus Router" -date: 2018-07-31T11:14:58+02:00 +date: 2018-07-31 url: "firmware-update-notifications-for-my-asus-router" categories: ["Tools"] tags: ["Networking", "Scripting"] diff --git a/content/article/2018-10-06-there-are-only-temporary-solutions/index.md b/content/article/2018-10-06-there-are-only-temporary-solutions/index.md index d8d0317d..165df12a 100644 --- a/content/article/2018-10-06-there-are-only-temporary-solutions/index.md +++ b/content/article/2018-10-06-there-are-only-temporary-solutions/index.md @@ -1,6 +1,6 @@ --- title: "There Are Only Temporary Solutions" -date: 2018-09-06T20:14:58+02:00 +date: 2018-09-06 url: "there-are-only-temporary-solutions" categories: ["Thoughts"] tags: [] @@ -29,4 +29,4 @@ Next time a colleague talks about a _temporary solution_, I will be better prepa [1]: https://whatis.techtarget.com/definition/fail-fast -[2]: https://hackernoon.com/there-are-3-main-types-of-technical-debt-heres-how-to-manage-them-4a3328a4c50c \ No newline at end of file +[2]: https://hackernoon.com/there-are-3-main-types-of-technical-debt-heres-how-to-manage-them-4a3328a4c50c diff --git a/content/article/2019-01-10-git-wasnt-that-complicated/index.md b/content/article/2019-01-10-git-wasnt-that-complicated/index.md index 6617b84f..0c8e2475 100644 --- a/content/article/2019-01-10-git-wasnt-that-complicated/index.md +++ b/content/article/2019-01-10-git-wasnt-that-complicated/index.md @@ -1,6 +1,6 @@ --- title: "Git wasn't that Complicated" -date: 2019-01-10T19:52:58+01:00 +date: 2019-01-10 url: "git-wasnt-that-complicated" categories: ["Thoughts"] tags: [] @@ -32,4 +32,4 @@ To get this decent console experience on Windows I've used [oh-my-posh][4]. [2]: https://stackoverflow.com/questions/31889079/what-exactly-is-tfvc-team-foundation-version-control [3]: https://github.com/henriksommerfeld/blog-hugo [4]: https://github.com/JanDeDobbeleer/oh-my-posh -[5]: https://dev.to/onmyway133/useful-git-commands-for-everyday-use-552p \ No newline at end of file +[5]: https://dev.to/onmyway133/useful-git-commands-for-everyday-use-552p diff --git a/content/article/2019-03-19-error-handling-with-fetch/index.md b/content/article/2019-03-19-error-handling-with-fetch/index.md index f41a7b35..827e24b0 100644 --- a/content/article/2019-03-19-error-handling-with-fetch/index.md +++ b/content/article/2019-03-19-error-handling-with-fetch/index.md @@ -1,6 +1,6 @@ --- title: "Error Handling with Fetch (and custom React hook)" -date: 2019-03-19T21:35:58+01:00 +date: 2019-03-19 url: "error-handling-with-fetch" categories: ["Coding"] tags: [JavaScript, ReactJS] @@ -118,4 +118,4 @@ export default function Jobs() { ); } -{{}} \ No newline at end of file +{{}} diff --git a/content/article/2019-06-09-z-index/index.md b/content/article/2019-06-09-z-index/index.md index 323bb6db..d1e4ebff 100644 --- a/content/article/2019-06-09-z-index/index.md +++ b/content/article/2019-06-09-z-index/index.md @@ -1,6 +1,6 @@ --- title: "Refactoring z-index" -date: 2019-06-09T20:41:10+02:00 +date: 2019-06-09 url: "refactoring-z-index" categories: ["Coding"] tags: [CSS] @@ -57,4 +57,4 @@ export const zIndexes = { {{}} [1]: https://www.styled-components.com/ -[2]: https://sass-lang.com/ \ No newline at end of file +[2]: https://sass-lang.com/ diff --git a/content/article/2019-09-10-netlify-cms-incorrectly-eaten-value/index.md b/content/article/2019-09-10-netlify-cms-incorrectly-eaten-value/index.md index a9e823e2..0def3d7c 100644 --- a/content/article/2019-09-10-netlify-cms-incorrectly-eaten-value/index.md +++ b/content/article/2019-09-10-netlify-cms-incorrectly-eaten-value/index.md @@ -1,6 +1,6 @@ --- title: "Netlify CMS - Incorrectly eaten value" -date: 2019-09-10T07:36:10+02:00 +date: 2019-09-10 url: "netlify-cms-incorrectly-eaten-value" categories: ["Coding"] tags: [Netlify CMS] @@ -17,7 +17,7 @@ I'm migrating my wife's blog from WordPress to GatsbyJS and since she's not comf Netlify CMS crashes when the frontmatter is followed by a newline and an image. The CMS itself doesn't add this newline, but Prettier for VS Code does. I've been manually updating a `url` property when migrating old posts to keep the same URL, and doing that in VS Code inserts this "error" (perfectly valid markdown). ``` -date: 2011-09-11T07:26:42.164Z +date: 2011-09-11 --- <==== Here ![](/uploads/lrvlsi6ilp1r22t2co1_400.jpg "Some title") @@ -30,7 +30,7 @@ There is [an issue registered at GitHub][1], but it seems to wait for [some larg Remove the newline with an editor that doesn't add it back on save. ``` -date: 2011-09-11T07:26:42.164Z +date: 2011-09-11 --- ![](/uploads/lrvlsi6ilp1r22t2co1_400.jpg "Some title") ``` diff --git a/content/article/2019-10-18-pwa-bad-for-blog/index.md b/content/article/2019-10-18-pwa-bad-for-blog/index.md index 31589f45..9c13abe7 100644 --- a/content/article/2019-10-18-pwa-bad-for-blog/index.md +++ b/content/article/2019-10-18-pwa-bad-for-blog/index.md @@ -1,6 +1,6 @@ --- title: "Progressive Web App - Bad Idea for a Blog" -date: 2019-10-18T12:19:10+02:00 +date: 2019-10-18 url: "pwa-bad-for-blog" categories: ["Coding"] tags: [Progressive Web App, GatsbyJS] diff --git a/content/article/2019-10-30-gatsby-twitter/index.md b/content/article/2019-10-30-gatsby-twitter/index.md index 8bba64b2..f31da3d5 100644 --- a/content/article/2019-10-30-gatsby-twitter/index.md +++ b/content/article/2019-10-30-gatsby-twitter/index.md @@ -1,6 +1,6 @@ --- title: "Gatsby Source Plugin for Twitter" -date: 2019-10-31T00:20:10+01:00 +date: 2019-10-31 url: "gatsby-source-plugin-for-twitter" categories: ["Coding"] tags: [GatsbyJS, JavaScript, TypeScript, NodeJS, ReactJS] @@ -116,4 +116,4 @@ _Core of plugin's `gatsby-node.js`_ [8]: https://www.gatsbyjs.org/docs/creating-a-local-plugin/ [9]: https://github.com/henriksommerfeld/isabel-blog/tree/master/plugins/gatsby-source-twitter-unfurl [10]: https://github.com/jacktuck/unfurl -[11]: https://www.gatsbyjs.org/docs/using-gatsby-image/ \ No newline at end of file +[11]: https://www.gatsbyjs.org/docs/using-gatsby-image/ diff --git a/content/article/2019-11-15-dark-mode/index.md b/content/article/2019-11-15-dark-mode/index.md index e15b8eb6..88300b96 100644 --- a/content/article/2019-11-15-dark-mode/index.md +++ b/content/article/2019-11-15-dark-mode/index.md @@ -1,6 +1,6 @@ --- title: "Dark Mode Learnings 🌙" -date: 2019-11-15T14:14:10+01:00 +date: 2019-11-15 url: "dark-mode-learnings" categories: ["Coding"] tags: [Dark mode, CSS] diff --git a/content/article/2019-11-17-netlify-cms/index.md b/content/article/2019-11-17-netlify-cms/index.md index de7e7f62..d79c9107 100644 --- a/content/article/2019-11-17-netlify-cms/index.md +++ b/content/article/2019-11-17-netlify-cms/index.md @@ -1,6 +1,6 @@ --- title: "Netlify CMS with Gatsby - Best Option with Some Quirks" -date: 2019-11-22T00:02:10+01:00 +date: 2019-11-22 url: "netlify-cms" categories: ["Coding"] tags: [Netlify CMS, GatsbyJS, ReactJS] @@ -105,4 +105,4 @@ Finally, I have to say that I love the kind of services (primarily from Netlify, [11]: https://www.slatejs.org/#/rich-text [12]: https://github.com/netlify/netlify-cms/issues/2402 [13]: https://github.com/cypress-io/cypress/issues/136 -[14]: https://www.gatsbyjs.org/ \ No newline at end of file +[14]: https://www.gatsbyjs.org/ diff --git a/content/article/2019-11-26-i-love-my-new-2013-macbook-pro/index.md b/content/article/2019-11-26-i-love-my-new-2013-macbook-pro/index.md index db4f7d5d..9d043198 100644 --- a/content/article/2019-11-26-i-love-my-new-2013-macbook-pro/index.md +++ b/content/article/2019-11-26-i-love-my-new-2013-macbook-pro/index.md @@ -1,6 +1,6 @@ --- title: "I ❤️ My \"New\" 2013 MacBook Pro" -date: 2019-11-28T21:29:10+01:00 +date: 2019-11-28 url: "i-love-my-new-2013-macbook-pro" categories: ["Tools"] tags: [macOS, Hardware] diff --git a/content/article/2019-11-30-hugo-timeout-not-a-circular-loop-in-shortcode/index.md b/content/article/2019-11-30-hugo-timeout-not-a-circular-loop-in-shortcode/index.md index 1fa88be6..7611ee8e 100644 --- a/content/article/2019-11-30-hugo-timeout-not-a-circular-loop-in-shortcode/index.md +++ b/content/article/2019-11-30-hugo-timeout-not-a-circular-loop-in-shortcode/index.md @@ -1,6 +1,6 @@ --- title: "Hugo Timeout Not a Circular Loop in Shortcode" -date: 2019-11-30T18:19:09+01:00 +date: 2019-11-30 summary: "I have been getting a few random build errors with Hugo on Netlify recently. This is a bit strange, since it builds fine on my local machine and with Github Actions. Re-running the same build also worked a few times. The build log on Netlify says the following..." description: Hugo build timeout was not acircular loop in a shortcode, like the error message suggested. tags: [Hugo] @@ -31,4 +31,4 @@ timeout = 60000 **_Update_**: I mention that this was caused by [adding image processing][2], but when you do that you should commit the generated images files to source control, according to [Hugo’s documentation for image processing][1]. I hadn't done that, and that's why the builds were suddenly taking a lot longer than before. [1]: https://gohugo.io/content-management/image-processing/ -[2]: /lazy-loading-images-in-hugo/ \ No newline at end of file +[2]: /lazy-loading-images-in-hugo/ diff --git a/content/article/2019-12-05-gatsby-vs-hugo/index.md b/content/article/2019-12-05-gatsby-vs-hugo/index.md index 46830ecd..e7198d9f 100644 --- a/content/article/2019-12-05-gatsby-vs-hugo/index.md +++ b/content/article/2019-12-05-gatsby-vs-hugo/index.md @@ -1,6 +1,6 @@ --- title: "Gatsby vs Hugo for a Personal Blog" -date: 2019-12-05T22:20:34+01:00 +date: 2019-12-05 url: gatsby-vs-hugo-for-personal-blog summary: "Having built two personal websites/blogs that are fairly similar, one using Gatsby and one using Hugo, I’ll take a moment to compare my experiences. All CSS is written from scratch for both sites, no framework. They both have categories and tags that you can use to find related posts. No server-side API is used, so once the build is done, everything is static. Well, I use Google Analytics and Disqus on both sites, but those are third-party API's that I don't have to manage." description: "Having built two personal websites/blogs that are fairly similar, one using Gatsby and one using Hugo, I'll take a moment to compare my experiences." @@ -70,4 +70,4 @@ I will use Gatsby when I know I will use a fair amount of JavaScript on the site [6]: https://www.urbandictionary.com/define.php?term=above%20the%20scroll [7]: https://golang.org/ [8]: https://reactjs.org/ -[9]: https://stackoverflow.com/questions/20435653/what-is-vanillajs \ No newline at end of file +[9]: https://stackoverflow.com/questions/20435653/what-is-vanillajs diff --git a/content/article/2020-01-21-soundbar-vs-pihole/index.md b/content/article/2020-01-21-soundbar-vs-pihole/index.md index 9d47bfa5..e55a039b 100644 --- a/content/article/2020-01-21-soundbar-vs-pihole/index.md +++ b/content/article/2020-01-21-soundbar-vs-pihole/index.md @@ -1,7 +1,7 @@ --- title: "Yamaha YAS-109 Soundbar has Excessive Network Traffic" url: yamaha-yas-109-soundbar-has-excessive-network-traffic -date: 2020-01-21T11:30:09+01:00 +date: 2020-01-21 summary: This is an appeal to any of you who is coding for, or otherwise developing connected devices, to put some extra thought into your network traffic. Maybe also a warning to consumers and an encouragement to us tech savvy people to monitor your connected devices. description: This is an appeal to any of you who is coding for, or otherwise developing connected devices, to put some extra thought into your network traffic. Maybe also a warning to consumers and an encouragement to us tech savvy people to monitor your connected devices. tags: [Internet of Things, Hardware] @@ -49,4 +49,4 @@ So, if your company produces similar consumer electronics and especially if you' [3]: https://en.wikipedia.org/wiki/Network_Time_Protocol [4]: https://www.spotify.com/uk/connect/ [5]: https://en.wikipedia.org/wiki/Amazon_Alexa -[6]: https://twitter.com/internetofshit \ No newline at end of file +[6]: https://twitter.com/internetofshit diff --git a/content/article/2020-01-29-yarn-resolutions/index.md b/content/article/2020-01-29-yarn-resolutions/index.md index 31eadedb..5a2a7e26 100644 --- a/content/article/2020-01-29-yarn-resolutions/index.md +++ b/content/article/2020-01-29-yarn-resolutions/index.md @@ -1,7 +1,7 @@ --- title: "Yarn Resolutions to Fix Build Error With Multiple Versions of NPM Package" url: -date: 2020-01-29T11:30:09+01:00 +date: 2020-01-29 summary: So, I upgraded Cypress from 3.7.0 to 3.8.2 and ran everything locally - no problems. But the build failed both in GitHub Actions and Netlify. I now had two conflicting versions. When using Yarn, this can be solved with Selective dependency resolutions, by adding the following to package.json description: Shows that "resolutions" in package.json with Yarn can solve build errors with multiple versions of npm packages. tags: [NodeJS] diff --git a/content/article/2020-02-05-lazy-loading-images-in-hugo/index.md b/content/article/2020-02-05-lazy-loading-images-in-hugo/index.md index 85ba0725..aeff4824 100644 --- a/content/article/2020-02-05-lazy-loading-images-in-hugo/index.md +++ b/content/article/2020-02-05-lazy-loading-images-in-hugo/index.md @@ -1,7 +1,7 @@ --- title: Lazy Loading Images in Hugo url: /lazy-loading-images-in-hugo -date: 2020-02-05T04:42:21+01:00 +date: 2020-02-05 summary: When writing another post, I realised that I hadn't documented/described my image lazy loading implementation in Hugo anywhere, so here it comes. The first thing we need are responsive images, not the thing you get when setting the width to 100% in CSS, but different versions of the same image in different resolutions so that the web browser can pick the best one (using srcset). description: In this post I explain my implementation of lazy loading images on my Hugo website. tags: [Hugo] @@ -152,4 +152,4 @@ In [Hugo's documentation for image processing][1] it's clearly stated that it's [4]: https://en.wikipedia.org/wiki/Lazy_loading [5]: https://css-tricks.com/responsive-images-youre-just-changing-resolutions-use-srcset/ [6]: https://gohugo.io/content-management/page-resources/ -[7]: https://gohugo.io/content-management/shortcodes/ \ No newline at end of file +[7]: https://gohugo.io/content-management/shortcodes/ diff --git a/content/article/2020-02-12-parental-leave-boredom/index.md b/content/article/2020-02-12-parental-leave-boredom/index.md index 5606422c..30cf16f1 100644 --- a/content/article/2020-02-12-parental-leave-boredom/index.md +++ b/content/article/2020-02-12-parental-leave-boredom/index.md @@ -1,7 +1,7 @@ --- title: How I Tackled Parental Leave Boredom With Code url: /how-i-tackled-parental-leave-boredom-with-code -date: 2020-02-12T04:42:21+01:00 +date: 2020-02-12 summary: Approaching the end of my parental leave, I'll take a moment reflecting on how I tackled the occasional boredom of a longer absence from work. description: Approaching the end of my parental leave, I'll take a moment reflecting on how I tackled the occasional boredom of a longer absence from work. tags: [] diff --git a/content/article/2020-02-26-mac-setup/index.md b/content/article/2020-02-26-mac-setup/index.md index c2ee7c15..25824044 100644 --- a/content/article/2020-02-26-mac-setup/index.md +++ b/content/article/2020-02-26-mac-setup/index.md @@ -1,7 +1,7 @@ --- title: Settings for new MacBook Pro url: /settings-for-new-macbook-pro -date: 2020-02-26T10:22:21+01:00 +date: 2020-02-26 summary: I recently bought a new machine, a MacBook Pro 16", and this is my initial configuration. I'm documenting this for my future self so I have something to cherry-pick from if I will ever configure a new Mac from scratch. Some of these things might not be relevant in future versions of macOS or for future versions of myself, so I don't see a point in automating it. description: I recently bought a new machine, a MacBook Pro 16", and this is my initial configuration. tags: [macOS, Hardware] diff --git a/content/article/2020-03-09-tests-for-legacy/index.md b/content/article/2020-03-09-tests-for-legacy/index.md index db885d57..23eb5d8d 100644 --- a/content/article/2020-03-09-tests-for-legacy/index.md +++ b/content/article/2020-03-09-tests-for-legacy/index.md @@ -1,7 +1,7 @@ --- title: Code Quality and Automated Tests for Legacy Systems url: /code-quality-and-automated-tests-for-legacy-systems -date: 2020-03-09T14:22:21+01:00 +date: 2020-03-09 summary: My team recently had a discussion trying to agree on a few rules of thumb for our ambition level regarding code quality and automated tests for our legacy systems. These systems are business-critical, but planned to be replaced in a Big Bang fashion. description: My team recently had a discussion trying to agree on a few rules of thumb for our ambition level regarding code quality and automated tests for our legacy systems. These systems are business-critical, but planned to be replaced in a Big Bang fashion. tags: [Testing, Code Quality] @@ -46,4 +46,4 @@ An example of this is UI tests that can catch many possible errors in relation t ## Conclusion 🤷‍♂️ Is this just common sense or too vague to be useful? Maybe it's vague, but given the diversity of the systems we're talking about here, we couldn't find a way to make it more concrete without making it system specific. Doesn't this apply to all systems? Well, sort of. I think the only relevant difference is the amount of time we're willing to spend on improving existing code – and that amount of time is more of a gut feeling than a discrete number. But in any case, I think it's good we had the discussion and hopefully we can waste less time trying to improve code that will die fairly soon anyway. -[1]: https://en.wikipedia.org/wiki/Pure_function \ No newline at end of file +[1]: https://en.wikipedia.org/wiki/Pure_function diff --git a/content/article/2020-03-19-macos-alternative-to-notepad-plus-plus/index.md b/content/article/2020-03-19-macos-alternative-to-notepad-plus-plus/index.md index 45c0b861..b71fe5b8 100644 --- a/content/article/2020-03-19-macos-alternative-to-notepad-plus-plus/index.md +++ b/content/article/2020-03-19-macos-alternative-to-notepad-plus-plus/index.md @@ -1,7 +1,7 @@ --- title: MacOS Alternative to Notepad++ url: /macos-alternative-to-notepad-plus-plus -date: 2020-03-23T06:22:21+01:00 +date: 2020-03-23 summary: Having switched from Windows to Mac quite recently, there is one application in particular that I’m missing – Notepad++. After trying Notes and Stickes, Brackets and a bunch of others, I had to rethink what I was actually using Notepad++ for and which characteristics I was appreciating the most. description: Having switched from Windows to Mac quite recently, there is one application in particular that I’m missing – Notepad++. Standard Notes became my choice. tags: [macOS, Text editor, Notepad++] @@ -48,4 +48,4 @@ Any suggestions that _you_ like is welcome, please comment. [5]: https://neo4j.com/developer/cypher-query-language/ [6]: https://standardnotes.org/ [7]: https://products.office.com/en-gb/onenote/digital-note-taking-app -[8]: https://code.visualstudio.com/ \ No newline at end of file +[8]: https://code.visualstudio.com/ diff --git a/content/article/2020-04-08-asuswrt-merlin-updater/index.md b/content/article/2020-04-08-asuswrt-merlin-updater/index.md index a6eca46c..9993874d 100644 --- a/content/article/2020-04-08-asuswrt-merlin-updater/index.md +++ b/content/article/2020-04-08-asuswrt-merlin-updater/index.md @@ -1,7 +1,7 @@ --- title: Asuswrt-Merlin Firmware Update Checker url: /asuswrt-merlin-firmware-update-checker -date: 2020-04-08T14:02:21+02:00 +date: 2020-04-08 summary: I have an Asus RT-AC68U router at home. I’ve previously used the build-in update checker together with a notification script that ran on the router itself. Recently I noticed that I hadn’t got any update notifications in a long time, one of the downsides of silent failures. This is my custom code that looks for updates. description: My custom checker for finding updates to Asuswrt-Merlin router firmware. I describe the code and how it's scheduled to run. tags: [Networking, Scripting, NodeJS] @@ -171,4 +171,4 @@ The result of running the script once every minute (while troubleshooting) showe [6]: https://askubuntu.com/questions/23009/why-crontab-scripts-are-not-working [7]: https://pushover.net/ [8]: https://www.raspberrypi.org/ -[9]: https://pi-hole.net/ \ No newline at end of file +[9]: https://pi-hole.net/ diff --git a/content/article/2020-04-17-greener-grass/index.md b/content/article/2020-04-17-greener-grass/index.md index a8829f8b..18a2826a 100644 --- a/content/article/2020-04-17-greener-grass/index.md +++ b/content/article/2020-04-17-greener-grass/index.md @@ -1,7 +1,7 @@ --- title: The Grass is Greener on the Other Side url: /the-grass-is-greener-on-the-other-side -date: 2020-05-03T10:02:21+02:00 +date: 2020-05-03 summary: Approaching 40 years old and two years since I changed direction as a software developer, I conclude that the grass really is greener on the other side. Perhaps I should have jumped earlier. Git hooks are better than deployment weekends! description: Approaching 40 years old and two years since I changed direction as a software developer, I conclude that the grass really is greener on the other side. Perhaps I should have jumped earlier. Git hooks are better than deployment weekends! tags: [Career] diff --git a/content/article/2020-05-29-tips-for-student/index.md b/content/article/2020-05-29-tips-for-student/index.md index 7ec41bb3..47f86398 100644 --- a/content/article/2020-05-29-tips-for-student/index.md +++ b/content/article/2020-05-29-tips-for-student/index.md @@ -1,7 +1,7 @@ --- title: 8 JavaScript Recommendations to a Struggling Student url: /javascript-recommendations-to-a-struggling-student -date: 2020-05-30T10:21:00+02:00 +date: 2020-05-30 description: My general advice to a student struggling with a web development assignment. summary: I recently helpt a student struggling with a web development assignment. Not surprisingly, it wasn't one specific thing that wasn't working with a clear question on how to solve that specific problem. There were errors in the web browser console, long functions with wrong indentation that made it all hard to understand. tags: [JavaScript, Code Quality] @@ -75,4 +75,4 @@ If you know what you want to achieve, but not how to type it out – google it, Having gone through the assignment, solving it together with the student in a two-hour screen sharing session, I conclude that methodical problem-solving skills is the most important. Of course you have to know the basics of the programming language you're using and have an understanding of the assignment to be solved, but there are no shortcuts. -The other obvious insight is that apart from my first JavaScript specific advice on variables, this applies to most of coding – not only most programming languages, but most of programming you will ever do in your career. \ No newline at end of file +The other obvious insight is that apart from my first JavaScript specific advice on variables, this applies to most of coding – not only most programming languages, but most of programming you will ever do in your career. diff --git a/content/article/2020-06-12-hugo-pipeline-intro/index.md b/content/article/2020-06-12-hugo-pipeline-intro/index.md index 2052ee27..e19db20d 100644 --- a/content/article/2020-06-12-hugo-pipeline-intro/index.md +++ b/content/article/2020-06-12-hugo-pipeline-intro/index.md @@ -1,7 +1,7 @@ --- title: Hugo Pipeline Series – Intro url: /hugo-pipeline-series-intro -date: 2020-06-14T22:11:00+02:00 +date: 2020-06-14 description: In this post(s) I'll describe how I created my personal blog with a fair amount of work to achieve simplicity. summary: In this post(s) I'll describe how I created my personal blog with a fair amount of work to achieve simplicity. tags: [Hugo] diff --git a/content/article/2020-06-13-hugo-editing/index.md b/content/article/2020-06-13-hugo-editing/index.md index 2c64cec0..68c3f7f0 100644 --- a/content/article/2020-06-13-hugo-editing/index.md +++ b/content/article/2020-06-13-hugo-editing/index.md @@ -1,7 +1,7 @@ --- title: Hugo Pipeline Series – Editing and Deploying url: /hugo-pipeline-series-editing-and-deploying -date: 2020-06-14T22:12:00+02:00 +date: 2020-06-14 description: This is how I write and deploy content on this blog, the technical process, not the creative one. summary: This is how I write and deploy content on this blog. I'll describe how I work with images and JavaScript dependencies to keep building and deploying as quick as possible. tags: [Hugo, VS Code, JavaScript] diff --git a/content/article/2020-06-14-hugo-developing/index.md b/content/article/2020-06-14-hugo-developing/index.md index fb6ca1f5..228718e3 100644 --- a/content/article/2020-06-14-hugo-developing/index.md +++ b/content/article/2020-06-14-hugo-developing/index.md @@ -1,7 +1,7 @@ --- title: Hugo Pipeline Series – Developing and Deploying url: /hugo-pipeline-series-developing-and-deploying -date: 2020-06-22T06:21:00+02:00 +date: 2020-06-22 description: My pipeline for development is Create feature branch -> Code feature -> Create PR -> Tests are green -> Merge to master -> Deploy to live site. summary: In terms of developing my Hugo site, I'll focus on the JavaScript parts, since Hugo templates and CSS isn't much to talk about. I use a few libraries that I've installed with npm and those need to be processed before they are sent to the browser. The JavaScript code I have written myself, does not have that requirement. In that case it's just a matter of how old browsers I want to support. tags: [Hugo] diff --git a/content/article/2020-06-15-hugo-alpinejs/index.md b/content/article/2020-06-15-hugo-alpinejs/index.md index c2676066..018ac327 100644 --- a/content/article/2020-06-15-hugo-alpinejs/index.md +++ b/content/article/2020-06-15-hugo-alpinejs/index.md @@ -1,7 +1,7 @@ --- title: Alpine.js – Benefits and Limitations url: /alpinejs-benefits-and-limitations/ -date: 2020-06-29T06:21:00+02:00 +date: 2020-06-29 description: For the custom JavaScript code on my Hugo blog I use Alpine.js. I’ll discuss the benefits and the limitations in this post. This post is part 4 in the Hugo Pipeline Series, but the benefits and limitations I discuss are not specific to using Alpine.js together with Hugo. summary: For the custom JavaScript code on my Hugo blog I use Alpine.js. I’ll discuss the benefits and the limitations in this post. This post is part 4 in the Hugo Pipeline Series, but the benefits and limitations I discuss are not specific to using Alpine.js together with Hugo. tags: [Alpine.js, JavaScript, Hugo] diff --git a/content/article/2020-07-10-url-shortener/index.md b/content/article/2020-07-10-url-shortener/index.md index a7f41844..11dd24ca 100644 --- a/content/article/2020-07-10-url-shortener/index.md +++ b/content/article/2020-07-10-url-shortener/index.md @@ -1,7 +1,7 @@ --- title: Simple Short URL Service url: -date: 2020-07-10T14:45:00+02:00 +date: 2020-07-10 description: My personal URL shortener implementation – super simple. summary: I happened to buy a domain name that could be used for short URL's and thought – why not, let's give it a try! tags: [Short URL's] @@ -35,4 +35,4 @@ Here is a link to this post: https://henriks.link/t4Xz [3]: https://github.com/gijo-varghese/netlify-url-shortener [4]: https://docs.netlify.com/routing/redirects/ [5]: https://www.alfredapp.com/workflows/ -[6]: https://www.kerstner.at/2012/07/shortening-strings-using-base-62-encoding/ \ No newline at end of file +[6]: https://www.kerstner.at/2012/07/shortening-strings-using-base-62-encoding/ diff --git a/content/article/2020-07-23-lunr-search/index.md b/content/article/2020-07-23-lunr-search/index.md index 1a718042..547b3740 100644 --- a/content/article/2020-07-23-lunr-search/index.md +++ b/content/article/2020-07-23-lunr-search/index.md @@ -1,7 +1,7 @@ --- title: Search for Static Website Without External Service url: /search-static-website-without-external-service -date: 2020-07-23T18:47:00+02:00 +date: 2020-07-23 description: I describe how I’ve set up search on my static website without an external service. summary: When you have a static website, there are a few things that you usually don’t have out-of-the-box. One such thing is search. You can argue that you don’t need it, but if you want it and your site isn’t that large, I’ll describe how I’ve set it up without an external service. tags: [Lunr, Hugo, NodeJS, JavaScript] @@ -48,7 +48,7 @@ I also exclude the list page named _Articles_ (that I don't know how to get rid This layout needs to be referenced and for that I have [`search-index.md`](https://github.com/henriksommerfeld/blog-hugo/blob/master/content/search-index.md) which is empty, except for the frontmatter. ``` toml --- -date: "2017-06-21T06:51:27+02:00" +date: "2017-06-21 title: "search index" type: "search-index" url: "data-to-index.json" @@ -190,4 +190,4 @@ Good luck in implementing your own site search! [4]: https://github.com/henriksommerfeld/blog-hugo/blob/master/package.json [5]: /alpinejs-benefits-and-limitations/#an-example-with-search-results [6]: /data-to-index.json -[7]: /search-index.json \ No newline at end of file +[7]: /search-index.json diff --git a/content/article/2020-10-25-jenkins-shared-libraries/index.md b/content/article/2020-10-25-jenkins-shared-libraries/index.md index 8a4960c2..cf3430b5 100644 --- a/content/article/2020-10-25-jenkins-shared-libraries/index.md +++ b/content/article/2020-10-25-jenkins-shared-libraries/index.md @@ -1,7 +1,7 @@ --- title: Using Same Node in Jenkins Groovy Pipeline url: /using-same-node-in-jenkins-groovy-pipeline -date: 2020-10-25T11:34:00+02:00 +date: 2020-10-25 description: How to make sure the same agent is used throughout a pipeline in Jenkins. summary: As new to Jenkins, I made a mistake that led to confusing errors. Working with .groovy files in Jenkins shared libraries isn’t the most joyful experience I’ve had in my career, but this makes total sense once I saw the obvious. tags: [Jenkins] diff --git a/content/article/2020-11-15-cli-commands/index.md b/content/article/2020-11-15-cli-commands/index.md index 66cbcc4a..dadcbff5 100644 --- a/content/article/2020-11-15-cli-commands/index.md +++ b/content/article/2020-11-15-cli-commands/index.md @@ -1,7 +1,7 @@ --- title: Usability Learnings from Building a CLI url: /usability-learnings-from-building-a-cli -date: 2020-11-15T20:34:00+02:00 +date: 2020-11-15 description: How to address naming challenge with a multi-command CLI, example in oclif. summary: From the past months of iterating on a CLI for managing micro services in our company, I've drawn some conclusions regarding usability. I'll describe the features of OCLIF we've used to address the challenges. tags: [oclif] @@ -58,4 +58,4 @@ I also find [the autocomplete plugin][4] helpful, since you can just tab your wa [1]: https://en.wikipedia.org/wiki/Idempotence [2]: https://oclif.io/ [3]: https://oclif.io/docs/topics -[4]: https://github.com/oclif/plugin-autocomplete \ No newline at end of file +[4]: https://github.com/oclif/plugin-autocomplete diff --git a/content/article/2021-01-06-bear/index.md b/content/article/2021-01-06-bear/index.md index dda0b8d5..813127d5 100644 --- a/content/article/2021-01-06-bear/index.md +++ b/content/article/2021-01-06-bear/index.md @@ -1,7 +1,7 @@ --- title: My Favourite Note Taking App for Mac and iPhone url: /my-favourite-note-taking-app-for-mac-and-iphone -date: 2021-01-06T21:34:00+02:00 +date: 2021-01-06 description: My Favourite Note Taking App for Mac and iPhone is Bear summary: After switching from Windows to Mac, I have reconsidered a few of the applications I use. To my own surprise I ended up with a paid one that’s only available on Apple devices – Bear. tags: [Bear] diff --git a/content/article/2021-05-28-us-layout-keyboard/index.md b/content/article/2021-05-28-us-layout-keyboard/index.md index b111e8b4..80278301 100644 --- a/content/article/2021-05-28-us-layout-keyboard/index.md +++ b/content/article/2021-05-28-us-layout-keyboard/index.md @@ -1,7 +1,7 @@ --- title: Use a US Keyboard for Programming url: /use-a-us-keyboard-for-programming -date: 2021-05-30T22:40:00+02:00 +date: 2021-05-30 description: "Advice to my youth self: Get a US keyboard for programming." summary: "An advice I would give my youth self is to properly learn the keyboard, specifically to switch to a US layout for programming and to learn touch typing." tags: [keyboard,typing] diff --git a/content/article/2021-08-11-build-a-barebone-pc/index.md b/content/article/2021-08-11-build-a-barebone-pc/index.md index edca41ce..8a57e86d 100644 --- a/content/article/2021-08-11-build-a-barebone-pc/index.md +++ b/content/article/2021-08-11-build-a-barebone-pc/index.md @@ -1,7 +1,7 @@ --- title: Build a Barebone PC for Your Non-Technical Relative url: /build-a-barebone-pc-for-your-non-tech-relative -date: 2021-08-11T20:15:00+02:00 +date: 2021-08-11 description: An argument for building a barebone PC for your non-technical relative. summary: I built another barebone computer for my sister and explain why I like barebones. tags: [hardware] diff --git a/content/article/2021-11-21-ts-unique-symbol/index.md b/content/article/2021-11-21-ts-unique-symbol/index.md index edfbd002..19851515 100644 --- a/content/article/2021-11-21-ts-unique-symbol/index.md +++ b/content/article/2021-11-21-ts-unique-symbol/index.md @@ -1,7 +1,7 @@ --- title: Alternative to Typescript Classes that can be Compared url: /alternative-to-typescript-classes-that-can-be-compared -date: 2021-11-27T12:15:00+02:00 +date: 2021-11-27 description: "Classes in Typescript have the drawback of not being comparable, like when used as a key in a Map. This post describes a possible alternative using unique symbols. Works well when you don't have to perform operations on the values." summary: "Classes in Typescript have the drawback of not being comparable, like when used as a key in a Map. diff --git a/content/article/2022-05-31-repo-search/index.md b/content/article/2022-05-31-repo-search/index.md index 07efd95a..537df99e 100644 --- a/content/article/2022-05-31-repo-search/index.md +++ b/content/article/2022-05-31-repo-search/index.md @@ -1,7 +1,7 @@ --- title: Find GitHub Repositories Locally url: /find-github-repositories-locally -date: 2022-06-03T21:15:00+02:00 +date: 2022-06-03 description: "I recently glued together some CLI tools to be able to clone and open the web page of the GitHub repositories have access to." summary: "I recently glued together some CLI tools to be able to clone and open the web page of the GitHub repositories have access to." tags: [zx, javascript, bash, scripting] diff --git a/content/article/2022-11-28-i3-fade-and-opacity/index.md b/content/article/2022-11-28-i3-fade-and-opacity/index.md index 5fb46973..c929d5a4 100644 --- a/content/article/2022-11-28-i3-fade-and-opacity/index.md +++ b/content/article/2022-11-28-i3-fade-and-opacity/index.md @@ -1,7 +1,7 @@ --- title: Remove Fading and Transparency in i3 url: /remove-fading-and-transparency-in-i3wm -date: 2022-11-28T20:15:00+01:00 +date: 2022-11-28 description: "" summary: "" tags: [i3] diff --git a/content/article/2023-03-09-set-dotnet-log-level-using-envs/index.md b/content/article/2023-03-09-set-dotnet-log-level-using-envs/index.md index bc4a749e..972f60fa 100644 --- a/content/article/2023-03-09-set-dotnet-log-level-using-envs/index.md +++ b/content/article/2023-03-09-set-dotnet-log-level-using-envs/index.md @@ -1,7 +1,7 @@ --- title: Setting Dotnet Log Level Using Environment Variables url: /set-dotnet-log-level-using-envs -date: 2023-03-09T21:15:00+01:00 +date: 2023-03-09 description: "This is an example of how the log levels can be set granularly using envs" summary: "After migrating a bunch of old Dotnet applications from Azure Web Apps on Windows to Docker containers on Linux, I found that the logs were flooded by Information messages from Dotnet itself." tags: [Logging, Dotnet] diff --git a/content/article/2023-03-31-my-unify-dream-wall/index.md b/content/article/2023-03-31-my-unify-dream-wall/index.md index 61d3ccde..bdbe3720 100644 --- a/content/article/2023-03-31-my-unify-dream-wall/index.md +++ b/content/article/2023-03-31-my-unify-dream-wall/index.md @@ -1,7 +1,7 @@ --- title: My Unify Dream Wall url: /my-unify-dream-wall -date: 2023-03-31T22:18:00+02:00 +date: 2023-03-31 description: "The Unify Dream Wall was recently released and I've been using it as my home router since July 2022, so I thought I'd share my thoughts on it." summary: "The Unify Dream Wall was recently released and I've been using it as my home router since July 2022, so I thought I'd share my thoughts on it." tags: [Network, Unify] diff --git a/content/article/2023-07-17-yale-doorman/index.md b/content/article/2023-07-17-yale-doorman/index.md index 01e122a2..98ea0c2f 100644 --- a/content/article/2023-07-17-yale-doorman/index.md +++ b/content/article/2023-07-17-yale-doorman/index.md @@ -1,7 +1,7 @@ --- title: Yale Doorman L3 with Home Assistant through Bluetooth Proxy url: /yale-doorman-l3-with-home-assistant-through-bluetooth-proxy -date: 2023-07-17T01:08:00+02:00 +date: 2023-07-17 description: I'll describe how I use Bluetooth proxy to control my Yale Doorman L3 lock through Home Assistant. summary: I'll describe how I use Bluetooth proxy to control my Yale Doorman L3 lock through Home Assistant. tags: [home-assistant,yale,hardware] diff --git a/content/article/2023-09-14-onedrive-on-linux/index.md b/content/article/2023-09-14-onedrive-on-linux/index.md index 3482320e..e6a4b9d9 100644 --- a/content/article/2023-09-14-onedrive-on-linux/index.md +++ b/content/article/2023-09-14-onedrive-on-linux/index.md @@ -1,7 +1,7 @@ --- title: OneDrive on Linux url: /onedrive-on-linux -date: 2023-09-14T19:13:00+02:00 +date: 2023-09-14 description: How to use Microsoft OneDrive on Linux through CLI summary: When switching from MacOS to Linux, one of the things I was concerned about was Microsoft OneDrive that I've used for a decade or so. I found the using an unofficial CLI works really well. tags: [onedrive] diff --git a/content/article/2023-12-16-akasa-fan-less-mini-pc/index.md b/content/article/2023-12-16-akasa-fan-less-mini-pc/index.md index eaaa2f88..e632b782 100644 --- a/content/article/2023-12-16-akasa-fan-less-mini-pc/index.md +++ b/content/article/2023-12-16-akasa-fan-less-mini-pc/index.md @@ -1,7 +1,7 @@ --- title: Akasa Fanless Mini PC url: /akasa-fanless-mini-pc -date: 2023-12-17T21:43:00+02:00 +date: 2023-12-17 description: The last couple of years, I've enjoyed a completely silent mini-PC by putting it into a fanless case. This time I'm using the Akasa Newton A50 to make a machine for my parents. summary: The last couple of years, I've enjoyed a completely silent mini-PC by putting it into a fanless case. This time I'm using the Akasa Newton A50 to make a machine for my parents. tags: [hardware] diff --git a/content/article/2024-02-07-kyria/index.md b/content/article/2024-02-07-kyria/index.md index e3a6c0a1..d072306e 100644 --- a/content/article/2024-02-07-kyria/index.md +++ b/content/article/2024-02-07-kyria/index.md @@ -1,7 +1,7 @@ --- title: Kyria to Solve My Keyboard Problems url: /kyria-to-solve-my-keyboard-problems -date: 2024-02-11T16:38:00+02:00 +date: 2024-02-11 description: How the Kyria solves my keyboard problems, hitting between keys and stretching weak fingers. summary: Ever since I came to the conclusion to use a US keyboard for programming and built my first custom keyboard, I’ve tried to solve my weaknesses related to using the primary input device of my work. I’ve now settled on the Kyria from splitkb.com, and these are the problems it solves for me. tags: [hardware, keyboard] diff --git a/content/article/2024-03-02-databases-as-dev-tool/index.md b/content/article/2024-03-02-databases-as-dev-tool/index.md index 991f90c7..dc7b1820 100644 --- a/content/article/2024-03-02-databases-as-dev-tool/index.md +++ b/content/article/2024-03-02-databases-as-dev-tool/index.md @@ -1,7 +1,7 @@ --- title: Databases as a Dev Tool url: /databases-as-dev-tool -date: 2024-03-03T16:38:00+01:00 +date: 2024-03-03 description: Some years ago I had the view that databases were a persistence tool, that they hadn’t evolved in any significant way in the last decades and that they were a somewhat necessary evil. Today I use databases as a tool among others in my developer’s toolbox. I think there are a number of reasons why my views have changed. summary: Some years ago I had the view that databases were a persistence tool, that they hadn’t evolved in any significant way in the last decades and that they were a somewhat necessary evil. Today I use databases as a tool among others in my developer’s toolbox. I think there are a number of reasons why my views have changed. tags: [postgres,docker,nodejs,typescript,testing] diff --git a/content/article/2024-07-28-gatsby-to-sveltekit/index.md b/content/article/2024-07-28-gatsby-to-sveltekit/index.md index 855516ac..144d55f0 100644 --- a/content/article/2024-07-28-gatsby-to-sveltekit/index.md +++ b/content/article/2024-07-28-gatsby-to-sveltekit/index.md @@ -1,7 +1,7 @@ --- title: Migrating from Gatsby to Sveltekit url: /migrating-from-gatsby-to-sveltekit -date: 2024-08-06T00:28:00+02:00 +date: 2024-08-06 description: I have migrated the family's recipe collection site, a static Gatsby website, to Sveltekit. Here I describe the roadblocks and my conslusions. summary: During my first parental leave I built a static web site with Gatsby for the family’s recipe collection. It has worked great and cost us nothing to host, but it has also been all the bad things critics say about the npm ecosystem. In hindsight, Gatsby was the wrong horse to bet on. tags: [GatsbyJS,Sveltekit,Netlify CMS,Sveltia CMS] diff --git a/content/article/2024-10-21-emoji-debugging/index.md b/content/article/2024-10-21-emoji-debugging/index.md index d13be5b4..159162b9 100644 --- a/content/article/2024-10-21-emoji-debugging/index.md +++ b/content/article/2024-10-21-emoji-debugging/index.md @@ -1,7 +1,7 @@ --- title: Emoji Debugging url: /emoji-debugging -date: 2024-10-21T19:28:00+02:00 +date: 2024-10-21 description: I realised that the debugging I do nowadays is exclusively “emoji debugging”, maybe better known as “printf() debugging”. Coming from C# development in Visual Studio, which has the best debugging experience I know, I find this works surprisingly well. summary: I realised that the debugging I do nowadays is exclusively “emoji debugging”, maybe better known as “printf() debugging”. Coming from C# development in Visual Studio, which has the best debugging experience I know, I find this works surprisingly well. tags: [debugging, logging, nodejs, javascript, typescript, dotnet] diff --git a/tests/post.spec.ts b/tests/post.spec.ts index 3bfc4e50..7b913924 100644 --- a/tests/post.spec.ts +++ b/tests/post.spec.ts @@ -20,7 +20,7 @@ test.describe('Post', () => { test('Should have publishing date', async ({ page }) => { const time = page.locator('article time.published') await expect(time).toHaveText('31 July 2018') - await expect(time).toHaveAttribute('datetime', /^2018-07-31\ 11:14:58\ \+0200/) + await expect(time).toHaveAttribute('datetime', /^2018-07-31/) }) test('Should open image lightbox on click and close it again', async ({ page }) => {