…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”
Sometimes when I am working with dummy database I might need to change the password of a generated user. The easiest way to do this is to got to google for a bcrypt generator and then paste the generated hash into the database in order to update the password. This is much quicker than having to write a function to do this for me or to create a new user from scratch. It is also useful if I need to reset a password to an account which I have totally lost access to. Turns out I don’t like many of the bcrypt generators that are out there and the domain bcrypt.fun was available so I figured, why not make my own generator since I already created password.fun.
Continue reading “I made a simple Bcrypt hash generator website with Golang”
From what I learned in earlier posts, mostly parsing json from an API endpoint, I created a simple command line program that tracks any cryptocoins and their respective values, you can input the price and amount you bought it for. Colors can be turned on or off, the update interval can be configured and you could have as many or as few coins as you would like. See it in action here:
Continue reading “CLI Crypto Portfolio Tracker In Go”
Earlier today I wrote a quick tutorial on how to use golang to track STEEM or any cryptocurrency for that matter. You can find the post on my Steemit account @tenghamn on steemit here https://steemit.com/cryptocurrency/@tenghamn/how-to-make-a-simple-go-program-to-track-the-price-of-steem-via-an-api
The current script is pretty simple and I plan to expand on it to make a tool that will allow you to track any cryptocurrencies along with a gained or lost amount or percentage based on at what price and how much you purchased these coins for.
You can find the entire script on github here: https://github.com/markustenghamn/golang-steem-cryptotracker
So I have spent the past few weeks trying to get better at Go. I wanted to share a really good resource that I found useful and it’s called Go By Example. I love this site because it provides easy to understand examples for pretty much any of the basic things in Go. As a PHP developer I know how I would like to solve a problem, perhaps I need a for loop and maybe I don’t feel 100% sure how to write this. In that case I can turn to go by example which has a great example of a for loop in go.
Continue reading “Learning Go”