Showing posts from February, 2018

GUI programming with golang

I am using the andlabs/ui library for GUI with golang.  It's quite easy to setup on the mac and Linux. 

Video Guide

But was not that much straightforward to setup on windows.  It required the MinGW-w64 [ download from here ]. Make sure you are using the latest version of the MinGW-w64.  
Select the appropriate architecture during the installation.

Apache : setup basic auth with apache in windows

Authentication is any process by which you verify that someone is who they claim they are. Authorization is any process by which someone is allowed to be where they want to go or to have information that they want to have.

I will show here how to set up basic auth on the apache with windows.

Pre-requests Windows VPS

Apache server ( That's it )
( In windows it might be difficult to setup the Apache alone. So instead use something ling xampp, wamp or laragon.)


(  I personally use the postman, but you can use your preferable client) 

Steps  Enable the necessary modules in the ApacheCreate the password fileSet the auth directives in the virtual host file.Verify basic auth.
Enable the necessarymodules in the ApacheOpen the httpd.conf file in the apache's conf folder.

Enable the necessary modules to make the basic auth working.
Necessary modules 


Restart the apache to make the modules active.

Create Password File
You need to create a password file before you…

setup hyperledger fabric on windows 10

What is the Hyperledger fabric? Hyperledger Fabric is a business blockchain framework hosted by the Linux Foundation intended as a foundation for developing blockchain applications or solutions with a modular architecture. Hyperledger Fabric allows components such as consensus and membership services to be plug-and-play. ( From Google Search Result )
Though documents say that hyper ledger fabric works on the windows, I can't find it running in well. I tried hard to run it but failed. But I found another way to run the hyper ledger on windows with Linux subsystem which has been officially available in windows 10.

(Video Guide )
Requirementwindows 10 Pro
Docker CE
Go 1.9

Basic Setup ( Step - 1 ) The first step to set up the hyperedge fabric on windows is to enable the Linux subsystem 1. Enable the Linux subsystem on your windows

2. Install your favourite Linux subsystem from the store ( i prefer ubuntu )

3. Install Docker

   ( Docker Requires Hyper-V to run so enable hyper-v )