Go: Declaring and using objects

Go (or Golang) doesn’t have the concept of classes. The class equivalent in Go loos like this:

The above declaration can now be used as an object like so:

Macports Ruby: Symbol not found: _SSLv2_client_method error

This error usually shows up when you try to run the following command:

For those that don’t know what I am talking about, this is the error message:

The only way to get this to go away is to re-compile ruby so it will use the new openSSL library. Macports, however, installs packages […]

Setting, removing and reading cookies in Javascript

Copy/paste these methods and use them

Sunlit Garden

I have been painting landscapes mostly so I wanted to try something different this time. Another reason I wanted to do this painting is to experiment with sunlight (and little details like the gate) change how the viewer feels when he/she looks at the painting. Thankfully, my experiment was successful. Here is the painting: I […]

Ergodox: Make LEDs indicate the layer you are on

This article assumes that you are working with the source code downloaded from MassDrop. Open the file lib /key-functions/public/basic.c and add the following line below after all the #define statements.

Then go to the push function of the layer you want the LEDs to light up on. Let’s assume we want to turn on […]

Ergodox – The customizable ergonomic split keyboard

A few months ago, I got a mechanical keyboard called Ergodox. It is an open source keyboard (which means its schematics are posted online for anyone who wants to build it.) that you need to build yourself. You cannot buy it pre-built. Although, recently people have been putting up Ergodox with Cherry MX blue switches. […]