<?php echo date("t-m-Y"); ?>
The ‘t’ option of date returns the number of days in the month.
<?php echo date("t-m-Y"); ?>
The ‘t’ option of date returns the number of days in the month.
Error message:
“Windows firewall settings can not be displayed because the associated service is not running. Do you want to start windows firewall/internet connection sharing service?”
Issues with a corrupted firewall can sometimes be fixed by rebuilding the Windows Management Instrumentation (WMI).
On Windows XP (at least SP2), open cmd and type:
rundll32 wbemupgd, UpgradeRepository
More info here:
http://smallvoid.com/article/winnt-wmi-config.html
sudo apt-get update sudo apt-get install -y gpac
MP4Box -fps 30 -add myvid.h264 myvid.mp4
Install FTP client:
sudo apt-get install ftp
sudo dpkg-reconfigure tzdata
Test if a site has compression enabled:
http://www.whatsmyip.org/http-compression-test/
Enable compression by adding the following line to .htaccess:
AddOutputFilterByType DEFLATE text/html text/css text/plain text/xml application/x-javascript
Optimum Time Sailing Watch (OS Series 1):
To set the time: press MODE to display the time, hold down CLEAR for two seconds. Press the PROG key to change the hour. (To change from 12 to 24 hour mode press START/STOP). Once hour is correct, press MODE to set minutes, then press MODE again to set month. Press CLEAR to exit/finalise.
CSS:
Place before any media queries.
@viewport { width: 480px; zoom: 1; }
<meta name="viewport" content="width=320"> <meta name="viewport" content="width=device-width"> <meta name="viewport" content="width=320,initial-scale=1"> // Set zoom to full size <meta name="viewport" content="initial-scale=1">