I use Git every day. I’m pretty comfortable using it from the command line, but there’s a lot of advanced things that I just can’t remember how to do off the top of my head. There’s also a lot of command sequences that I type over and over. I recently came across the Git Extras project that provides a lot of useful plugins for Git that make using it a little less tedious.
I recently updated Docker on my Mac and began getting errors that it was not able to start the daemon: com.docker.osx.hyperkit.linux failed to start Exit code 1 I tried uninstalling and re-installing, to no avail. After doing a little searching, I came across an issue on the Docker Github repo with some tips. The short fix is: rm ~/Library/Containers/com.docker.docker/Data/com.docker.driver.amd64-linux/Docker.qcow2 Hope this helps someone.
I bought an HP EX485 MediaSmart Server years ago. I was working at Microsoft at the time and it ran Windows Home Server, so I thought I should support the home team and try it out. It worked well for storing photos, home videos, etc. When the next version of Windows Home Server was released, I upgraded. Eventually I left Microsoft and Microsoft stopped supporting Home Server. I’ve always been somewhat of a Linux enthusiast, so I figured installing Linux on it would be a good way to get back into Linux again.
I use Hugo to create and build this website and run it in a Docker container. I was managing it all manually and wanted to make it more automatic. My last platform was Ghost and I really liked that I could post with minimal effort and fuss. When I dicovered that the free hosted Gitlab supports builds, I decided to move my private git repos over to Gitlab. Gitlab offers the ability to import projects directly from other git hosts, so it was pretty easy to move from Bitbucket.
*Updated Sep 15, 2015 I’ve been using OS X for about a year and a half now. When I bought my MacBook I was switching from Windows because I wasn’t really happy with Windows 8 and I have always used some sort of Linux or BSD off and on in the past. I figured if I really missed it, I could always switch back to Windows or at least dual boot.
I’ve updated my Linux setup script. It now installs Go 1.5 and adds vim-jade. I’ve been using Jade for a while instead of writing plain HTML. I find it much easier to read.
Having problems getting your media keys working with Google Music in Chrome? The first thing to check is in Settings » Extensions and then scroll to the bottom of the page, then click on Keyboard Shortcuts. If the media keys are already enabled, but not working, there is one other thing to check. If you are running Windows, uninstalling the Microsoft Mouse and Keyboard Center software should get it working. It may not be an option for you if you need some feature that it supports for your mouse or keyboard, but it worked for me and I don’t really need it.
I find myself setting up Linux VMs quite often and I always dread getting my environment set up how I want it. Yesterday, I installed Linux on my Macbook and decided it was time to automate as much as possible. I had some notes that I was using to make sure I didn’t miss anything when I did it manually, so I used that to build a script. I saved it on Github so others could benefit from it as well.
I’ve been doing some Go programming lately and I ran across the Hugo project while searching for something. It’s kind of like Jekyl but written in Go. I looked around a little more and I found a Go program to convert Ghost content to Hugo content. I ended up submitting a pull request because it was writing out some junk in the front matter of the posts. I think maybe it was written against a previous version of Ghost.
UFW is Uncomplicated Firewall. It’s an easy way to setup iptables firewall rules on your Linux system. If it’s not already installed, it can be installed on Debian-based systems (like Ubuntu) like this: sudo apt-get install ufw Check the status of current firewall rules. sudo ufw status Here’s the output on one of my systems: Status: active To Action From -- ------ ---- 22 ALLOW Anywhere 80 ALLOW Anywhere 10000/tcp ALLOW Anywhere 443/tcp ALLOW Anywhere 22 (v6) ALLOW Anywhere (v6) 80 (v6) ALLOW Anywhere (v6) 10000/tcp (v6) ALLOW Anywhere (v6) 443/tcp (v6) ALLOW Anywhere (v6) If you haven’t set it up before, you won’t see all those rules.