find /home/ -type f -size +10M -and -regex ‘(.tar|.gzip|.zip|.tgz|.*sql)’
Stored at SSH-for-Backups.txt
Some help on php code
find /home/ -type f -size +10M -and -regex ‘(.tar|.gzip|.zip|.tgz|.*sql)’
Stored at SSH-for-Backups.txt
on Centos 7
sudo yum install Xvfb (note the Capital X)
xvfb-run /usr/bin/wkhtmltopdf http://www.google.com google.pdf
$price = 849; // enter price here $vat_rate = 20; $vat = ($price * $vat_rate)/(100+$vat_rate); echo "\n Price Inc.Vat - > ".$price; echo "\n VAT - > ".$vat; $price_ex_vat = $price-$vat; echo "\n Price Ex. Vat - > ".$price_ex_vat;
Run the above code here:
// for datetime field like 2001-12-03 select * from user where month(date_of_birth) = 2 // for datetime field like 978363171 select * from user WHERE MONTH(FROM_UNIXTIME(date_of_birth)) = MONTH(CURDATE()) AND DAY(FROM_UNIXTIME(date_of_birth)) = DAY(CURDATE()) AND date_of_birth !=0