Switching to QNAP

Backup, backup, backup. Then verify your backups. Its what separates the noobs from the seasoned professionals. Seriously. My Time Capsulehas served me well with two MacBooks in my household. Backups just happen automatically, and on the one occasion where I had to do a restore…it worked flawlessly. Even the desktop icons were in the same spot! [tangent: this isn’t very impressive from a programming point-of-view but the desktop is the first thing users see, so well done Apple.

Continue reading

bash -> zsh -> fish

I love bash. It has served me well and is an essential component of av as we discussed in a previous post. A couple of years ago, I got very annoyed in the lack of case-insensitive tab completion. Lets take this simple example: So bash here isn’t going to complete to ‘Picture’ because its case-sensitive. So, enter zsh. It offers case-insensitive tab completion and with oh-my-zsh a host of other awesomeness.

Continue reading

Pakke and Unpakke

I’m sure five times a day, you download some code in some form of compressed file format. Could be a .zip, or a .tar.bz2 or a .tar.gz, maybe its even a .7z. For me, its almost everyday and the mental logic goes like this: 1) Downloaded some file off the Internet 2) ‘ls -al’ 3) Looks like a zip, so I’ll use ‘unzip’ And then if it happens to be a .

Continue reading

So Docker for Mac is out of Beta. If you haven’t switched, I suggest you do. But getting rid of your boot2docker, docker-machine, brew installed docker client, etc… it’s a bit tricky. Most of this info came from therealmarv.com’s post. Here is a condensed set of steps to remove almost everything: # Remove applications sudo rm -rf /Applications/boot2docker sudo rm -rf /Applications/Docker # Uninstall brew stuff brew uninstall docker boot2docker # Make sure to get rid of executables sudo rm -f /usr/local/bin/docker sudo rm -f /usr/local/bin/boot2docker sudo rm -f /usr/local/bin/docker-machine sudo rm -r /usr/local/bin/docker-machine-driver* sudo rm -f /usr/local/bin/docker-compose # Remove boot2docker VBox image sudo rm -rf /usr/local/share/boot2docker # Remove docker packages sudo pkgutil --forget io.

Continue reading

My pfSense router upgrade did not go so well… Diagnostics My pfSense router stopped working. No Internet, no DHCP, no nothing. A simple reboot failed to resolve the problem. And no, I did not try restarting three times. A USB-to-RS232 adapter is worth its weight in gold. Has been that way for years. If you don’t already have one with a null modem cable, I suggest you get one in a hurry.

Continue reading

Surprisingly, there are a few steps to get started on AWS CodeCommit…from a fresh OSX laptop. After bouncing around the AWS documentation…here are the steps. Install brew /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" install python and pip and aws cli brew install python git sudo easy_install pip sudo pip install awscli Configure your keys — use region: us-east-1, format: json aws configure 4. Setup git to use the credential helper

Continue reading

Wanted to show more of the magic that’s going on behind the scenes in Cassandra in a Container on OSX. The domain specific shell here is doing a bit of remembering for you: 1. It is remembering the location of containers in your project directory 2. Finding DockerFiles recursively within that directory and makes them avail. with choose 3. When the container is “run”, av remembers the container-id that was started

Continue reading

Author's picture

OttoII

yet another blog for nerds

Software Engineer

USA