• north america book and toke book

    Tome.gg: How to leverage what you master in games

    If you have been following my blog, you would know that I love learning. I love learning so much, that I find myself drawn to it whatever it is I’m doing- whether that’s talking to my friend that just recently became a father, playing competitive e-sports games, learning about in-game economics as I optimize my…


  • white jigsaw puzzle illustration

    Recover lost commits from git push –force

    Today I learned how to retrieve accidentally lost commits pushed to remote (via –force). I accidentally overwrote a co-worker’s committed changes and my own revisions on his branch using git push –force origin/branch! I freaked out at first realizing how grave the mistake I made. I panicked at first, like any child would panic after…


  • How to Generate YAML-based table definitions with dbtoyaml

    Today I extended an existing tool that generates your table definitions as YAML by inspecting your PostgreSQL db using Pyrseas. It’s a very minimal install. My addition was to make it work with only need Docker, and optionally Fish Shell in case you want to take advantage of a convenience script I made. Head over…


  • workplace with laptop and ceramic vase with basket

    How to fix Viper unmarshal error for nested structs

    In times when you’re trying to unmarshal a config file using viper, check whether your config file has nested yaml structures. As shown in the example above, there are multiple layers of structs under providers (i.e. payment contains dwolla). The different with service is that its fields are set only in one level. If your…


  • silver imac on brown wooden table

    How to send Keycloak events as a webhook

    Keycloak is a powerful IAM provider that offers numerous out-of-the-box features. In this blog post, we will discuss how to extend user jessylenne existing work on sending Keycloak webhook events to a third-party provider using Docker and Makefile, making the process more accessible to developers who aren’t primarily Java programmers. Prerequisites Resources The original git…


  • white printer paper beside silver laptop computer

    Creating enum type tables on Hasura

    So I recently streamed my late-night software development process (thinking out loud, walking through my thought process). A part of it was discussing how to create enum type tables using Hasura. I enjoy going through this process of thinking: moving from “I don’t know what to do” to the basic steps of “what do I…


  • VSCode Integrated Terminal fills with D^[[

    When you press ALT while your VSCode intergrated terminal is open, it sometimes fills the terminal with D^[[. Github user meganrogge notes that you can fix this by configuring a setting on VSCode. Specifically, you want to go to VSCode settings and uncheck/disable the Alt Click Moves Cursor setting. You can search altclickmoves and it…