- loops (
for
,for...of
,while
) work as expected - but the async code in the
forEach
callbacks (and any sync code after the first async code) will only be executed after all of the synchronous code and they will start in parallel — not in sequence — which means the order in each they resolve is undetermined
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>idb example</title> | |
</head> | |
<body> | |
<h1>idb example</h1> |
I Used Debian 11 Bullseye for a Month - An Arch Linux User's Perspective: discussion about Debian download pages navigation
- choosing the correct Debian image isn't as straightforward as many distros because its site has a large quantity of download options and a confusing interface
- the better option is to use a amd64, live and non-free image
- amd64 is for 64-bit processors — which is the most common architecture in modern pcs
- live means you can run the OS without installing
- live Debian images come in a specific flavor, which means you don't have the option to choose a flavor during installation (it's already defined by the image have you download)
- non-free includes proprietary firmwares which are needed by some network and video adapters
- register domain on Namecheap
- log into DigitalOcean and create a project
- before creating a droplet, you must create a SSH key at settings
- create a droplet inside the project created previously and select the SSH key created on the previous step as authentication method
- update nameservers on Namecheap to set DigitalOcean as the DNS provider (instructions)
- later you'll revert to use Namecheap as the DNS provider but for now you need to use DigitalOcean to issue the SSL certificate
- access the droplet using ssh:
ssh [email protected]
(replace 137.184.12.128 with your droplet's ip) - initial server configuration
- install docker on your server
- [install docker compose on your server](https://www.digit
- receive emails: Namecheap offers free e-mail forwarding (instructions)
- send emails: you need a SMTP server, for instance SMTP2GO
- create a new account (you must use an email with custom domain therefore you need to have configured email forward on Namecheap) and then follow the instructions inside the SMTP2GO dashboard
kubectl get namespaces
,kubectl get ns
- argument
--all-namespaces
= executa comando em todos os namespaces - argument
--namespace
,-n
= seleciona um namespace especifico- esse argumento é util em comandos como esse
minikube service
que por padrão roda o comando no namaspace 'default'
- esse argumento é util em comandos como esse
kubectl create namespace namespace-name
= cria um namespace