feat: restructure docs into "chapters" (#12)

* feat(docker, k8s): create containers folder and kubernetes notes
This commit is contained in:
Marcello 2023-03-13 11:33:51 +00:00
parent b1cb858508
commit 2725e3cb70
92 changed files with 777 additions and 367 deletions

1
docs/README.md Symbolic link
View file

@ -0,0 +1 @@
../README.md

View file

@ -0,0 +1 @@
# Kubernetes

View file

@ -1,4 +0,0 @@
# Programming Notes
Personal notes on various programming languages to be used as quick reference.
Sum-up of personal knowledge.

View file

@ -82,7 +82,7 @@ cp SOURCE DESTINATION # copy SOURCE to DESTINATION
### Files Permissions & Ownership
![Linux Permissions](../img/bash_files-permissions-and-ownership-basics-in-linux.png "files info and permissions")
![Linux Permissions](../../img/bash_files-permissions-and-ownership-basics-in-linux.png "files info and permissions")
```sh
chmod MODE FILE # change file (or directory) permissions

View file

@ -644,7 +644,7 @@ Specificity is usually the reason why CSS-rules don't apply to some elements whe
## Box Model
![Box Model](../img/css_box-model.png)
![Box Model](../../img/css_box-model.png)
### Padding

View file

@ -9,8 +9,8 @@ Components are .NET C# classes built into .NET assemblies that:
- Can be nested and reused.
- Can be shared and distributed as Razor class libraries or NuGet packages.
![Blazor Server Architecture](../../img/dotnet_blazor-server.png)
![Blazor WASM Architecture](../../img/dotnet_blazor-webassembly.png)
![Blazor Server Architecture](../../../img/dotnet_blazor-server.png)
![Blazor WASM Architecture](../../../img/dotnet_blazor-webassembly.png)
The component class is usually written in the form of a Razor markup page with a `.razor` file extension. Components in Blazor are formally referred to as *Razor components*.

View file

@ -13,8 +13,8 @@ Custom filters can be created to handle cross-cutting concerns. Examples of cros
Filters run within the _ASP.NET Core action invocation pipeline_, sometimes referred to as the _filter pipeline_. The filter pipeline runs after ASP.NET Core selects the action to execute.
![filter-pipeline-1](../../img/dotnet_filter-pipeline-1.png)
![filter-pipeline-2](../../img/dotnet_filter-pipeline-2.png)
![filter-pipeline-1](../../../img/dotnet_filter-pipeline-1.png)
![filter-pipeline-2](../../../img/dotnet_filter-pipeline-2.png)
## **Filter types**

View file

@ -23,7 +23,7 @@ When a middleware short-circuits, it's called a *terminal middleware* because it
The ASP.NET Core request pipeline consists of a sequence of request delegates, called one after the other.
![request-delegate-pipeline](../../img/dotnet_request-delegate-pipeline.png)
![request-delegate-pipeline](../../../img/dotnet_request-delegate-pipeline.png)
Each delegate can perform operations before and after the next delegate. Exception-handling delegates should be called early in the pipeline, so they can catch exceptions that occur in later stages of the pipeline. It's possible to chain multiple request delegates together with `Use`.
@ -74,8 +74,8 @@ public class Startup
## Middleware Order
![middleware-pipeline](../../img/dotnet_middleware-pipeline.png)
![mvc-endpoint](../../img/dotnet_mvc-endpoint.png)
![middleware-pipeline](../../../img/dotnet_middleware-pipeline.png)
![mvc-endpoint](../../../img/dotnet_mvc-endpoint.png)
The Endpoint middleware executes the filter pipeline for the corresponding app type.

View file

@ -1339,7 +1339,7 @@ public static System.Collections.IEnumerable<int> IterateRange(int start = 0, in
## Structs (Custom Value Types) & Classes (Custom Reference Types)
![reference-vs-value](../../img/dotnet_pass-by-reference-vs-pass-by-value-animation.gif)
![reference-vs-value](../../../img/dotnet_pass-by-reference-vs-pass-by-value-animation.gif)
**Structure** types have _value semantics_. That is, a variable of a structure type contains an _instance_ of the type.
@ -2101,7 +2101,7 @@ Generic type parameters support covariance and contravariance to provide greater
- **Contravariance**: Enables to use a more generic (less derived) type than originally specified.
- **Invariance**: it's possible to use _only_ the type originally specified; so an invariant generic type parameter is neither covariant nor contravariant.
![covariance-vs-contravariance](../../img/dotnet_covariant_contravariant.png)
![covariance-vs-contravariance](../../../img/dotnet_covariant_contravariant.png)
> **Note**: annotate generic type parameters with `out` and `in` annotations to specify whether they should behave covariantly or contravariantly.

View file

@ -12,7 +12,7 @@ The **Java Collection Framework** is constituted by:
- **Classes** that implement the interfaces using different data structures.
- **Algorithms** consisting in methods to operate over a collection.
![Java Collection Hierarchy](../img/java_java-collection-framework.png "Java Collection Hierarchy")
![Java Collection Hierarchy](../../img/java_java-collection-framework.png "Java Collection Hierarchy")
## java.util.Collections

View file

@ -44,7 +44,7 @@ let event = new CustomEvent(type, { detail: /* custom data */ }); // create eve
domNode.dispatchEvent(event); // launch the event
```
![Event Inheritance](../img/javascript_event-inheritance.png)
![Event Inheritance](../../img/javascript_event-inheritance.png)
## Animation

View file

@ -87,7 +87,7 @@ label['compound'] = value
Compound value:
- none (img if present, text otherwise)
- none ../img if present, text otherwise)
- text (text only)
- image (image only)
- center (text in center of image)

View file

@ -201,7 +201,7 @@ It's generally recommended creating annotated tags so it's possible to have all
### Branching And Merging
![branch](../img/git_branches.png "how branches work")
![branch](../../img/git_branches.png "how branches work")
`git branch`: shows branches
`git branch -vv`: show branch + last commit + remote status