November 29, 2017

Running Pi-Hole inside Docker on Synology

When I first wrote about installing Pi-Hole inside Docker on my Synology NAS I came up with a solution that required a little modification to the standard DSM (see: Freeing up port 80 on Synology DSM). Whilst this worked I was never completely happy with this approach as I never want to modify system files as you can never be sure. After a little work and a few updates to the Pi-Hole docker image I feel this is now possible without modification. ... Read more

February 4, 2017

Freeing up port 80 on Synology DSM

I recently purchased a new NAS for my home network. My reliable ReadyNAS has been working flawlessly for the past 6 years and still going strong (if a little slow). As I really wanted a NAS that would support docker containers I was drawn to the DS916+. So far everything has been easy to configure, launching docker containers a breeze and has generally been a great experience; apart from 1 little thing. ... Read more

January 1, 2014

Configuring your Haskell environment

My love of functional programming has been getting stronger over the past year so I decided to attend Well-Typed Haskell courses at Skills Matters1. As I’m a huge fan of JetBrains IntelliJ IDE I found using Haskell a little lacking in this area (unless you can be online with FP Complete.) In this article I will explain how I configured my Haskell development environment using Sublime Text 3 and a few extras. ... Read more

December 31, 2013

Installing Homebrew on OSX Mavericks

I choose to install all my applications via Homebrew. It’s easy to install, easy to update, works well for me and has all the required packages including everything required for Haskell. Installing Homebrew is as easy as running the following command in terminal[^brew]: $ ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" You will be required to enter your administrator password and might be asked to install Apples Xcode developer tools and also Git versioning tool. ... Read more

September 16, 2012

Backing up and restoring a ReadyNAS Ultra

I’ve had my ReadyNAS drop of the network a couple of times, and lately has been warning me about errors on my disk 2 so I thought it was a good idea to replace that drive. Due to the few network issues I’ve had I decided that taking the opportunity to restore the ReadyNAS was a good idea (I had messed with it quite a bit before.) As I have just under 3TB used my new replacement drive would be 3TB so that I could use it for backup / restore and then as a replacement to the failing 2TB drive. ... Read more

August 15, 2012

Grouping collections in Java

Recently I came across some code that was iterating over collections in order to group them by certain fields. This code was repeated a few times as it was grouping more than once. To me this seemed very verbose and a little hard to understand. As Guava was the available library and one that does not include any grouping I decided to have a go myself. The iterative approach Map<Character, List<String>> group = newHashMap(); List<String> strings = asList("one", "two", "three", "four"); for (String string : strings) { Character firstCharacter = string. ... Read more

August 11, 2012

Fixing corrupted time machine backups

Yesterday my MacBook Air decided that it no longer trusted my Time Machine backup and wanted to create a new one. Apart from the time this would take (20gb over WiFi) and the fact that I’d lose my current history I was a little bit wary so declined. Unfortunately this was not a the last I heard of it. Time Machine refused to back up until I started a new back up. ... Read more

August 2, 2012

Publishing from the iCloud

I’ve recently been using IA Writer as my markdown editor. I love the fact that I can use any of my iDevices and that it’s all synced in the iCloud. But how do I access the iCloud data so that I can include it in my Octopress git repository? Show me the data On Mountain Lion (and Lion I believe) all the iCloud data is hidden away in your home directory. ... Read more

© Tony Lawrence 2017 - Waffly Bollocks