mirror of
https://github.com/m-lamonaca/dev-notes.git
synced 2025-06-08 02:37:13 +00:00
convert images to avif
This commit is contained in:
parent
8026e1465b
commit
b74f634cd2
53 changed files with 17 additions and 17 deletions
|
@ -82,7 +82,7 @@ cp SOURCE DESTINATION # copy SOURCE to DESTINATION
|
|||
|
||||
### Files Permissions & Ownership
|
||||
|
||||

|
||||

|
||||
|
||||
```sh
|
||||
chmod MODE FILE # change file (or directory) permissions
|
||||
|
|
|
@ -569,7 +569,7 @@ There are several methods to 'hide' elements:
|
|||
|
||||
## [Box Model](https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/The_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`.
|
||||
|
||||
|
@ -62,8 +62,8 @@ app.Run(async context =>
|
|||
|
||||
## Middleware Order
|
||||
|
||||

|
||||

|
||||

|
||||

|
||||
|
||||
The Endpoint middleware executes the filter pipeline for the corresponding app type.
|
||||
|
||||
|
|
|
@ -49,9 +49,9 @@ The fist loaded page is `Default.aspx` and its underlying code.
|
|||
<!-- LinkButton: POstBackEvent reloads the page -->
|
||||
<asp:LinkButton ID="lbtHome" runat="server" PostBackUrl="~/Page.aspx" OnClick="lbt_Click">BUTTON TEXT</asp:LinkButton>
|
||||
<!-- Image -->
|
||||
<asp:Image ID="img_" runat="server" ImageUrl="~/Images/image.png"/>
|
||||
<asp:Image ID="img_" runat="server" ImageUrl="~/Images/image.avif"/>
|
||||
<!-- ImageButton -->
|
||||
<asp:ImageButton ID="imb_" runat="server" ImageUrl="~/Images/image.png" PostBackUrl="~/Page.aspx"/>
|
||||
<asp:ImageButton ID="imb_" runat="server" ImageUrl="~/Images/image.avif" PostBackUrl="~/Page.aspx"/>
|
||||
|
||||
<!-- SqlSataSource; connection string specified in Web.config -->
|
||||
<asp:SqlDataSource ID="sds_" runat="server" ConnectionString="<%$ ConnectionStrings:ConnectionString %>" SelectCommand="SQL Query"></asp:SqlDataSource>
|
||||
|
|
|
@ -2148,7 +2148,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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue