Covid19 Data Source for India & Global

Hi Guys, I am trying to listing all data source & endpoints for COVID19 - India as well as Global. It can contains offical or unofficial APIs. Anyone is working on any COVID19 project for India, Can use these sources. APIs 1. Github: amodm/api-covid19-in (India) Repo: https://github.com/amodm/api-covid19-in APIs available: Statewise Data StateWise StateWise History Medica Hospital Stats Bed Stats Contacts HelpLines Contacts Patient Tracing History Sources The source is both types of official & Unofficial....

March 27, 2020 · 2 min · Ashish Tiwari

[SOLVED] Golang fatal error: concurrent map writes

The Problem: Suddenly got below errors which killed my daemon: fatal error: concurrent map writes goroutine 646 [running]: runtime.throw(0x75fd38, 0x15) /usr/local/go/src/runtime/panic.go:774 +0x72 fp=0xc000315e60 sp=0xc000315e30 pc=0x42ecf2 runtime.mapdelete_fast64(0x6f0800, 0xc00008ad50, 0x2b3e) goroutine 1 [sleep]: runtime.goparkunlock(...) /usr/local/go/src/runtime/proc.go:310 time.Sleep(0x12a05f200) /usr/local/go/src/runtime/time.go:105 +0x157 webhook/worker.Manager() goroutine 6 [IO wait]: internal/poll.runtime_pollWait(0x7fc308de6f08, 0x72, 0x0) /usr/local/go/src/runtime/netpoll.go:184 +0x55 internal/poll.(*pollDesc).wait(0xc000110018, 0x72, 0x0, 0x0, 0x75b00b) /usr/local/go/src/internal/poll/fd_poll_runtime.go:87 +0x45 internal/poll.(*pollDesc).waitRead(...) /usr/local/go/src/internal/poll/fd_poll_runtime.go:92 internal/poll.(*FD).Accept(0xc000110000, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0) /usr/local/go/src/internal/poll/fd_unix.go:384 +0x1f8 net.(*netFD).accept(0xc000110000, 0xc000050d50, 0xc000046700, 0x7fc308e426d0) /usr/local/go/src/net/fd_unix....

February 4, 2020 · 3 min · Ashish Tiwari

Elasticsearch Exceptions & Challenges

Below are some challenges & exceptions faced while setting up Elasticsearch. I just shared my experience and learning. Please correct me, If you guys feel somewhere i got wrong OR You can contribute if you have any experiences . Will keep update this gist. Every use case having different solutions. You can try accordingly.

December 3, 2019 · 1 min · Ashish Tiwari

How to reset 1-Click Installed WordPress on DigitalOcean?

The Requirement Need to install fresh wordpress with same version on wordpress droplet of digitalocean. The Problem My setup (wordpress droplet) was suddenly stop working. I started debugging. Debug Checked apache2 and mysql service: service mysql status service apache2 status Both services was active. Then I checked the apache2 processes with below command: $ ps -ef | grep apache2 | wc -l 151 Lots of apache child process has been forked....

December 3, 2019 · 3 min · Ashish Tiwari

[Part 3] How to write custom prometheus exporter?

Introduction In PART-1 and PART-2 , We have seen how prometheus works and how to setup Prometheus and exporters. We have readymade exporters available on the internet. But sometime there is situation where you need to store your own custom metrics on prometheus. In such case you have to write your own exporters which will exporters the data into Prometheus. There is two way to exporting the data on prometheus: 1....

November 29, 2019 · 3 min · Ashish Tiwari