xxxxxxxxxx
date_default_timezone_set('asia/Dhaka');
$expire = strtotime("-1 days");
if($expire <= time()){
echo '<br>Expired on '. date('F j, Y, g:i:s A', $expire);
}else{
echo '<br>Running until '. date('F j, Y, g:i:s A', $expire);
}
xxxxxxxxxx
sudo apt install nginx -y
sudo systemctl status nginx
sudo systemctl enable nginx
sudo ufw allow 'Nginx Full'
sudo ufw status
curl -I http://localhost
xxxxxxxxxx
bool x = true;
printf("%d\n", x); // prints 1
printf("Your boolean variable is: %s", x ? "true" : "false");
xxxxxxxxxx
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/latest/download/components.yaml