Setting up a Verium miner on Ubuntu

Jan 21 18

Verium is A CPU mineable Digital Commodity – unlike most other crypto currencies which require GPU / ASIC mining rigs.

I currently have an under-utilised ‘cloud platform’ subscription, so decided to set up a VM and join a mining pool, to mine this currency.

I used a Linux (Ubuntu) VM for this, other flavours are available, but the commands will differ slightly:

First of all, you’ll need an account with the mining pool.
This blog post somewhat paraphrases the instructions on the getting started guide.

However, I’m focusing more on the installation / running of the miner.

For the purposes of the rest of this post, I’m going to assume you’ve got a mining pool account, and wallet set up.
You’ll also need to have created a worker (with username, password)

Installing and running the miner

SSH into the VM, then we’ll install the required packages.
sudo apt-get update
sudo apt-get -y install automake autoconf pkg-config libcurl4-openssl-dev libjansson-dev libssl-dev libgmp-dev zlib1g-dev

Now, cd into a directory where you want your miner to live.
(I put mine in the home dir)

git clone
cd veriumMiner

There’s a handy build shell script we can run to do the actual building from source:

Finally, we can start the miner
Note, your actual parameters will vary dependent on expected hashrate, your user/pass for your worker etc…

./cpuminer -B -n 1048576 -o stratum+tcp:// -u -p

The -B parameter denotes ‘Background’ so it is safe to close the SSH session, and the miner will continue to run.

Back over on your mining pool account, you should now be able to see your worker(s) set up, along with their current hashrate (Hash/m)


Getting paid

Your payments will go into your wallet address you specified (during the setup of your account)

The ‘Debit AP’ column shows how much has been sent to your wallet.

Verium - earnings

Search git branch names using command line

Dec 15 17

Looking for a particular branch, and git branch -a returns a LOT of branches?
If on Windows, you could use the Search feature in cmder (you’re using cmder, right?)

Or on mac, cmd+f and then search the outputted text…

OR you could use one of these two approaches:

git branch takes a --list argument , which in turn takes a search arg.

git branch -a --list *something*

Will return only the branches containing the word “something” (note the wildcard character)

The alternative, if in bash / bash compatible terminal (git bash / cmder etc… on Windows – normal Command Prompt won’t work – unless you’ve got bash extensions installed) is to pipe the result to grep:

git branch -a | grep something

Both methods here will yield the same results.

Side note:
-a shows all local and remote branches
-r shows only remote branches

Personal Profile Sites

Nov 30 17

Recently, I’ve been looking in to ‘personal profile sites’ and what they can potentially do for someones internet reputation.

Cohoda LTD are currently running an experiment for a long-term client, Andy Britnell.

Between us, we’ve thrown together to see what positive effect on his personal profile we can build from a single, one page site.

If this experiment is successful, I’ll look at doing more personal profile sites – including one for myself.

I see them as extensions of linked in profiles – where by anyone can see the information, without having to be a LinkedIn member.

Andy Britnell - Personal profile site

VS Code “deletes 3 months” of guys work

Aug 21 17

Recently, someone with the GitHub username eliecerthoms reported an incredibly unfortunate issue with VS Code.
It actually stems from his complete misunderstanding of git.

A classic case of RTFM

Adding additional colour themes to Jetbrains Rider

Jul 6 17 according to it’s description, offers “Color themes for IntelliJ IDEA, Webstorm, PyCharm, RubyMine, PhpStorm and AppCode”

However, it turns out that these themes also work with Rider.

After downloading it (it’s a .jar file) go to File > Import Settings

Choose the downloaded .jar file, and it will import the colour theme.
Once Rider restarts, the theme will be available, and your editor will have switched to that theme


Unlike Visual Studio, there’s actually two places the colours are configured.
One, is Appearance > Theme:

This governs how the application looks (not how your fonts look)
Light, or Dark (Darcula)

To change the font colours / style, you’ll need to go to Editor > Colors & Fonts > Font
You can then select the Scheme

Notice ‘Solarized Dark’ is now in that list

My preference, however, is the Visual Studio Dark theme (coming from a Windows VS background!)