mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-05-14 23:24:46 +00:00
feat: restructure docs into "chapters" (#12)
* feat(docker, k8s): create containers folder and kubernetes notes
This commit is contained in:
parent
b1cb858508
commit
2725e3cb70
92 changed files with 777 additions and 367 deletions
1
docs/README.md
Symbolic link
1
docs/README.md
Symbolic link
|
@ -0,0 +1 @@
|
|||
../README.md
|
1
docs/containers/kubernetes.md
Normal file
1
docs/containers/kubernetes.md
Normal file
|
@ -0,0 +1 @@
|
|||
# Kubernetes
|
|
@ -1,4 +0,0 @@
|
|||
# Programming Notes
|
||||
|
||||
Personal notes on various programming languages to be used as quick reference.
|
||||
Sum-up of personal knowledge.
|
|
@ -82,7 +82,7 @@ cp SOURCE DESTINATION # copy SOURCE to DESTINATION
|
|||
|
||||
### Files Permissions & Ownership
|
||||
|
||||

|
||||

|
||||
|
||||
```sh
|
||||
chmod MODE FILE # change file (or directory) permissions
|
|
@ -644,7 +644,7 @@ Specificity is usually the reason why CSS-rules don't apply to some elements whe
|
|||
|
||||
## Box Model
|
||||
|
||||

|
||||

|
||||
|
||||
### Padding
|
||||
|
|
@ -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.
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
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*.
|
||||
|
|
@ -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 types**
|
||||
|
|
@ -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.
|
||||
|
||||

|
||||

|
||||
|
||||
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
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
The Endpoint middleware executes the filter pipeline for the corresponding app type.
|
||||
|
|
@ -1339,7 +1339,7 @@ public static System.Collections.IEnumerable<int> IterateRange(int start = 0, in
|
|||
|
||||
## Structs (Custom Value Types) & Classes (Custom Reference Types)
|
||||
|
||||

|
||||

|
||||
|
||||
**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.
|
||||
|
||||

|
||||

|
||||
|
||||
> **Note**: annotate generic type parameters with `out` and `in` annotations to specify whether they should behave covariantly or contravariantly.
|
||||
|
|
@ -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.util.Collections
|
||||
|
|
@ -44,7 +44,7 @@ let event = new CustomEvent(type, { detail: /* custom data */ }); // create eve
|
|||
domNode.dispatchEvent(event); // launch the event
|
||||
```
|
||||
|
||||

|
||||

|
||||
|
||||
## Animation
|
||||
|
|
@ -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)
|
|
@ -201,7 +201,7 @@ It's generally recommended creating annotated tags so it's possible to have all
|
|||
|
||||
### Branching And Merging
|
||||
|
||||

|
||||

|
||||
|
||||
`git branch`: shows branches
|
||||
`git branch -vv`: show branch + last commit + remote status
|
Loading…
Add table
Add a link
Reference in a new issue