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
Hello world, This is sample text
Line2 Hello, world What's going On
We want to search string that contains: world & going
words
VISUAL STUDIO Example:
STEP 1: Press CTRL + F (Open find dialog)
STEP 2: Press ALT + R (Use Regular expression)
STEP 3: Write world(.*)going
in the search field
The search result will be:
Hello, world
What's going
On
because it contains the same time words "world" and "going"