Codeforgeek Version 5

I have started working on Codeforgeek version 5. This would be biggest update in the existence of the site. I am focusing on making the Codeforgeek as a platform to learn, consume, teach and grow various topics such as Coding, technology, blogging, How to guides etc.

So far Codeforgeek has been my personal journal of programming. I used to jot down the problems I solved in a presentable manner so that others around the globe may find it useful.

This strategy worked out great and Codeforgeek stands out in the very crowded space of coding and technology sites as authentic and useful website.

In this upgrade, I am going to extend the portfolio or niche of the website. From personal coding notes to technology (includes coding) platform.

Here is my proposed feature and plan:

  • Expanding the niche.
  • Main categories would be Code, technology, blogging, productivity, soft skills.
  • In Code, we will cover tutorials, blogs as it is going with more topics such as Server technology, blockchain, basics of various programming languages etc.
  • In technology part, we will cover tips and tricks, new devices and their review, futuristic tech and so on.
  • In blogging category, we will cover about how to blog and make your own brand which I recommend to every working professional.
  • In productivity, we will cover tips and tricks and tools to be more productive version of yourself.
  • In soft skills, we will cover various skills other than tech which are as important (or may be more in some cases) as coding or other skills.

I am also going to re-design the site and make it more dynamic to suit the needs.

We are also going to start four major things in Codeforgeek:

  • Courses – in detail courses on various topics.
  • Podcast – about coding, tech and future tech.
  • Job – Companies can post a job for free.
  • Contributor platform – Anyone with right skills can contribute to the platform.

The whole re-design and deployment of site may take about a month or so. I will keep you updated.

Setting Up Bitcoin Full Node in Ubuntu

You can easily set up Bitcoin in Ubuntu using the commands below:

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoind

Now before running the Bitcoin daemon program, you need to define the configuration file.

The default location of the configuration file is home location, however, you can always change it.

Switch to the home folder.

cd ~
mkdir .bitcoin
cd .bitcoin
vi bitcoin.conf

Then add the following lines in the configuration file.


You can change the testnet=0 to connect to the main network of the Bitcoin. We have set it to 1 to connect to default network.

Save the file and run the bitcoin daemon program using the following command.

bitcoind -daemon

Now wait for few hours to sync all the blocks from Genesis and you should be good to go.

In order to check if the syncing is going on or not, run the following command.

bitcoin-cli getblockchaininfo

It will return JSON like this:

        "chain": "test",
        "blocks": 538777,
        "headers": 538777,
        "bestblockhash": "00000000000000000008dbf85fdd18172b5218bec32fb17caed08ebdfadbd070",
        "difficulty": 6727225469722.534,
        "mediantime": 1535397577,
        "verificationprogress": 0.999999554147431,
        "initialblockdownload": false,
        "chainwork": "000000000000000000000000000000000000000002eb7c1daac5a4c94a9b27f0",
        "size_on_disk": 205296701750,
        "pruned": false,
        "softforks": [
        "bip9_softforks": {
            "csv": {
            "segwit": {
        "warnings": ""
    "error": null,
    "id": null

Further links

  • Github:
  • Official website: