I noticed that many struggled with encoding and decoding JSON in Go. Here I cover the issues developers run into and how to solve them.
Will Github Copilot help me write code?
I am a developer working mainly with Go and PHP on a daily basis. This past weekend I got invited to the Github Copilot Technical Preview and decided to spend my entire weekend testing it out. I know there is some controversy regarding Copilot and I want to disregard that and focus on the practicality […]
When registering a domain it’s typically easy to find domain registrars with good deals, perhaps just $1 to get any domain name you want. That’s a trick to reel you in in the hopes that you will keep that domain for many years without switching registrar. The renewal fees and any additional offerings such as […]
Using an SMS Gateway called 46elks and some Go we can automate a customer feedback process which is usually done manually by calling a customer. This was an idea I had when I worked at a large sales company in Sweden a few years ago and my task was to find things that could be […]
How To Run A Go Web Server On AWS
Amazon Web Services (AWS) offers free tier web servers where you can run simple go programs for API backends or websites. In this guide we will make a simple web server using a go program. This guide can also be used as a reference to set up AWS instances for larger go services. To begin […]
Recently I decided to set up a Pi-hole installation on my local network. Initially I was going to use a Raspberry Pi 3 B+ but the company I work for was replacing all the PCs and I was able to get my hands on one of them. Pi-hole is a simple tool which can be […]
How to Install Go 1.12 on Ubuntu 18
Begin by running the following command to add the golang backports ppa: sudo add-apt-repository ppa:longsleep/golang-backports If you get an error such as “add-apt-repository command not found” then you need to run the following command to install add-apt-repository:
Create a Public Slack Community with Go
I recently stumbled across a tweet by Melvin Davis on Twitter where he mentioned a simple tool that he had created using Go that instantly sends a Slack invite when an email is entered. This allows us to make a public slack community that anyone can join. Check-out the auto invite sender to join #slack […]
Developing Slack Bots with Go: Part 1
In my previous post I wrote a guide on how to post a simple Slack message using a bot with PHP. Now we will do the same thing but instead with Go. I have also decided to send a json request instead of a form-url encoded request like we did with PHP. There are some […]
Developing Slack Bots with PHP: Part 1
I have done a lot of work with slack bots in the past both professionally and in my spare time. In the past I build a plugin for WHMCS called WHMCS Slack which was originally a paid addon but is now open source and available for free on Github. This post is a first part […]