New Theme

After a few months with my own NES classic theme I switched to a theme that offers a more readable font for longer texts. Reason is that I actually wrote my first post on this blog and it was awful to read it in this 8-bit style NES font. BTW: the color scheme is solarzied light. I really love that color scheme. It runs on my terminal, my IDEs and everywhere else where it makes sense. …

Posted on

Unmarshalling to structs in Go - no brainer, eh?

Those days I ran into the same trap the second time. So I decided to have a short writeup for future me and other Go beginners. The trap was that I wrote nice structs like { "key1": "value1", "key2": "value2" } And wanted them to be unmarshalled them into structs like this: type foo struct { key1 string key2 string } Doing this regularly with Jackson in Java I named the attributes like the keys in the JSON file. …

Posted on

contact

My email address is myfirstname@jayasinghe.de You can also find me on Mastodon: https://chaos.social/web/@rjayasinghe I write a lot of code. The code that is either written in my spare time or that is allowed to be published can be found at my Github page Some of my bike trips can be seen at Komoot

Posted on

about

This is my private website. I am not sure yet what I’ll publish here. Mostly it will be nerdy stuff about bicycles and computers. :) The site has been built with the static site generator Hugo and is hosted at Netlify. If you have ever felt the desire to migrate away from wordpress and do something more lightweight - get in touch with me. ;) yes. that's me. ;)

Posted on

imprint

This is a private website. No commercial intent or whatever. If you don’t like it - go away! :-D

Posted on