Author Archives: JB

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

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

iPhone turn off auto text resize (html/css)

To stop an iPhone from automatically resizing text on a webpage use: html { -webkit-text-size-adjust: none; }

Posted in apple, web development | Leave a comment

Memory leak Netgear WNDA3100v2 USB Wifi adapter

Version 1.2 of the Windows XP driver has a memory leak – the solution is to upgrade the driver to a later version of the driver. Version 1.3 (driver date: 05/11/2009, driver version: 5.60.180.11) also appears to have a memory … Continue reading

Posted in computing, windows | Leave a comment

SRV 2019 Error (The server was unable to allocate from the system NonPaged pool because the pool was empty)

An excellent article on troubleshooting this error can be found here: http://blogs.msdn.com/b/ntdebugging/archive/2006/12/18/understanding-pool-consumption-and-event-id_3a00_–2020-or-2019.aspx

Posted in computing, windows | Leave a comment

Featured image missing WordPress

Add to a theme’s functions.php file: // add featured image support add_theme_support( ‘post-thumbnails’ );

Posted in wordpress | Leave a comment