Lithium-ion:
– Avoid complete discharge
– Store/re-charge at 50%
Batteries
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
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; }
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)
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:
Featured image missing WordPress
Add to a theme’s functions.php file:
// add featured image support add_theme_support( 'post-thumbnails' );
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)
Low Power PCs
Low power PCs:
- Tiny Green PC
- Raspberry Pi – approx 2 – 3.5 watts
- Aleutia – approx 10 watts
- Intel NUC – approx 11 watts
- LIVA Mini PC – approx 15 watts
- Asus Eee Box – idle approx. 20w, running approx. 22.7 – 27.1 watt
- Mac mini – idle approx 11w, max 85w
- Shuttle PC – very small form factor PCs.