Skip to main content

Posts

Setup development environment for Hyperledger composer on windows

There is no direct best ( or at least I don’t know ) way to create a good development environment for the hyper ledger composer on windows. I have installed hyper ledger on windows and it’s also not working satisfactorily. I want to develop in windows while want to run it smoothly like in Ubuntu. So the way I found is virtual box and ssh. Vagrant is kind of the thing that gives this readymade. But .box file we need to download is very slow in speed [ 150 kbps] and for me, it was disconnecting continuously. So I left the vagrant and find another way to get the facility provided by the vagrant. I am going to show the way I created my development environment. You Need  Virtual Box ISO of ubuntu server 16.04 LTS OR Ubuntu Virtual Box  Machine That's it. If you have this two things you are ready to go. Prepare Ubuntu Server Virtual Box Machine Either install ubuntu 16.04 on the virtual box or import the ub...

setup scheduled export on google appe

If you are using the google app engine you might get this message from the google. Hello Cloud Datastore Customer, We're writing to let you know that the Datastore Admin backup feature is being phased out as of February 28, 2018, in favour of the generally available managed export and import for Cloud Datastore . Please migrate to the managed export and import functionality at your earliest convenience. To help you make the transition, Datastore Admin will continue to be available over the next 12 months prior to the shutdown date of February 28, 2019.  I am writing this post to show how to set schedule export. [ I am showing the steps described by the google at this link.  Scheduled-export  ] Enable the billing for google cloud service Ensure that you are using a billable account for your GCP project. Only GCP projects with billable accounts can use the export and import functionality.  You can Set your billing details at...

HTTPS for custom domain on blogger

HTTPS For custom domain is made available for the users by Google. You just have to enable the HTTPS and your blog will have the HTTPS: You don't need to purchase SSL certificate. When you select yes all setup will be done by the google to provided HTTPS on your blog HTTPS for a custom domain on Google blogger It will good to redirect all your secured and non-secured traffic to the secured site. So Select yes on HTTPS redirect Redirect all traffic to the secured version of your blog If you are using google blogger and haven't done it yet do it.

Register Free Domains

Freenom   Register Free Domains One of my friends found freenom  personal domain provider.  It actually provides the domain at free of cost. But when we are using the free domain we can not change the DNS settings. So if we are using the free domain then we can not use for our site hosted on the other hosting service. It is its negative point. Freenom provides its own hosting for free with the domain. So, if there is no constraint of hosting then you can use freenoms free hosting and domain.

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. Select architecture After installation of the MinGW set to add the path to the bin folder of the MinGW in the PATH variable. Set environment variable Copy the code from the getting started to your favourite editor package main import ( "github.com/andlabs/ui" ) func main() { err := ui.Main( func () { input := ui.NewEntry() button := ui.NewButton( "Click" ) greeting := ui.NewLabel( "" ) box := ui.NewVerticalBox() box.Append(ui.NewLabel( "Label" ), false ) box.Append(input, fals...

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 .) RestClient (  I personally use the postman , but you can use your preferable client)  Windows VPS provider Steps  Enable the necessary modules in the Apache Create the password file Set the auth directives in the virtual host file. Verify basic auth. Enable the  necessary   modules  in the Apache Open the httpd.conf file in the apache's conf folder. httpd.conf file Enable the necessary modules to make the basic auth workin...

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 ) Requirement windows 10 Pro Docker CE PowerShell Nodejs 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 Enable Linux SubSystem 2. Install your favourite Linux subs...