From 8b367b7449f88b3cfd0e981a349b5e41d62aa43a Mon Sep 17 00:00:00 2001 From: AshGw Date: Thu, 2 May 2024 02:26:03 +0100 Subject: [PATCH] chore: typos cleanup --- public/blogs/branded-types.mdx | 3 +-- public/blogs/mock-async-python.mdx | 2 +- public/blogs/white-board-interviews.mdx | 2 +- src/lib/env.ts | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/public/blogs/branded-types.mdx b/public/blogs/branded-types.mdx index 46b44312..d65dec6b 100644 --- a/public/blogs/branded-types.mdx +++ b/public/blogs/branded-types.mdx @@ -9,7 +9,6 @@ firstModDate: 2024-04-27T09:15:00-0401 minutesToRead: 3 tags: - 'typescript' - - 'typing' - 'quality' --- @@ -180,5 +179,5 @@ const baz2 = requestBaz(foo.id, bar.id); showLineNumbers={true} /> -`ts-roids` is yet another library I created this month, it helps to bulletproof TypeScript with types and decorators, it includes more than 150+ utilities, you can check it out here, this just a small example of what you might use it for. +`ts-roids` is a library I created this week, the goal is to bulletproof TypeScript with types and decorators, it includes more than 150+ utilities, you can check it out here, this just a small example of what you might use it for. \ No newline at end of file diff --git a/public/blogs/mock-async-python.mdx b/public/blogs/mock-async-python.mdx index 39499146..da314906 100644 --- a/public/blogs/mock-async-python.mdx +++ b/public/blogs/mock-async-python.mdx @@ -27,7 +27,7 @@ With that out of the way, lets start with the two main ways you can patch an asy

Monkey Patch

-Given a function ``some_result`` of the class ``Foo`` (we can argue later if static methods are true OOP, but bear with me now) +Given a function ``some_result`` of the class ``Foo`` -Does being able to solve the hardest LeetCode problems make you a better developer? No. But will learning basic algorithms and understanding how to apply them to real-world scenarios make you a better developer? Yes. I recently had to learn about Postgres' indexing algorithm called Gist, I now know more about how indexes work in Postgres. Did I memorize every detail of how it works? No. +Does being able to solve the hardest LeetCode problems make you a better developer? No. Will learning basic algorithms and understanding how to apply them to real-world scenarios make you a better developer? Yes. I recently had to learn about Postgres' indexing algorithm called Gist, I now know more about how indexes work in Postgres. Did I memorize every detail of how it works? No. diff --git a/src/lib/env.ts b/src/lib/env.ts index cdffde59..79d99942 100644 --- a/src/lib/env.ts +++ b/src/lib/env.ts @@ -13,7 +13,7 @@ export const nextJS = { }; export const pub = { - SITE_URL_PROD: 'https://ashgw.net', + SITE_URL_PROD: 'http://localhost:3000', SITE_URL_DEV: 'http://localhost:3000', EMAIL: process.env.EMAIL as string, };