wget and curl both fetch data over the network, but they have different design goals.
The simplest way to remember it:
wget = download files curl = talk to services
Below is the clean mental model, then details.
wget and curl both fetch data over the network, but they have different design goals.
The simplest way to remember it:
wget = download files curl = talk to services
Below is the clean mental model, then details.
| Get-ItemProperty ` | |
| "HKLM:\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full" ` | |
| -Name Release | |
| >openssl version | |
| OpenSSL 3.6.0 1 Oct 2025 (Library: OpenSSL 3.6.0 1 Oct 2025) | |
| >mkcert -version | |
| v1.4.4 | |
| -- |
certutil -hashfile "Path\To\Some\File.mp4" SHA256
If you're curious about file hashes, theyβre like digital fingerprints. If two files have the same hash, theyβre bit-for-bit identical. Even one byte of difference would change the hash.
Open Command Prompt and run:
The -u in git push -u origin main is a shorthand option for --set-upstream.
When you use git push -u origin main for the first time for a local branch, it does two things:
main branch to the remote repository named origin. If a main branch doesn't exist on the remote yet, Git will create it.main branch and the remote origin/main branch. This means that Git now remembers that your local main branch is associated with the main branch on the origin remote.Why is this tracking connection useful?
Once the upstream is set, you can use simpler Git commands in the future:
| using Blog.EFLayer.Models; | |
| using Microsoft.EntityFrameworkCore; | |
| using Jolisoft.Common.Logging; //AddFileLogger | |
| namespace Blog.Api; | |
| public class Program | |
| { | |
| public static void Main(string[] args) |
| ui/ | |
| βββ public/ | |
| β βββ index.html | |
| β | |
| βββ src/ | |
| β βββ index.tsx | |
| β βββ App.tsx | |
| β βββ router.tsx | |
| β | |
| β βββ assets/ |
| //Older style, with Startup.cs; BEFORE .NET 6.x; | |
| // Program.cs (Typical .NET Core 3.1) | |
| using Microsoft.AspNetCore.Hosting; | |
| using Microsoft.Extensions.Hosting; | |
| namespace MyWebApp | |
| { | |
| public class Program | |
| { |
| <!-- | |
| The template in VS ".NET MAUI App" creates by default other platforms e.g. maui-android, maui-ios, maui-catalyst, maui-tizen, etc; | |
| It's just not worth it, as it does NOT build by default; At least not when I tried it! | |
| Better remove all the other platforms if you only want Windows; Below is the modified project file to target only Windows; | |
| Delete the other folders under "Platforms" | |
| --> | |
| <Project Sdk="Microsoft.NET.Sdk"> | |
| <PropertyGroup> | |
| <TargetFrameworks>net8.0-windows10.0.19041.0</TargetFrameworks> |
# Version 1: Full WxH specification
ffmpeg -i input.mp4 -vf scale=640:360 output_640x360.mp4
# Version 2: Width only, adjust height automatically
ffmpeg -i input.mp4 -vf scale=640:-1 output_640xauto.mp4
# Version 3: Height only, adjust width automatically
ffmpeg -i input.mp4 -vf scale=-1:360 output_auto_x360.mp4