Author Archives: admin

PHP RFC3339 date for Google Calendar API

$date = new DateTime(); echo $date->format(DATE_RFC3339);

Posted in computing, php | Leave a comment

PHP Find end of the month/last day of month

<?php echo date(“t-m-Y”); ?> The ‘t’ option of date returns the number of days in the month.

Posted in computing, php, web development | Leave a comment

Windows XP fix firewall that cannot be displayed

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 … Continue reading

Posted in computing, windows, windows xp | Leave a comment

Pi – Convert Raw H264 Video Data To MP4

sudo apt-get update sudo apt-get install -y gpac MP4Box -fps 30 -add myvid.h264 myvid.mp4

Posted in raspberry pi | Leave a comment

Raspberry Pi Notes

Install FTP client: sudo apt-get install ftp

Posted in computing, raspberry pi, Uncategorized | Leave a comment

Set time zone Raspberry Pi

sudo dpkg-reconfigure tzdata

Posted in computing, raspberry pi | Leave a comment

Unbrick Netgear Router

http://kb.netgear.com/app/answers/detail/a_id/18989/kw/wndr4500%20corrupted%20firmware%20recovery%20tool%20lost%20cd

Posted in computing | Leave a comment

HTTP Compression

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  

Posted in linux, web development | Leave a comment

RTM

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 … Continue reading

Posted in sailing, Uncategorized | Leave a comment

Responsive Notes

Twitter Bootstrap Рresponsive framework.

Posted in computing, web development | Leave a comment