Posted: 2018-11-27
Transcoding with MKV and ffmpeg

Update: I should have checked the plex support site to start with - this is already documented on this support article . However - I did get to learn a fair bit more about how ffmpeg command line…

Posted: 2018-11-14
Gatsby site migration - follow up

So - the migtation started a few days ago is now more or less complete. This has been applied on two blogs https://www.chrissearle.org - this site - mostly tech https://www.searle.me.uk - personal…

Posted: 2018-10-11
Update this blog's engine from middlemanapp to gatsby

This site has for a long time been generated using the middlemanapp site generator. I've always found it to be slightly awkward - especially when it's time to update dependencies - since it's ruby…

Posted: 2018-09-26
Pocket money with the S'banken API

S'banken has support for giving a child/teenager a card connected to a bank account in the parent's customer account. They also have an android app which allows the child to see their details without…

Posted: 2018-09-21
UFW with Docker

Having recently moved a server from one machine to another - I wanted a simpler firewall to deal with than directly playing with iptables. So I googled, found and installed UFW - I'm using debian so I…

Posted: 2018-05-31
Find process on port for OSX with lsof

It's often quite useful to know what running process is holding a port open. Doing this on linux has long been an easy case of running netstat with the -p option which shows the PID and name for each…

Posted: 2016-10-01
Too many open files on OSX/macOS

I use my macs for development. That means that there's a lot of things running and I usually have a lot of heavy apps open. So I quite often hit the error "Too many open files". On linux - this is…

Posted: 2016-09-11
Docker for mac eating disk space

I've recently been struggling with my mac laptop not having any disk space left. Each time I've deleted whatever large files I had in Download or any other out of date stuff - thinking that I was just…

Posted: 2016-03-09
Migrating to chruby

Migration Up until recently I have been using rbenv as my ruby install manager (along with ruby-build ). I switched to this a long time back from rvm - with rvm I was having a number of issues…

Posted: 2016-02-08
Connecting to heroku postgres with DataGrip (and other jetbrains apps)

DataGrip (and the other jetbrains apps) were refusing to connect to heroku postgresql databases even though the connection was correct. Turns out that you must have SSL enabled but can't validate the…

Posted: 2016-02-05
iOS Game Center blank screen/settings hang

I occasionally see that games using game center for data sync etc stop being able to log in. If I head to the settings app > game center - it can't open the page for the game center settings. This was…

Posted: 2016-01-11
Upgrading homebrew postgres

Homebrew postgresql updated from 9.4.x to 9.5.x today. This meant that after update it wouldn't start because the database needed upgrading. I started with this article - which in summary would be…

Posted: 2015-10-30
Cisco SB SG200-08 Gigabit Smart Switch

One of my switches died recently - an 8 port unmanaged gigabit switch. I thought that this time I'd get one that supports link aggregation (the synology NAS behind it could use it) and settled for…

Posted: 2015-06-16
Replacing denyhosts with fail2ban for debian

Preparing for migration from debian wheezy to debian jessie and one of the packages I use is no longer supported. Denyhosts is something that I used to block incoming ssh attacks (it adds IP addresses…

Posted: 2015-01-29
Switching java version on mac

Can't remember where I picked this up - but some handy aliases I use for setting java version (given that you have the required version installed): This handles picking the right version (1.6 from…

Posted: 2015-01-01
Wipe a fusion drive

Background So - my iMac was misbehaving recently and diskutil stated that the disk needed repair. This is not usually so big an issue - boot to recovery - start diskutil and repair. However - this…

Posted: 2014-10-21
Replace ssmtp with postfix null client

I've been using ssmtp to provide outgoing mail to two machines. This provides a simple way to send mail out using gmail without having to have a running mail server. It had the restriction that you…

Posted: 2014-09-30
sSMTP and Gmail - authentication suddenly failing

I've been running sSMTP as my mailer daemon for a long time using my google apps domain as mail server. The config for this was pretty simple - /etc/ssmtp/ssmtp.conf: This has been working fine…

Posted: 2014-07-27
Chrome - prevent custom print dialog on OSX

I dislike Chrome's custom print dialog - I always end up clicking the use system print dialog button. This kills Chrome's custom print dialog I'm guessing (haven't tried) that you can reset with one…

Posted: 2014-06-23
Adobe - unable to open raw files

Some chat with @AdobeCare - see this update to the post. Still not solved though This is an issue I've been having since my previous iMac and Lightroom4/Photoshop CS5. Photoshop simply can't open…