Mobile web dev



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


– 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 Ftp command Passive Mode:

To set passive mode type:

quote pasv
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: also appears to have a memory leak (this version appears to leak faster than v1.2).

(System: Windows XP 32-bit, Pentium 4)

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:–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

Mac safe boot

Hold down shift key after startup tone.

Posted in apple, computing | Leave a comment

Apache reset/delete logs

The correct procedure is to move the logfile, then signal Apache to tell it to reopen the logfiles.

Apache is signaled using the SIGHUP (-1) signal. e.g.

mv access_log access_log.old
kill -1 `cat`

Note: is a file containing the process id of the Apache httpd daemon, Apache saves this in the same directory as the log files.

( is in /var/run on plesk)

Posted in computing, linux | Leave a comment


Posted in computing | Leave a comment