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 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: 5.60.180.11) 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:

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

Mac safe boot

Hold down shift key after startup tone.

Posted in apple, computing | Leave a comment

Apache reset/delete logs

http://httpd.apache.org/docs/1.3/misc/howto.html#logreset

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 httpd.pid`

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

(httpd.pid is in /var/run on plesk)

Posted in computing, linux | Leave a comment

WordPress

Posted in computing | Leave a comment

Low Power PCs

Low power PCs:

Posted in computing | Leave a comment