Category Archives: Computing
Windows XP fix firewall that cannot be displayed
Error message: “Windows firewall settings can not be displayed because the associated service is not running. Do you want to start windows firewall/internet connection sharing service?” Issues with a corrupted firewall can sometimes be fixed by rebuilding the Windows Management … Continue reading
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