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.

Linux e Notebooks Samsung

23/11/2014

Linux e Notebooks já deixaram de ser uma dicotomia, mas alguns problemas ainda surgem em pleno 2014. Fabricantes de hardware não param de inovar e ao mesmo tempo a comunidade nem sempre consegue todas as informações necessárias para implementar os drivers e módulos para o novo hardware no Kernel.

Do Mac para o Linux

22/11/2014

Eu voltei do mundo Mac para o mundo Linux no início de 2013 quando meu velho Macbook Pro 2008 começou a ficar ultrapassado. Lembro de passar uns maus bocados tentando abrir as fotos que estava tirando com minha câmera digital nele.

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.

Eclipse theme under Ubuntu

Sat, Oct 29, 2011

Looks like there are a lot of complaints about Eclipse look-and-feel under Ubuntu Unity (10.10 and 11.04). The main problem is that there are a few inconsistencies with default Eclipse coloring and Ubuntu system colors. Some interface objects have low color contrast, like tooltips and selection lists. I’ve found a few solutions on the web to this problem, but none solved the whole problem. Some suggested to edit a file and force a color only to tooltips but this is counter-productive because tooltips are not the only object with color problems in this situation.

Dicas de seguranca para usuários Windows

09/02/2011

Como a grande maioria dos geeks de computador, eu tenho alguns amigos e familiares que são leigos na maioria dos assuntos relacionados ao dito PC e estes sempre possuem aquele medo de pegar alguma virose digital. Foi então que uma amiga me pediu uma recomendação de um bom antivírus para ela utilizar.

Extraíndo arquivos de um RPM

03/01/2011

Já me deparei com situações em que precisava de algum arquivo existente dentro de um RPM mas não queria instalá-lo.

Alternando a saída de som no Mac

03/11/2010

Utilizo um headset USB em casa para ouvir som e fazer ligações com Skype. Este tipo específico de headset aparece como um dispositivo separado de saída e entrada de som e tenho que trocar a saída padrão de som por ele.