Inject values into your golang binary at build time

comments suggest edit

I recently discovered that you can update the value of a string variable inside your golang code via compiler flags. This is very useful for scenarios where you want to set a value based on an external process, but you don’t want to let your users change it. We run into that issue recently when we wanted to add a version command to a binary we were building.

Read More

Develop Helm applications directly in your Kubernetes cluster

comments suggest edit

This post was originally published here.

Read More

Build a stride bot in seconds with glitch

comments suggest edit

After a few months on beta, Stride’s developer API is finally open to the world. Since I work at Atlassian, I’ve had access to it for a while, but I was still curious to see how it had changed since the early days.

Read More

Change email in your commit history

comments suggest edit

The other night I realized that I had being commiting to one of my personal open source projects using an email that I no longer use. I had being doing this for a while without noticing, until I enabled gpg signing on my github repos. At that point, github realized that the email I had configured on git didn’t match the key it was expected, and didn’t let me commit anymore. It took me some time to figure out what was going on, until I looked at my local git history and realized that I had the old email (facepalm).

Read More

Automate your lights with openHAB and Alexa

comments suggest edit

I’m a huge fan of Amazon Echo (aka Alexa). I bought my first one in the early days of the dev preview, and have been using it daily ever since. Keeping track of my shopping and to-do lists, setting up timers while cooking, playing music around the house, you name it. I like it so much that I even bought an extra dot for the bedroom. Can’t recommend it enough.

Read More