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 in a series of posts i would like to write about both Go and PHP and how we can use these programming languages to create useful bots for Slack.

Continue reading “Developing Slack Bots with PHP: Part 1”

Add a custom bot integration to Slack

It’s possible to create bots for your Slack channels and workspaces via custom integrations. First you will need to create a bot for your Slack workspace. To do this you need permissions to add a custom configuration. Simply go to your workspace url and add admin at the end as shown in the picture

Continue reading “Add a custom bot integration to Slack”

Install Go 1.11 on Ubuntu 18.04

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:

Continue reading “Install Go 1.11 on Ubuntu 18.04”

Install Go 1.10 on Ubuntu 18.04

Also: See my guide on installing Go 1.11 here.

Begin by running the following command to add the golang ppa:

sudo add-apt-repository ppa:gophers/archive

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:

Continue reading “Install Go 1.10 on Ubuntu 18.04”

How To Make A Cryptocurrency Trading Bot With Golang

A Quick Disclaimer: I'm a programmer and have very little experience trading. Please do your own research before using the algorithm I create for the cryptocurrency trading bot or any other algorithm. Only trade with money you can afford to lose.

In this guide I will show you how to create  a cryptocurrency trading bot with Go. I highly recommend an IDE such as Goland but you can use a simple text editor if you would like. Feel free to take a look at my guide on how to develop with Go on Linux if you don’t have Go installed.

Continue reading “How To Make A Cryptocurrency Trading Bot With Golang”

Parsing Websites with Golang and Colly

I stumbled across a scraper and crawler framework written in Go called Colly. Colly makes it really easy to scrape content from web pages with it’s fast speed and easy interface. I have always been interested in web scrapers ever since I did a project for my university studies and you can read about that project here. Before continuing, please note that scraping of websites is not always allowed and sometimes even illegal. In the guide below we will be parsing this blog, GoPHP.io.

Continue reading “Parsing Websites with Golang and Colly”

How to: Developing with Go on Linux

This guide assumes you are using Ubuntu Linux 16.04 (Xenial) but will most likely work for setting up a Go development environment on other versions of linux. You can still follow this guide if you are using OSX but some small things will differ such as the binary to download. You could always run Go on Linux in a Virtual Machine with Virtual Box.

Continue reading “How to: Developing with Go on Linux”

How To Protect Your Cryptocurrencies

Please note that I own a Ledger Nano s and include affiliate links in this article. I was not hired/paid to write this article.

Whether you are new to cryptocurrencies or not it is important to safeguard your savings. When buying cryptocurrencies you typically go through an exchange such as Coinbase, Binance or Bittrex. An exchange is fine for buying and selling but if you plan to keep cryptocurrency for a long time it would be much safer to store it on a hardware wallet such as the Ledger Nano S or the Trezor. I wanted to write this article to outline some of the things that any user should be aware of.

Continue reading “How To Protect Your Cryptocurrencies”

CryptoKitties – A Game Played On The Blockchain

I bought kitties on CryptoKitties when popularity seemed to peak back in December 2017. At the same time Ethereum hit a $1000 and Bitcoin shot up to $20,000. So I did what any sane person would do and transferred 1 ETH to buy and sell digital cats. It was interesting because this digital economy reminded me a lot of games like Travian that have in game economies, or an even more relevant site would be Neopets which has items you can buy and sell using points you earn from playing games. It’s actually where I got interested in HTML as I learned how to customize the look of my shop.

Continue reading “CryptoKitties – A Game Played On The Blockchain”

I tried mining Vertcoin for 1 month

…And I plan to keep mining.

It has been a fun experience and I would recommend it to anyone who is interested in learning how mining Vertcoin works. I have a gaming PC at home which has a pretty powerful graphics card, the Nvidia 1080Ti. Before I started mining I would turn this beast off to save money on my power bill. However, these days it runs 24/7 as I would save less money by turning it off.

Continue reading “I tried mining Vertcoin for 1 month”