Viewing posts for the category code

Absurdism in code

I tweeted about characters from absurdist literature working on code a few days ago and found that there was a natural link between them. I should really write a book called "Rosencrantz and Guildenstern Teach Golang" or something, if I have any spare time in future.

Job cover letter 190620

Dear Reader,

Gotchas with coding on remote machine with VS Code

I started trying out working on code on my remote machine (DigitalOcean Ubuntu droplet) using VS Code on my Windows 10 system a few days ago. Most of the instructions here are ok. A few things might be considered missing though.

Get started with Authboss in Golang

What this

In this post I tell you how to get the /register page of Authboss part way up and running. Yes, part way. Not the full way. I haven't even figured out how to set up all the requirements for this registration module yet, let alone the database.

How to `CREATE DATABASE dbName IF NOT EXISTS` in postgres in golang

If you're here, it's probably because you're having trouble using SQL for postgres in Golang to create a database if it doesn't exist. Part of the problem is, postgres doesn't support the CREATE DATABASE dbName IF NOT EXISTS; idiom for databases. Here's how I'm doing it: