Category Archives: computing

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

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

Responsive Notes

Twitter Bootstrap Рresponsive framework.

Posted in computing, web development | Leave a comment

Mobile web dev

Viewports: CSS: Place before any media queries. @viewport { width: 480px; zoom: 1; } Meta tag (better support): <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″>

Posted in computing, web development | Leave a comment

Batteries

Lithium-ion: – Avoid complete discharge – Store/re-charge at 50%

Posted in computing | Leave a comment

FTP Notes

Proftpd connections: ftptop – show current connections in realtime in a ‘top’ like format ftpwho – list current connections Restart Proftpd¬†(Parallels Plesk/Cent OS): /etc/init.d/xinetd restart Active vs Passive FTP: A good article on this subject can be found here. MS-DOS … Continue reading

Posted in computing, linux, windows | Leave a comment