-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactor: remove src barrel file * feat: add learn content page * docs: update content * docs: linting post * ci: update nextjs analyzer workflow
- Loading branch information
Showing
28 changed files
with
248 additions
and
134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,14 @@ | ||
--- | ||
title: ".NET" | ||
date: "2021-04-25" | ||
date: "2024-12-22" | ||
--- | ||
|
||
SOLID principles | ||
.NET is a software development framework that can be used to build cross-platform applications. | ||
|
||
Logging | ||
https://docs.microsoft.com/en-gb/learn/modules/aspnet-logging/ | ||
- Start by getting familiar with the C# programming language. | ||
- Learn SOLID principles to understand commonly used best practices. | ||
- [Microsoft Docs: Logging in ASP.NET][1] | ||
- [Create a web API with ASP.NET Core controllers][2] | ||
|
||
https://docs.microsoft.com/en-gb/learn/modules/build-web-api-aspnet-core/ | ||
[1]: https://docs.microsoft.com/en-gb/learn/modules/aspnet-logging/ | ||
[2]: https://docs.microsoft.com/en-gb/learn/modules/build-web-api-aspnet-core/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,16 @@ | ||
--- | ||
title: "Linting npm packages" | ||
date: "2023-02-23" | ||
title: "[WIP] Linting npm packages" | ||
date: "2023-03-30" | ||
--- | ||
|
||
Lint npm packages using these sites: | ||
Publishing an npm package is a very different experience from writing locally shared code and can come with a lot of daunting challenges. Thankfully, there are multiple tools out there today that help us validate our published package. | ||
|
||
- https://publint.dev/ | ||
- https://arethetypeswrong.github.io/ | ||
- https://bundlephobia.com/ | ||
1. [Publint][1]: This will help identify any errors in the format of your published package, including checking that your package.json metadata is correct and the published files and entrypoints are in a format that will work for various consumers. | ||
|
||
2. [Are The Types Wrong][2]: Shipping types with an npm package has become a common requirement as the JavaScript ecosystem has reached wide adoption of TypeScript. This tool by the TypeScript team helps us identify how different moduleResolution settings in the consumer projects will resolve the types from our package and whether any of them might break. | ||
|
||
3. [BundlePhobia][3]: Bundle size is often one of the primary concerns of a developer while choosing between two npm packages. This tool helps us analyze the bundle size of our shipped npm package. | ||
|
||
[1]: https://publint.dev/ | ||
[2]: https://arethetypeswrong.github.io/ | ||
[3]: https://bundlephobia.com/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,19 @@ | ||
--- | ||
title: "Don't install NodeJS from snap store on Ubuntu" | ||
date: "2021-07-30" | ||
title: "Don't install NodeJS from Snap Store on Ubuntu" | ||
date: "2023-03-26" | ||
--- | ||
|
||
Don't install Ubuntu from snap store | ||
[Snap Store][4] is usually the easiest way of installing software on Ubuntu and the closest option available for someone looking for a [brew][1] alternative for Linux. | ||
|
||
If you do, none of the npx commands will work | ||
https://github.com/admc/wd/issues/586#issuecomment-541583962 | ||
However, the Snap Store distribution of Node is one we need to be cautious about as it can lead to a multitude of issues. | ||
|
||
Easiest way is to install from nodesource LTS | ||
https://github.com/nodesource/distributions#installation-instructions | ||
For example, [none of the npx commands will work][2]. This is because the Snap Store distribution of Node doesn't have the necessary permissions to install npm packages globally. | ||
|
||
The recommended way to install Node for Ubuntu users is to use a nodesource LTS distribution instead: | ||
|
||
[https://github.com/nodesource/distributions#installation-instructions][3] | ||
|
||
[1]: https://brew.sh/ | ||
[2]: https://github.com/admc/wd/issues/586#issuecomment-541583962 | ||
[3]: https://github.com/nodesource/distributions#installation-instructions | ||
[4]: https://snapcraft.io/store |
Oops, something went wrong.