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 Notes

Install FTP client:
sudo apt-get install ftp

Posted in computing, raspberry pi, Uncategorized | Leave a comment

Set time zone Raspberry Pi

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

Unbrick Netgear Router


Posted in computing | Leave a comment

HTTP Compression

Test if a site has compression enabled:


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


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



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


– 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