diff --git a/.NET/ASP.NET/Blazor.md b/.NET/ASP.NET/Blazor.md index 709e0ea..88264d3 100644 --- a/.NET/ASP.NET/Blazor.md +++ b/.NET/ASP.NET/Blazor.md @@ -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](https://docs.microsoft.com/en-us/aspnet/core/blazor/index/_static/blazor-server.png) -![Blazor WASM Architecture](https://docs.microsoft.com/en-us/aspnet/core/blazor/index/_static/blazor-webassembly.png) +![Blazor Server Architecture](../../.images/dotnet_blazor-server.png) +![Blazor WASM Architecture](../../.images/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*. diff --git a/.NET/ASP.NET/Filters.md b/.NET/ASP.NET/Filters.md index 3317029..43e937e 100644 --- a/.NET/ASP.NET/Filters.md +++ b/.NET/ASP.NET/Filters.md @@ -13,10 +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. -![1][filter-pipeline-1] ![2][filter-pipeline-2] - -[filter-pipeline-1]: https://docs.microsoft.com/it-it/aspnet/core/mvc/controllers/filters/_static/filter-pipeline-1.png -[filter-pipeline-2]: https://docs.microsoft.com/en-gb/aspnet/core/mvc/controllers/filters/_static/filter-pipeline-2.png +![filter-pipeline-1](../../.images/dotnet_filter-pipeline-1.png) +![filter-pipeline-2](../../.images/dotnet_filter-pipeline-2.png) ## **Filter types** diff --git a/.NET/ASP.NET/Middleware.md b/.NET/ASP.NET/Middleware.md index fc71fbd..f1fbf73 100644 --- a/.NET/ASP.NET/Middleware.md +++ b/.NET/ASP.NET/Middleware.md @@ -23,7 +23,7 @@ When a middleware short-circuits, it's called a *terminal middleware* because The ASP.NET Core request pipeline consists of a sequence of request delegates, called one after the other. -![request-delegate-pipeline](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/index/_static/request-delegate-pipeline.png) +![request-delegate-pipeline](../../.images/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](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/index/_static/middleware-pipeline.svg) -![mvc-endpoint](https://docs.microsoft.com/en-us/aspnet/core/fundamentals/middleware/index/_static/mvc-endpoint.svg) +![middleware-pipeline](../../.images/dotnet_middleware-pipeline.png) +![mvc-endpoint](../../.images/dotnet_mvc-endpoint.png) The Endpoint middleware executes the filter pipeline for the corresponding app type. diff --git a/.NET/C#/C#.md b/.NET/C#/C#.md index d1d11f4..8ea77b1 100644 --- a/.NET/C#/C#.md +++ b/.NET/C#/C#.md @@ -1305,7 +1305,7 @@ public static System.Collections.IEnumerable IterateRange(int start = 0, in ## Structs (Custom Value Types) & Classes (Custom Reference Types) -![reference-vs-value](https://blog.penjee.com/wp-content/uploads/2015/02/pass-by-reference-vs-pass-by-value-animation.gif) +![reference-vs-value](../../.images/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. diff --git a/.NET/Xamarin/Page.xaml.md b/.NET/Xamarin/Page.xaml.md index e50f9b2..0dfe97b 100644 --- a/.NET/Xamarin/Page.xaml.md +++ b/.NET/Xamarin/Page.xaml.md @@ -22,7 +22,7 @@ The term *view* in Xamarin.Forms denotes familiar types of presentation and inte ## Pages -![pages](https://d585tldpucybw.cloudfront.net/sfimages/default-source/blogs/2020/2020-11/pages.png) +![pages](../../.images/dotnet_xamarin-pages.png) ```xml @@ -48,7 +48,7 @@ The term *view* in Xamarin.Forms denotes familiar types of presentation and inte ## Layouts -![layouts](https://d585tldpucybw.cloudfront.net/sfimages/default-source/blogs/2020/2020-11/layouts.png) +![layouts](../../.images/dotnet_xamarin-layouts.png) - StackLayout: Organizes views linearly, either horizontally or vertically. - AbsoluteLayout: Organizes views by setting coordinates & size in terms of absolute values or ratios. diff --git a/.images/android_activity-lifecycle.png b/.images/android_activity-lifecycle.png new file mode 100644 index 0000000..ab0921a Binary files /dev/null and b/.images/android_activity-lifecycle.png differ diff --git a/.images/android_fragment-lifecycle.png b/.images/android_fragment-lifecycle.png new file mode 100644 index 0000000..eef260a Binary files /dev/null and b/.images/android_fragment-lifecycle.png differ diff --git a/.images/android_fragments.png b/.images/android_fragments.png new file mode 100644 index 0000000..3713838 Binary files /dev/null and b/.images/android_fragments.png differ diff --git a/.images/bash_files-permissions-and-ownership-basics-in-linux.png b/.images/bash_files-permissions-and-ownership-basics-in-linux.png new file mode 100644 index 0000000..e542208 Binary files /dev/null and b/.images/bash_files-permissions-and-ownership-basics-in-linux.png differ diff --git a/.images/css_box-model.png b/.images/css_box-model.png new file mode 100644 index 0000000..b0e51b9 Binary files /dev/null and b/.images/css_box-model.png differ diff --git a/.images/dotnet_blazor-server.png b/.images/dotnet_blazor-server.png new file mode 100644 index 0000000..f729a06 Binary files /dev/null and b/.images/dotnet_blazor-server.png differ diff --git a/.images/dotnet_blazor-webassembly.png b/.images/dotnet_blazor-webassembly.png new file mode 100644 index 0000000..f1f6916 Binary files /dev/null and b/.images/dotnet_blazor-webassembly.png differ diff --git a/.images/dotnet_filter-pipeline-1.png b/.images/dotnet_filter-pipeline-1.png new file mode 100644 index 0000000..46820c0 Binary files /dev/null and b/.images/dotnet_filter-pipeline-1.png differ diff --git a/.images/dotnet_filter-pipeline-2.png b/.images/dotnet_filter-pipeline-2.png new file mode 100644 index 0000000..bbfba6d Binary files /dev/null and b/.images/dotnet_filter-pipeline-2.png differ diff --git a/.images/dotnet_middleware-pipeline.png b/.images/dotnet_middleware-pipeline.png new file mode 100644 index 0000000..7a9e1a0 Binary files /dev/null and b/.images/dotnet_middleware-pipeline.png differ diff --git a/.images/dotnet_mvc-endpoint.png b/.images/dotnet_mvc-endpoint.png new file mode 100644 index 0000000..5e22b69 Binary files /dev/null and b/.images/dotnet_mvc-endpoint.png differ diff --git a/.images/dotnet_pass-by-reference-vs-pass-by-value-animation.gif b/.images/dotnet_pass-by-reference-vs-pass-by-value-animation.gif new file mode 100644 index 0000000..bca4ce5 Binary files /dev/null and b/.images/dotnet_pass-by-reference-vs-pass-by-value-animation.gif differ diff --git a/.images/dotnet_request-delegate-pipeline.png b/.images/dotnet_request-delegate-pipeline.png new file mode 100644 index 0000000..43171c5 Binary files /dev/null and b/.images/dotnet_request-delegate-pipeline.png differ diff --git a/.images/dotnet_xamarin-layouts.png b/.images/dotnet_xamarin-layouts.png new file mode 100644 index 0000000..936ff66 Binary files /dev/null and b/.images/dotnet_xamarin-layouts.png differ diff --git a/.images/dotnet_xamarin-pages.png b/.images/dotnet_xamarin-pages.png new file mode 100644 index 0000000..fa5dfb7 Binary files /dev/null and b/.images/dotnet_xamarin-pages.png differ diff --git a/.images/git_branches.png b/.images/git_branches.png new file mode 100644 index 0000000..d79bde0 Binary files /dev/null and b/.images/git_branches.png differ diff --git a/.images/java_java-collection-framework.png b/.images/java_java-collection-framework.png new file mode 100644 index 0000000..d9c3bed Binary files /dev/null and b/.images/java_java-collection-framework.png differ diff --git a/.images/javascript_event-inheritance.png b/.images/javascript_event-inheritance.png new file mode 100644 index 0000000..aed60a9 Binary files /dev/null and b/.images/javascript_event-inheritance.png differ diff --git a/.images/mongodb_ixscan.png b/.images/mongodb_ixscan.png new file mode 100644 index 0000000..3a90818 Binary files /dev/null and b/.images/mongodb_ixscan.png differ diff --git a/.images/mongodb_shared-cluster.png b/.images/mongodb_shared-cluster.png new file mode 100644 index 0000000..2a36d3e Binary files /dev/null and b/.images/mongodb_shared-cluster.png differ diff --git a/.images/node_url-structure.png b/.images/node_url-structure.png new file mode 100644 index 0000000..f049b03 Binary files /dev/null and b/.images/node_url-structure.png differ diff --git a/Android/Activity.kt.md b/Android/Activity.kt.md index 1b5ee59..2168641 100644 --- a/Android/Activity.kt.md +++ b/Android/Activity.kt.md @@ -12,7 +12,7 @@ Log.c("tag", "logValue") //critical log ## Activity Life Cycle -![Life Cycle](https://developer.android.com/images/activity_lifecycle.png) +![Life Cycle](../.images/android_activity-lifecycle.png) ```kotlin package com.its. diff --git a/Android/Fragment.md b/Android/Fragment.md index 19ffa48..528fbd0 100644 --- a/Android/Fragment.md +++ b/Android/Fragment.md @@ -5,11 +5,11 @@ A **Fragment** represents a behavior or a portion of user interface in a `FragmentActivity`. It's possible to combine multiple fragments in a single activity to build a multi-pane UI and reuse a fragment in multiple activities. Think of a fragment as a *modular section of an activity*, which has its *own* lifecycle, receives its *own* input events, and which you can add or remove while the activity is running (sort of like a "sub activity" that you can reuse in different activities). -![Fragment](https://developer.android.com/images/fundamentals/fragments.png) +![Fragment](../.images/android_fragments.png) A fragment must always be hosted in an activity and the fragment's lifecycle is *directly affected* by the host activity's lifecycle. -![Fragment Lifecycle](https://developer.android.com/images/fragment_lifecycle.png) +![Fragment Lifecycle](../.images/android_fragment-lifecycle.png) ## Minimal Fragment Functions diff --git a/Bash/Bash Commands.md b/Bash/Bash Commands.md index b8d54cc..528f612 100644 --- a/Bash/Bash Commands.md +++ b/Bash/Bash Commands.md @@ -82,7 +82,7 @@ cp SOURCE DESTINATION # copy SOURCE to DESTIANTION ### Files Permissions & Ownership -![Linux Permissions](https://cdn.thegeekdiary.com/wp-content/uploads/2017/11/Files-permissions-and-ownership-basics-in-Linux.png "files info and permissions") +![Linux Permissions](../.images/bash_files-permissions-and-ownership-basics-in-linux.png "files info and permissions") ```sh chmod MODE FILE # change file (or directory) permissions diff --git a/CSS/CSS.md b/CSS/CSS.md index d283367..07cfd3c 100644 --- a/CSS/CSS.md +++ b/CSS/CSS.md @@ -669,7 +669,7 @@ Specificity is usually the reason why CSS-rules don't apply to some elements whe ## Box Model -![Box Model](https://hackernoon.com/hn-images/1*2jZwpWH9XO_QllhEpyGqMA.png) +![Box Model](../.images/css_box-model.png) ### Padding diff --git a/Database/MongoDB.md b/Database/MongoDB.md index 2b5cfab..4823073 100644 --- a/Database/MongoDB.md +++ b/Database/MongoDB.md @@ -277,7 +277,7 @@ Indexes are special data structures that store a small portion of the collection Indexes _slow down writing operations_ since the index must be updated at every writing. -![IXSCAN](https://docs.mongodb.com/manual/_images/index-for-sort.bakedsvg.svg ".find() using an index") +![IXSCAN](../.images/mongodb_ixscan.png ".find() using an index") ### [Index Types](https://docs.mongodb.com/manual/indexes/#index-types) @@ -403,7 +403,7 @@ Shard components are: - A config server, instasnce of MongoDB which contains metadata on the cluster, that is the set of instances that have the shard data. - A router (or `mongos`), instance of MongoDB used to redirect the user instructions from the client to the correct server. -![Shared Cluster](https://docs.mongodb.com/manual/_images/sharded-cluster-production-architecture.bakedsvg.svg "Components of a shared cluster") +![Shared Cluster](../.images/mongodb_shared-cluster.png "Components of a shared cluster") ### [Replica set](https://docs.mongodb.com/manual/replication/) diff --git a/Git/git.md b/Git/git.md index 02bba8f..7112ca4 100644 --- a/Git/git.md +++ b/Git/git.md @@ -238,7 +238,7 @@ git chechout git rebase # moves commits from the branch on top of master ``` -![branch](https://hackernoon.com/hn-images/1*iHPPa72N11sBI_JSDEGxEA.png "how branches work") +![branch](../.images/git_branches.png "how branches work") ### Clone Branches diff --git a/Java/Java Collection Framework.md b/Java/Java Collection Framework.md index 087f4d9..d231c10 100644 --- a/Java/Java Collection Framework.md +++ b/Java/Java Collection Framework.md @@ -12,7 +12,7 @@ The **Java Collection Framework** is constituited by: - **Classes** that implement the interfaces using different data structures. - **Algorithms** consistng in methods to operate over a collection. -![Java Collection Hierarchy](https://upload.wikimedia.org/wikipedia/commons/a/ab/Java.util.Collection_hierarchy.svg "Java Collection Hierarchy") +![Java Collection Hierarchy](../.images/java_java-collection-framework.png "Java Collection Hierarchy") ## java.util.Collections diff --git a/Java/Java.md b/Java/Java.md index 7c6229b..7f1745f 100644 --- a/Java/Java.md +++ b/Java/Java.md @@ -1,7 +1,5 @@ # Java Cheat Sheet -![Java Structure](https://raw.githubusercontent.com/maboglia/CorsoJava/master/appunti/img/2020_UF_Java.jpg) - ```java //single line comment /* multi line comment */ diff --git a/JavaScript/Events & Animation.md b/JavaScript/Events & Animation.md index b1117ca..5ba4c6f 100644 --- a/JavaScript/Events & Animation.md +++ b/JavaScript/Events & Animation.md @@ -44,7 +44,7 @@ let event = new CustomEvent(type, { detail: /* custom data */ }); // create eve domNode.dispatchEvent(event); // launch the event ``` -![Event Inheritace](https://www.w3.org/TR/2014/WD-DOM-Level-3-Events-20140925/images/event-inheritance.svg) +![Event Inheritace](../.images/javascript_event-inheritance.png) ## Animation diff --git a/Node.js/Standard Packages/url.md b/Node.js/Standard Packages/url.md index c6e532f..7670f11 100644 --- a/Node.js/Standard Packages/url.md +++ b/Node.js/Standard Packages/url.md @@ -2,7 +2,7 @@ `http://user:pass@sub.example.com:8080/p/a/t/h?query=string#hash` -![URI Syntax](https://upload.wikimedia.org/wikipedia/commons/thumb/d/d6/URI_syntax_diagram.svg/1920px-URI_syntax_diagram.svg.png) +![URI Syntax](../../.images/node_url-structure.png) ## Basics