Adam K Dean

Posts

boot2docker DNS not working

Published 4 August 2014 in archive with tags docker , boot2docker , osx If you're using Docker on OSX, then you'll be using a VM to run your Docker service on, as it needs Linux, not Unix. The most popular of these seems to be boot2docker, though dvm also seems to be quite popular. Other solutions are available. Continue reading …

Remove branch from remote git repo

Published 4 August 2014 in archive with tags git To remove a branch from a remote git repository, you have to push an empty branch. Continue reading …

RegEx match all words with a prefix

Published 17 July 2014 in archive with tags javascript , regex Here is a snippet to match all words that begin with a specified prefix. Continue reading …

Count occurrences with grep

Published 4 July 2014 in archive with tags grep , bash Today I learnt that grep has a '-c' switch that counts occurrences. I'll never pipe it to 'wc -l' again! Continue reading …

Fleetctl destroy all services

Published 3 July 2014 in archive with tags bash , fleet , coreos , fleetctl Here is a nice little bash trick to destroy all services using fleetctl. Continue reading …



Newer Page 14 of 42 Older