1. false: the boolean value false
2. 0: the number zero
3. '': the empty string, a string with no characters
4. NaN : stands for "Not a Number", usually caused by math errors
5. undefined: a variable's value before it is assigned a value
6. null: a blank value that can be assigned to a variable
for (let i = 0; i < 2; i++) {
console.log(i)
}
create a .gitignore file inside that directory that contains these four lines
# Ignore everything in this directory
*
# Except this file
!.gitignore
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Scanner;
import java.util.TimeZone;
Scanner scan = new Scanner(System.in);
System.out.print("");
int num = scan.nextInt();
scan.close();
TimeZone tz = TimeZone.getTimeZone("UTC");
SimpleDateFormat df = new SimpleDateFormat("HH:mm:ss");
df.setTimeZone(tz);
String time = df.format(new Date(num * 1000));
System.out.println(time);
sudo apt update
2: sudo apt -y upgrade
3: sudo systemctl reboot
maybe this fails but not problem
Add Ondřej Surý PPA repository:
4.1 sudo apt update
4.2 sudo apt install lsb-release ca-certificates apt-transport-https software-properties-common -y
4.3 sudo add-apt-repository ppa:ondrej/php
5: sudo apt update
install PHP 8.1
6: sudo apt install php8.1
Hit the y key to start installation
Check for the current version of PHP
7: php -v
sudo npm install --unsafe-perm=true --allow-root