Wales Trip

I’ve booked flights for a weekend in Cardiff. It should be fun. I spent around six years living, studying abs working on Wales, so I’m excited about going back and seeing old friends. And the flight is from the airport near my house, which is handy. My plans are to visit Treforest, the town where I went to university, hang out with my friends in Cardiff and the maybe pop over to Bristol for a bit.

Dodging the bullet

Maybe separating myself from the Latin American culture isn’t such a bad thing. The things people from those places do are wild. I could tell some scary things about the peiple and things I experienced in Honduras and some of the crazy schemes that people carried out. I don’t think all Latinos are bad, just that many of them have a very different set of ethical standards that what we are used to here.

Truth is…

The truth is a wonderful thing. They say that truth sets you free. That’s very true, because it tells you what is correct and what isn’t. It removes any doubt and allows you to make decisions based on fact. Even when the truth is difficult to accept, it gives a sense of clarity that you cannot have if your are surrounded by lies. Being truthful also gives you integrity and shows that you know how to manage your life in a sensible way. I put a lot of value in truth and try to distance myself from people who are economical with the truth. I prefer to let someone else deal with dishonest people.


Now that every month I have approx £115 extra to spend each month due to not paying rent in Honduras I have been a bit more relaxed with my spending. This month I’m thinking about treating myself to a new bike. I’ll mainly use it on Saturdays and Sundays on greenways rather than on roads. The nice thing about having a car is that I can take it to nice places that are safe to ride. With the spring coming it will definitely be a worthwhile purchase.

My car insurance costs are also due to go down which is nice.

Valentines Day was nice for me. I did get asked out and received nice messages from some female friends, but I decided to put up some boundaries and keep the latter part of the evening to myself. It was peaceful which was exactly what I needed. I have a feeling that I’m going to start dating again in the next month or so. I have been getting out a lot more and meeting a lot of new people over the last month, which I think could lead to something. Hopefully this time the person will be honest.


We went to see the Alita movie yesterday. I’m not usually into CGI in films but this one was pretty good. It’s early days still, but this is probably the best movie I’ve seen at the cinema so far this year.

4 Stars

There was a bit of violence and bad language though, so probably not one for kids.

Getting VMWare and VirtualBox to support 64 Bit Guests on Windows 10 & 7

In work we realised that our desktop machines would not let us install 64 bit guests as virtual machines in Vmware Workstation or Oracle Virtual Box. We tried all the usual stuff like enabling virtualisation in the bios, reinstalling applications etc. In the end it turned out to be a conflict with Hyper-V. Going into add/remove features and disabling Hyper-V fixed the problem. So, if you’re having trouble creating a 64 bit VM, have a look at that.

How to install Icecast2 with a Letsencrypt SSL Cert on Ubuntu

Long story short, I upgraded my server from 32 bit to 64 bit.  This broke my Shoutcast radio stations because the binaries are 32 bit. Instead of getting 64 bit Shoutcast binaries I decided to switch to Icecast2, a more open source solution.

It was a bit tricky to get SSL working with icecast and the documentation online is pretty bad, so without futher ado I will go through the steps I took to get it working on Ubuntu. You might be able to use this info other other distros too. I’m going to focus on the parts specifically relating to SSL. You’ll need to look elsewhere to find out how to setup up ezstream or ices to actually stream the music to your icecast server.

Install the necessary dependencies. Important that you do this first or the SSL wont work and you’ll have to start again:


On Ubuntu 18.04
sudo apt-get install autoconf autotools-dev automake libtool libxml2-dev libssl-dev libvorbis-dev libcurl4-gnutls-dev libxslt-dev libspeex-dev openssl

sudo sh -c "echo deb ./ >>/etc/apt/sources.list.d/icecast.list"
(for other distros try

wget -qO - | sudo apt-key add -

sudo apt-get update

Install Icecast. Really important that you set the version as below. A lot of other versions, including the one in the Ubuntu repositories don't support SSL well:
 sudo apt install icecast2=2.4.2-2

Get your letsencrypt cert.pem and privkey.pem and combine them into one icecast.pem (which needs to be readable by the icecast2 user)

The format of the pem you create should be as so:
your key info
certificate info

It's really important that you get that right

Now edit the config file for icecast:
sudo nano /etc/icecast2/icecast.xml

Enable the ssl parts by uncommenting the following parts and make sure you set the ssl certificate to the icecast.pem you just created: 


(make sure the above points to whereever you put the pem file that you created)
sudo service icecast2 restart


That should do it.  See other tutorials elsewhere for configuring ezstream or ices.


I got myself a “New” Desktop

After two years back  in Belfast I’ve finally decided to get a new computer. My old desktop is over 8 years old, the fan makes a terrible noise and it runs about as fast as a three legged dog. I don’t have high requirements, but I do like my computers to be usable.

So what did I get?

The Thinkcentre M93p Tiny
i5 cpu
16gb RAM
SSD drive
2 Displayport
5USB (inc several USB3)

Not the highest spec in the world, but it does what I need well enough and is much more responsive than the old desktop

Image result for m93 tiny

And yes, it really is tiny.  My main reason for going for this form factor is that it’s easier to transport than a full sized desktop and is still more powerful than my old desktop. Cost was a factor too as I don’t like to break the bank when buying computers.

The other computers I was looking at were a bit smaller, but it started getting costly when it came to ones with better processors.

This enables me to do programming from home using Visual Studio and Android Studio which for me is exciting because I can get back to writing Windows and Android apps.

I’ll keep on posting cool stuff that I find online, but hopefully this will allow be to be more creative in posting my own content.



Control Your Android Device in Ubuntu With ScrCpy

I really like scrcpy on Windows. It lets you control your android device from your computer like teamviewer or vnc. The development site for scrcpy has some pre-compiled Windows zips so it was easy to get running. On Ubuntu it was a bit more tricky. The source is available, but not all Ubuntu users are programmers and compiling it takes a bit of work.

I’ve made a package that allows your to easily install it. https://johñ.com/files/scrcpy_1.3~git20180820-2.2_amd64.deb

  1. Download and Install this deb installer using your favourite package manager
  2. Start scrcpy in terminal by typing scrcpy
  3. If it tells you it can’t find the server jar then you should be able to find it in /usr/share/scrcpy and put it into the correct location. You may need to use sudo to write to the necessary folders.

If you cannot find that server jar file then I’ve kindly provided a download which you can copy to the necessary location:

On your device itself you will need to have the following enabled:

  • Developer mode enabled
  • usb debugging
  • Simulate input.

Simulate input is necessary if you want your mouse clicks to actually work on the device.

Any questions throw me a comment.

I started a thread about this on Ubuntu Forums

The official site for the Scrcpy project is at