Category: Uncategorized
-
Linux: Bourne Shell Scripting Variables
$0 is the script / program name. If you run echo $0 straight from the shell you probably will get “bash” back. $@ is an array of arguments. It consists of $1 $2 … $N. The loop counter will return how many arguments you have. When N is more than a single digit, it must…
-
Kubernetes: Ingress Controller (IngressClass)
Install via HELM: To show the values via HELM: Uninstall via HELM: References:
-
PowerShell: Environment Variables
List all environment variables: Print an environment variable: Create/set (permanent) Unset (permanent) Create/set (temporary): Unset (temporary): Use an environment variable:
-
HTTP: Cookie
Cookie is used to save key-value pairs on the client side. Expire if set to 0 equals erase on browser close (Session). If set to time() + (seconds) then the cookie will expire at that particular time. Path if set to “/” then it will be accessible to every path in the domain (domain.com/*). If…
-
Javascript: Fullscreen
To enter fullscreen mode: To exit fullscreen mode: Toggling fullscreen mode: References:
-
Podman: Networking in WSL
Check if you have any Podman machine available: If you do not have any Podman machine, create it with: Deploy something… Normally on Docker you can access this port 8000 from outside your machine. But for Podman in WSL you will need to add extra command. Open Windows Terminal or Cmd or PowerShell with Administrator…
