From e16d64ecf27294b1386b811d692bf9e250d46b62 Mon Sep 17 00:00:00 2001 From: Maxence Poutord Date: Tue, 21 May 2024 21:05:19 +0200 Subject: [PATCH] feat: add missing description to posts --- .../2017-03-13-no-more-loop-in-js.md | 2 +- .../2018/2018-12-13-scaling-vue-app/scaling-vue-app.md | 8 ++++++-- .../git-conventional-commits.md | 1 + .../blog/2019/2019-03-14-canggu-nomad/canggu-nomad.md | 2 ++ .../blog/2019/2019-06-27-busting-nomad-myths/index.md | 1 + .../blog/2019/2019-10-14-git-under-the-hood/index.md | 3 ++- src/content/blog/2019/2019-11-18-jest-mock-date/index.md | 1 + src/content/blog/2019/2019-11-28-git-cheat-sheet/index.md | 1 + .../index.md | 1 + .../blog/2020/2020-02-04-what-makes-a-good-test/index.md | 3 +++ .../2020-03-15-10-tips-for-working-from-home/index.md | 3 +++ src/content/blog/2020/2020-05-04-code-coverage/index.md | 3 +++ .../blog/2020/2020-05-25-async-without-try-catch/index.md | 1 + .../blog/2020/2020-06-09-jest-mock-api-calls/index.md | 1 + .../blog/2020/2020-06-11-vue-js-testing-library/index.md | 1 + .../index.md | 1 + .../blog/2020/2020-09-13-portfolio-junior-dev/index.md | 2 ++ .../blog/2020/2020-12-11-monorepo-pros-and-cons/index.md | 1 + src/content/blog/2021/2021-10-05-RSI/index.md | 3 ++- src/content/blog/2023/2023-07-07-aoe2-mac/index.mdx | 2 +- 20 files changed, 35 insertions(+), 6 deletions(-) diff --git a/src/content/blog/2017/2017-03-13-no-more-loop-in-js/2017-03-13-no-more-loop-in-js.md b/src/content/blog/2017/2017-03-13-no-more-loop-in-js/2017-03-13-no-more-loop-in-js.md index 4c8aa72ef..83c40290c 100644 --- a/src/content/blog/2017/2017-03-13-no-more-loop-in-js/2017-03-13-no-more-loop-in-js.md +++ b/src/content/blog/2017/2017-03-13-no-more-loop-in-js/2017-03-13-no-more-loop-in-js.md @@ -1,6 +1,6 @@ --- title: No more for/while loop in JavaScript -tags: ['JavaScript', 'FunctionalProgramming'] +tags: ['JavaScript', 'FunctionalProgramming', 'Architecture'] slug: no-more-loop-in-js date: 2017-03-13 language: en diff --git a/src/content/blog/2018/2018-12-13-scaling-vue-app/scaling-vue-app.md b/src/content/blog/2018/2018-12-13-scaling-vue-app/scaling-vue-app.md index e26a30e97..20b8178f2 100644 --- a/src/content/blog/2018/2018-12-13-scaling-vue-app/scaling-vue-app.md +++ b/src/content/blog/2018/2018-12-13-scaling-vue-app/scaling-vue-app.md @@ -1,6 +1,9 @@ --- title: 3 Tips for Scaling Large Vue.js Application slug: 3-tips-scaling-vue-application +description: + "1. Split your application into completely isolated modules. 2. Consider micro-frontends + architecture. 3. Don't put everything in the Vuex Store" cover: ./cover.jpg language: en date: 2018-12-13 @@ -134,10 +137,11 @@ export default new Router({ { path: '/catalog', name: 'catalog', - component: () => import(/* webpackChunkName: "catalog" */ './modules/Catalog/views/Catalog.vue') + component: () => + import(/* webpackChunkName: "catalog" */ './modules/Catalog/views/Catalog.vue'), }, // ... - ] + ], }) ``` diff --git a/src/content/blog/2019/2019-03-01-conventional-commits/git-conventional-commits.md b/src/content/blog/2019/2019-03-01-conventional-commits/git-conventional-commits.md index 9a359a964..51c8f5a39 100644 --- a/src/content/blog/2019/2019-03-01-conventional-commits/git-conventional-commits.md +++ b/src/content/blog/2019/2019-03-01-conventional-commits/git-conventional-commits.md @@ -1,6 +1,7 @@ --- title: Enhance your git log with conventional commits slug: git-conventional-commits +description: Standards to write more explicit commits messages. language: en date: 2019-03-01 cover: ./cover.jpg diff --git a/src/content/blog/2019/2019-03-14-canggu-nomad/canggu-nomad.md b/src/content/blog/2019/2019-03-14-canggu-nomad/canggu-nomad.md index 02d835ed7..a20cc6b15 100644 --- a/src/content/blog/2019/2019-03-14-canggu-nomad/canggu-nomad.md +++ b/src/content/blog/2019/2019-03-14-canggu-nomad/canggu-nomad.md @@ -1,5 +1,7 @@ --- title: Two months in Canggu as a Digital Nomad +description: + 'My global review and my budget breakdown after living and working remotely in Bali for 60 days' slug: nomad-in-canggu language: en date: 2019-03-14 diff --git a/src/content/blog/2019/2019-06-27-busting-nomad-myths/index.md b/src/content/blog/2019/2019-06-27-busting-nomad-myths/index.md index 01dd7b11d..53f7bdddf 100644 --- a/src/content/blog/2019/2019-06-27-busting-nomad-myths/index.md +++ b/src/content/blog/2019/2019-06-27-busting-nomad-myths/index.md @@ -1,5 +1,6 @@ --- title: 'Digital Nomad: the Golden Ticket?' +description: "Don't trust the influencers. Working from the beach doesn't work." slug: busting-nomad-myths language: en date: 2019-06-27 diff --git a/src/content/blog/2019/2019-10-14-git-under-the-hood/index.md b/src/content/blog/2019/2019-10-14-git-under-the-hood/index.md index a0810f8ed..c3c1f8e7e 100644 --- a/src/content/blog/2019/2019-10-14-git-under-the-hood/index.md +++ b/src/content/blog/2019/2019-10-14-git-under-the-hood/index.md @@ -1,6 +1,7 @@ --- -title: "What's happens when you `git commit`" +title: What's happens when you "git commit" slug: git-under-the-hood +description: 'Understanding the Git Folder Structure and how git works under the hood.' language: en date: 2019-10-14 cover: ./cover.jpg diff --git a/src/content/blog/2019/2019-11-18-jest-mock-date/index.md b/src/content/blog/2019/2019-11-18-jest-mock-date/index.md index 365348cd2..d8479ac30 100644 --- a/src/content/blog/2019/2019-11-18-jest-mock-date/index.md +++ b/src/content/blog/2019/2019-11-18-jest-mock-date/index.md @@ -1,6 +1,7 @@ --- title: 'How to mock Date with Jest' slug: jest-mock-date +description: 'A guide on how to deal with unit tests that uses the JavaScript Date object.' cover: ./cover.jpg language: en date: 2019-11-18 diff --git a/src/content/blog/2019/2019-11-28-git-cheat-sheet/index.md b/src/content/blog/2019/2019-11-28-git-cheat-sheet/index.md index 3d6080b50..ea4e7f108 100644 --- a/src/content/blog/2019/2019-11-28-git-cheat-sheet/index.md +++ b/src/content/blog/2019/2019-11-28-git-cheat-sheet/index.md @@ -5,6 +5,7 @@ language: en date: 2019-11-28 cover: ./git-toolbox.png featured: true +description: 'A Git Cheat Sheet that focuses on Essential Commands for Experienced Developers.' tags: ['Git'] translations: - link: 'https://qiita.com/rana_kualu/items/42f8b36974eb07e2abb1' diff --git a/src/content/blog/2020/2020-01-20-generate-social-image-share-with-gatsby/index.md b/src/content/blog/2020/2020-01-20-generate-social-image-share-with-gatsby/index.md index 66b58c8a1..1b2e5e589 100644 --- a/src/content/blog/2020/2020-01-20-generate-social-image-share-with-gatsby/index.md +++ b/src/content/blog/2020/2020-01-20-generate-social-image-share-with-gatsby/index.md @@ -1,6 +1,7 @@ --- title: 'How to generate social share images with Gatsby' slug: generate-social-image-share-with-gatsby +description: 'How I created dynamic Open Graph images for my Gatsby website' language: en cover: ./cover.jpeg date: 2020-01-20 diff --git a/src/content/blog/2020/2020-02-04-what-makes-a-good-test/index.md b/src/content/blog/2020/2020-02-04-what-makes-a-good-test/index.md index bdc03816e..7b62ecb09 100644 --- a/src/content/blog/2020/2020-02-04-what-makes-a-good-test/index.md +++ b/src/content/blog/2020/2020-02-04-what-makes-a-good-test/index.md @@ -1,5 +1,8 @@ --- title: 10 Tips for Writing Better Tests +description: + "1. Think documentation 2. Isolate your tests 3. Keep it flat 4.Only mock what you can't control + 5. Avoid assertion in loops (forEach/...) 6..." slug: 10-tips-write-better-tests date: 2020-02-04 language: en diff --git a/src/content/blog/2020/2020-03-15-10-tips-for-working-from-home/index.md b/src/content/blog/2020/2020-03-15-10-tips-for-working-from-home/index.md index ed31f1173..040dc28da 100644 --- a/src/content/blog/2020/2020-03-15-10-tips-for-working-from-home/index.md +++ b/src/content/blog/2020/2020-03-15-10-tips-for-working-from-home/index.md @@ -3,6 +3,9 @@ title: 10 Tips for Working From Home slug: 10-tips-for-working-from-home date: 2020-03-15 language: en +description: + "Since the pandemic, most developers have been forced to work from home. I've been working + remotely for over 2 years now. Here are some tips to make this period a little bit less painful." cover: ./cover.jpeg tags: ['remote'] translations: diff --git a/src/content/blog/2020/2020-05-04-code-coverage/index.md b/src/content/blog/2020/2020-05-04-code-coverage/index.md index 999f139a5..da014e20e 100644 --- a/src/content/blog/2020/2020-05-04-code-coverage/index.md +++ b/src/content/blog/2020/2020-05-04-code-coverage/index.md @@ -1,5 +1,8 @@ --- title: "Why you shouldn't pay too much attention to your code coverage" +description: + "High code coverage doesn't guarantee quality: You can write tests that cover every line but miss + edge cases or core functionality." slug: code-coverage date: 2020-05-04 language: en diff --git a/src/content/blog/2020/2020-05-25-async-without-try-catch/index.md b/src/content/blog/2020/2020-05-25-async-without-try-catch/index.md index 1d4ab6549..edb70312d 100644 --- a/src/content/blog/2020/2020-05-25-async-without-try-catch/index.md +++ b/src/content/blog/2020/2020-05-25-async-without-try-catch/index.md @@ -1,6 +1,7 @@ --- title: 'async/await without try...catch!' slug: async-await-without-try-catch +description: A cool wrapper to write promises without using a try...catch block language: en date: 2020-05-25 cover: ./cover.jpeg diff --git a/src/content/blog/2020/2020-06-09-jest-mock-api-calls/index.md b/src/content/blog/2020/2020-06-09-jest-mock-api-calls/index.md index fe0ca8370..d873bfff7 100644 --- a/src/content/blog/2020/2020-06-09-jest-mock-api-calls/index.md +++ b/src/content/blog/2020/2020-06-09-jest-mock-api-calls/index.md @@ -1,6 +1,7 @@ --- title: 'How to mock Axios HTTP calls with Jest' slug: jest-mock-axios-calls +description: 'How to unit test components that have HTTP calls.' cover: ./cover.jpeg language: en date: 2020-06-09 diff --git a/src/content/blog/2020/2020-06-11-vue-js-testing-library/index.md b/src/content/blog/2020/2020-06-11-vue-js-testing-library/index.md index a5aecb814..239e3376e 100644 --- a/src/content/blog/2020/2020-06-11-vue-js-testing-library/index.md +++ b/src/content/blog/2020/2020-06-11-vue-js-testing-library/index.md @@ -1,5 +1,6 @@ --- title: 'Vue.js Testing Made it Easy (with Testing Library)' +description: 'How Testing Library helps you to write better integration test' slug: vue-js-testing-library language: en date: 2020-06-11 diff --git a/src/content/blog/2020/2020-09-01-vuejs-computed-properties-memoization/index.md b/src/content/blog/2020/2020-09-01-vuejs-computed-properties-memoization/index.md index 219fbdb96..6f8ae1ad2 100644 --- a/src/content/blog/2020/2020-09-01-vuejs-computed-properties-memoization/index.md +++ b/src/content/blog/2020/2020-09-01-vuejs-computed-properties-memoization/index.md @@ -1,6 +1,7 @@ --- title: 'Vue.js Performance Improvement with Memoization' slug: vuejs-performance-improvement-with-memoization +description: 'How I reduced the rendering of a complex component by 10 (from ~4s to ~0.3s).' language: en date: 2020-09-01 cover: ./cover.png diff --git a/src/content/blog/2020/2020-09-13-portfolio-junior-dev/index.md b/src/content/blog/2020/2020-09-13-portfolio-junior-dev/index.md index 6542a995b..581599ddd 100644 --- a/src/content/blog/2020/2020-09-13-portfolio-junior-dev/index.md +++ b/src/content/blog/2020/2020-09-13-portfolio-junior-dev/index.md @@ -1,6 +1,8 @@ --- title: 'Tips for your GitHub Portfolio' slug: tips-for-your-github-portfolio +description: + 'Showcasing your work can help you land your dream job. But you have to follow a few simple rules.' language: en date: 2020-10-14 cover: ./cover.jpg diff --git a/src/content/blog/2020/2020-12-11-monorepo-pros-and-cons/index.md b/src/content/blog/2020/2020-12-11-monorepo-pros-and-cons/index.md index 70b416a59..03ade0628 100644 --- a/src/content/blog/2020/2020-12-11-monorepo-pros-and-cons/index.md +++ b/src/content/blog/2020/2020-12-11-monorepo-pros-and-cons/index.md @@ -1,6 +1,7 @@ --- title: 'Monorepo: is it worth jumping the bandwagon?' slug: monorepo-pros-and-cons +description: 'Monorepos: beyond the hype. when and when not) to use them.' language: en date: 2020-12-11 cover: ./cover.jpg diff --git a/src/content/blog/2021/2021-10-05-RSI/index.md b/src/content/blog/2021/2021-10-05-RSI/index.md index b3ee0be40..d1dbb0d07 100644 --- a/src/content/blog/2021/2021-10-05-RSI/index.md +++ b/src/content/blog/2021/2021-10-05-RSI/index.md @@ -1,5 +1,6 @@ --- -title: My Journey with RSI (as a Software Engineer) +title: 'My Journey with RSI (as a Software Engineer)' +description: 'Some strategies I implemented to overcoming Repetitive Strain Injury (RSI)' slug: rsi-as-developer date: 2021-10-05 cover: ./cover.jpeg diff --git a/src/content/blog/2023/2023-07-07-aoe2-mac/index.mdx b/src/content/blog/2023/2023-07-07-aoe2-mac/index.mdx index c6180bcc0..c70d2d919 100644 --- a/src/content/blog/2023/2023-07-07-aoe2-mac/index.mdx +++ b/src/content/blog/2023/2023-07-07-aoe2-mac/index.mdx @@ -1,7 +1,7 @@ --- title: How to play Age of Empire II DE on MacOS description: - The complete guide on how to play Age of Empire 2 when you have a Mac (crossover or GeForce NOW). + The complete guide on how to play Age of Empire 2 when you have a Mac (CrossOver or GeForce NOW). Also includes my personal hotkeys and mods. slug: aoe2-on-macos date: 2023-07-11