Author Archives: JB

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 Computer Gremlins, 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 – Install FTP

Install FTP client: sudo apt-get install ftp

Posted in Computing, Raspberry Pi | 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 Computer Gremlins, 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 | Leave a comment

Responsive Notes

Twitter Bootstrap – responsive framework.

Posted in Computing, web development | Leave a comment