Posts
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 …
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 …
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 …
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 …
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 …