Manage multiple GOPATH dirs with ease

Thu, Feb 5, 2015

Usually I have only one GOPATH in my machine and thats most Gophers out there recommend. However, sometimes we just need to work on different projects with different versions of the same dependency, and it is out of question to update them. We just don’t want to break something that is working, or mess with it. The quick solution is to point GOPATH to somewhere else, but everytime we have to swap the project we are working on, we need to change it again.

Go-OTP

Thu, Nov 20, 2014

Package go-otp implements one-time-password generators used in 2-factor authentication systems like RSA-tokens. Currently this supports both HOTP (RFC-4226) and TOTP (RFC-6238). Github Documentation

MySQL Super Dump

Sat, Aug 10, 2013

The following text is fiction based on a true story, but it can happen with lots of development teams over the world: Once upon a time there was a development team that liked to use dumps from the production database in their development environments to have the same content and behavior of the production system in their machines. To avoid security problems, the system administrator created a script to dump the production database, import in a temporary database, then replace all sensitive data, like salts, passwords, customer names, emails, etc, for fake data, then export a dump of this temporary database to a file that is the dump developers would use.

ImageMagick bindings for Go

Sat, Aug 10, 2013

A few months ago I’ve spent some days developing my first cgo binding and the chosen library was ImageMagick’s MagickWand. It was an interesting experience. It’s relatively very easy to do such thing in Go. I’m still not using this binding in production and I hope someone can try it. I took care to port some examples from C to Go also, so that should be easier to start using it.