10. November 2015
Restricting post-deployment tasks to certain roles using capistrano
If you need to only run some tasks on a certain subset of servers in your inventory, first add a role to your inventory file deploy/whatever-environment.rb:
Ocassional Notes
10. November 2015
If you need to only run some tasks on a certain subset of servers in your inventory, first add a role to your inventory file deploy/whatever-environment.rb:
11. October 2015
I was playing around with the esoteric programming language brainfuck. I found that it was pretty time consuming writing out strings of text using only increments and decrements of the data pointer.
So I decided to write a bf string maker in go. Code generation is pretty important in go, so it is fun to generate code for another language using go.
27. September 2015
Watch me discuss how a search engine works.
04. September 2015
I’ve posted a random password generator I’ve written to github. The impetus for this was me accidentally posting one of my passwords in an open chat channel at work. I decided it was time to change my password.
18. July 2015
Here’s a talk I gave at work.
08. July 2015
The goal of stemming is to reduce derived forms of a word to something that could be a root form. For example a possible stem of “lighting” or “lighted” is “light”. This is generally done by applying a list of fairly simple rules to a word, possibly recursively, until the algorithm is done and a root form is returned.
04. June 2015
I’m using Gin Gonic on a project I’m working on at work these days. I was in a bit of a pickle where I had to specify a response body that I already had as a string, but I needed to put the correct content type header on the response (meaning I couldn’t use the built in .String or .JSON methods.