Category Archives: Computing
Pi – Convert Raw H264 Video Data To MP4
sudo apt-get update sudo apt-get install -y gpac MP4Box -fps 30 -add myvid.h264 myvid.mp4
Raspberry Pi – Install FTP
Install FTP client: sudo apt-get install ftp
Set time zone Raspberry Pi
sudo dpkg-reconfigure tzdata
Unbrick Netgear Router
http://kb.netgear.com/app/answers/detail/a_id/18989/kw/wndr4500%20corrupted%20firmware%20recovery%20tool%20lost%20cd
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
Responsive Notes
Twitter Bootstrap – responsive framework.
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″>
Batteries
Lithium-ion: – Avoid complete discharge – Store/re-charge at 50%
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
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