How to compress a folder of .mov files

Made a bunch of .movs using quicktime’s screen recording but they’re a bit big? ffmpeg’s default settings when converting to mp4 is a quick win for i in *.mov; do ffmpeg -i $i $i.mp4; done Name them alphabetically and you can merge them all together: ffmpeg -f concat -i <(printf "file '$PWD/%s'\n" ./*.mp4) -c copy merged.mp4

May 29, 2015 · 1 min · matt

Generating a CMYK file for printing

So you want to print something (like a banner) but the printers have asked for it to be int the CMYK colorspace? Well we could argue about how to spell colour or whether CMYK is a colorspace at all. But I can’t be bothered, let’s just cut and paste this command which is what I came up with after a morning of hacking… convert -resize 9520 -density 300 rgb_input.pdf +profile icm -profile sRGB_IEC61966-2-1_black_scaled.icc -profile SWOP2006_Coated3v2.icc -quality 85 cmyk_output.jpeg Importantly, rgb_input.pdf was exported with scribus using the output mode for screen. ...

May 12, 2015 · 2 min · matt

Dell U2515H and problems with a USB apple keyboard

UPDATE/Short answer: Use the USB extension lead that came with the keyboard! It has better contacts. Does anyone else ever have problems with this combination? They keyboard just goes dead. I use the monitor’s USB hub to connect my keyboard and mouse. I then connect the hub to either my macbook or my linux pc and toggle the video inputs. Sometimes the keyboard just dies. When it’s in the broken state the following things are true: ...

April 8, 2015 · 1 min · matt

Tapiriik not syncing to Dropbox?

My activities hadn’t been syncing to Dropbox for a while (since mid-November 2014). This activity was not synchronized to the following services: Dropbox: There was a problem indexing your activities on Dropbox, so no activities will be uploaded to Dropbox. Everything else was syncing fine (Strava, Endomondo, Garmin). A quick email to the author and everything is solved: If you look in your Dropbox folder there should be a number of files with .tcx.summary-data extensions. Move those out of the folder and it should start working again – this is a rather ancient artefact of a mistake I made in Dropbox sync back in 2013, surprised it kept working as long as it did. ...

March 31, 2015 · 1 min · matt

Hemington 10k 2013 results

Yes, that’s not a typo, these are the results from 2013. I’m just posting them here because I couldn’t find them on the internet. Managed to find a copy in my email though so thought I’d just post them here in case anyone else is interested: Surname First Name Gender Race Category Race Number Finishing Time Position Position within Category Running Club Ryman Paul M M 157 36.48 1 1 Frome RC Sage Rich M M 114 38.56 2 2 Wilkinson Darren M M 187 39.13 3 3 Burns Matt M M 193 39.43 4 4 Southville RC Plunkett-Cole Jim M MS40 365 40.04 5 1 Frome McBeth Mike M MV50 181 40.13 6 1 Southville RC Green Charlotte F F 143 40.39 7 1 Bristol & West Hopes Chris M MV50 176 41.12 8 2 Southville RC Blewitt Dan M MS40 196 41.17 9 2 Somer AC Daniels Nick M MS40 164 41.25 10 3 Chard RR Francis Alex M M 171 41.37 11 5 Frome RC Taylor Neil M MS40 365 41.44 12 4 Jordon-Whittaker Sarah F FS35 170 42.00 13 1 Gillingham Trotters Tilling Oliver M M 124 42.12 14 6 Holborn Joe M MJ 156 42.22 15 1 Somer AC Merrick David M MS40 150 43.23 16 5 Somer Layzell Sarah F FV45 175 43.36 17 1 Canix Smith Andrew M MS40 96 44.38 18 6 Stringer Chris M M 158 45.07 19 7 Frome RC Paine Kevin M M 174 45.16 20 8 Frome RC Pemberton Emma F F 192 46.08 21 2 Williams Jonathon M MS40 137 46.29 22 7 Stockley Jamie M M 186 46.36 23 9 Somer AC Brown Dan M MV50 110 46.53 24 3 TBAC Hails Kate F F 177 47.02 25 3 Run 4 Fitness Dunstan Stacey M M 126 47.10 26 10 Somer AC Thistlewaite Naomi F F 191 47.23 27 4 Southville RC Little Dayton M MV50 101 47.25 28 4 Branston John M MS40 129 47.36 29 8 Court Oliver M M 145 47.40 30 11 Hall Andrea F FS35 179 47.52 31 2 Hooper Katie F F 188 47.56 32 5 Clutterbuck Anna F FS35 113 48.01 33 3 Smith Kevin M M 97 48.09 34 12 Symonds Matthew M M 180 48.52 35 13 Myers Tony M MV50 155 48.56 36 5 Southville Doel Esther F FS35 194 49.12 37 4 Rabbitts Des M MS40 162 49.20 38 9 Somer AC Penny Lauren F F 172 49.52 40 6 Frome RC Graham Cliff M MS40 189 49.52 39 10 Baker Stuart M M 125 50.04 41 14 Clark Sam M MJ 104 50.05 42 2 Phibben Lee M M 167 50.14 43 15 Southville RC Betts Jacqui F FV45 182 50.15 44 2 Taylor Martin M MV50 178 50.18 45 6 Frome RC Hunter Frances F F 160 50.30 46 7 Frome RC Carr Simon M MS40 168 51.26 47 11 Wells City Harriers Ellis Debbie F FV45 169 51.33 48 3 Run 4 Fitness Darville John M MS40 127 51.42 49 12 Corbett Helen F F 159 51.48 50 8 Frome RC Steele Christopher M MV50 173 51.55 51 7 Frome RC Townsend Adam M M 184 52.07 52 16 Pearce Liam M M 141 52.22 53 17 Hunt Tom M MJ 151 52.34 54 3 Lewis Anthony M M 165 52.36 55 18 Mclelland Jon M M 166 52.36 56 19 Riddle Paul M MS40 134 52.40 57 13 Riddle Marc M MV50 153 52.40 58 8 Darville Mary F FS35 128 53.16 59 5 Clark Paul M MV50 106 53.17 60 9 Hedley Claire F FS35 111 53.42 61 6 Hamilton Jen F F 190 53.43 62 9 Southville RC Green Chris M MSV60 95 53.49 63 1 Clark George M MJ 105 54.04 64 4 Probert John M MS40 109 54.26 65 14 Steward Hayley F F 144 54.33 66 10 Yeovil Olympiads AC Andrews Thomas M M 132 54.36 67 20 Avis Trudi F FS35 136 54.44 68 7 Hall David M MSV60 123 54.52 69 2 Longhurst Winnie F FS35 133 55.12 70 8 Evans Emma F FS35 131 55.39 71 9 Frome Box Jon M MS40 107 56.15 72 15 Gaffney Lucy F FS35 183 56.35 73 10 Soccorsy Adam M M 195 56.52 74 21 Wilmshurst Jonathon M M 112 56.56 75 22 Turner Alison F FS35 98 57.57 77 11 Harvey Denise F FV45 102 57.57 76 4 Lloyd Shirley F FV45 161 58.05 78 5 Somer AC Jarrett-Scott Victoria F FS35 100 58.43 79 12 Moore Mark M M 103 59.55 80 23 Lake Jan F FS35 116 60.03 81 13 Frome Caston Leila F FS35 400 60.06 82 14 Riddle Elaine F FV45 152 60.27 83 6 Scailes Julie F FV45 148 60.33 84 7 Martin Abi F FS35 197 60.35 85 15 Whittaker Frances F FS35 130 60.41 86 16 Rabbitts Alison F FV45 163 61.50 87 8 Somer AC Plummer Margaret F FSV55 135 63.51 88 1 Frome Parsons Caroline F FV45 121 66.24 89 9 Hodge Jo F FS35 115 66.50 90 17 Townsend Alan M MSV60 185 67.42 91 3 Sheppard Karen F FV45 149 68.54 92 10 Somer Beauchamp Claire F FS35 122 75.50 93 18 https://docs.google.com/document/d/1KR1viewqzMStm3OgeE22pTOSZ3TfYigarT2uqh7xDkg/edit?usp=sharing

March 23, 2015 · 5 min · matt

Using an SSL certificate on a custom domain with Google App Engine

This post is more a reminder for me. Sorry. Get an SNI certificate from Gandi. And download the certificate It will have a name like: certificate-123456.crt You need to create public and private pem files for google like this: openssl rsa -in cameraforensics.key -text > private.pem openssl x509 -inform PEM -in certificate-123456.crt > public.pem (cameraforensics.key is my private key from when I created the SSL certificate from Gandi) In Google Apps domain manager, upload those files under “Security > show more > SSL for custom domains“: ...

March 4, 2015 · 2 min · matt

Garmin forerunner 620 verses the 205. The Good, the Bad and the Ugly

I previously had the (very popular) forerunner 205 so this review will be based on comparing it to that. I bought the 205 when it came out in 2006 and it’s still going strong. I love tech though so decided to treat myself to an “upgrade”… The Good Wifi and bluetooth data uploading. This is really handy. Saves getting the computer out. The live tracking is also good, but it requires you to take your phone on your run. Dedicated button for showing the current time of day. It’s smaller. The Bad No multisport. If you want to enter a triathlon and have transitions etc. you’ll need a different watch. In fact, this watch was unbelievably released without any cycling mode but that is now available in the latest firmware. No navigation features. So no back to start, or following a route for you. You’ll need a different watch. Fewer data fields. The 205 lets you see 4 fields at once. The Ugly GPS isn’t as accurate! In fact, it’s pretty poor. See (http://fellrnr.com/wiki/GPS_Accuracy) : ...

January 14, 2015 · 2 min · matt

Ugly business practices at Facebook

Facebook have broken its messenger feature into its own app. Lots of people freaked out thinking Facebook wanted to use it to spy on them as it requires excessive permissions etc. In reality, it probably needs all those permissions, I don’t really care about that, privacy died years ago. What bothers me is that people use it instead of emailing me. I strongly prefer email. It’s searchable and owned by me. I know I’m swimming against the tide a bit, but I’m clinging on to email for as long as possible. ...

November 5, 2014 · 1 min · matt

How to access your app engine dev server from another machine

I keep forgetting how to do this so I’m writing it down in the vain hope I may commit it to memory. The problem You want to access your locally running dev server on another machine on your local network or maybe even from a virtual machine. whatevs. The solution Start your dev server with this extra program argument (you can find this under “debug configurations” in eclipse): --address=0.0.0.0 Now remember it you stupid brain. ...

October 10, 2014 · 1 min · matt

Running the 4K AOC U2868PQU and Intel HD4000 graphics…

Ok, I just bought a 4K display, whoop! I knew when I bought it that neither my late-2012 Retina Macbook Pro, or my Ubuntu desktop machine would actually drive the monitor at 4K because they both rely on Intel’s HD4000 graphics which is built into their Ivy bridge CPUs. I did however expect to get at least 2560×1440 (if only at 30Hz) which is fine by me, and then I’m ready when I next upgrade… ...

September 30, 2014 · 2 min · matt