I hereby claim:
- I am dmringo on github.
- I am dringo (https://keybase.io/dringo) on keybase.
- I have a public key ASCmpFH-VmVE6lvNjmThzbC1o0cfdjdOfvKAy6PKMXYBxwo
To claim this, I am signing this object:
| # WSL2 network port forwarding script v1 | |
| # for enable script, 'Set-ExecutionPolicy -ExecutionPolicy Bypass -Scope CurrentUser' in Powershell, | |
| # for delete exist rules and ports use 'delete' as parameter, for show ports use 'list' as parameter. | |
| # written by Daehyuk Ahn, Aug-1-2020 | |
| # modified by dmringo, Oct-14-2023 | |
| # Display all portproxy information | |
| If ($Args[0] -eq "list") { | |
| netsh interface portproxy show v4tov4; | |
| exit; |
| msys2 vs msys vs msysgit | |
| MinGW doesn't provide a linux-like environment, that is MSYS(2) and/or Cygwin | |
| Cygwin is an attempt to create a complete UNIX/POSIX environment on Windows. | |
| MinGW is a C/C++ compiler suite which allows you to create Windows executables - you only | |
| need the normal MSVC runtimes, which are part of any normal Microsoft Windows installation. | |
| MinGW provides headers and libraries so that GCC (a compiler suite, | |
| not just a "unix/linux compiler") can be built and used against the Windows C runtime. |
| [cmdletbinding()] | |
| param([switch]$Preview) | |
| # vswhere will reliably locate visual studio installations | |
| if (!(gcm vswhere)) { | |
| # https://chocolatey.org/ | |
| if (gcm choco) { | |
| choco install vswhere -y | |
| } | |
| else { |
I hereby claim:
To claim this, I am signing this object:
| #include <stdio.h> | |
| #include <stdlib.h> | |
| #include <time.h> | |
| #define A 5 | |
| #define B 4 | |
| #define C 3 | |
| /* silly thing */ |