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 Instrumentation (WMI).

On Windows XP (at least SP2), open cmd and type:

rundll32 wbemupgd, UpgradeRepository

More info here:
http://smallvoid.com/article/winnt-wmi-config.html 

Posted in computing, windows, windows xp | Leave a comment

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
Posted in raspberry pi | Leave a comment

Raspberry Pi – Install FTP

Install FTP client:
sudo apt-get install ftp

Posted in computing, raspberry pi | Leave a comment

Set time zone Raspberry Pi

sudo dpkg-reconfigure tzdata
Posted in computing, raspberry pi | Leave a comment

Unbrick Netgear Router

http://kb.netgear.com/app/answers/detail/a_id/18989/kw/wndr4500%20corrupted%20firmware%20recovery%20tool%20lost%20cd

Posted in computing | Leave a comment

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

 

Posted in linux, web development | Leave a comment

RTM

Optimum Time Sailing Watch (OS Series 1):
To set the time: press MODE to display the time, hold down CLEAR for two seconds. Press the PROG key to change the hour. (To change from 12 to 24 hour mode  press START/STOP). Once hour is correct, press MODE to set minutes, then press MODE again to set month. Press CLEAR to exit/finalise.

Posted in sailing, Uncategorized | Leave a comment

Responsive Notes

Posted in computing, web development | Leave a comment

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">
Posted in computing, web development | Leave a comment

Batteries

Lithium-ion:
– Avoid complete discharge
– Store/re-charge at 50%

Posted in computing | Leave a comment