We are used to import files like this ../../../Components/Dashboard/Profile and this has been pretty standard for a long. But managing all this ../ is a pretty tough job. Say I want to change the location of a file or folder. Wait. Should I do that? Won’t it break anything? These…

You can directly jump to the method here. Link for Gist

I was working on FB APIs. I added a webhook to receive real-time updates to my subscribed objects. Facebook API makes this flow pretty simple. After I subscribe to an object with specific fields (i.e, …

TIG Stack

In this tutorial, I will show you how to install and configure the TIG Stack (Telegraf, InfluxDB and Grafana) on Ubuntu for monitoring the system loads such as CPU, memory, diskio etc. as well as custom metrics from another service.

A Few Basics First

TIG Stack stand for Telegraf, InfluxDB, and Grafana.

InfluxDB is…

Got tired of entering the login credential again and again for IITJ WLAN. This blog will save you :)

The firewall authentication tab opened in chrome should remain running in background. Leave the tab open and do your stuff.

WLAN CRED is a chrome extension that automatically logs you in…

Last week I started building a Chrome extension for a product. The extension was built with React as a view engine to render a popup. So I thought to document it to make anyone getting started on this to get along.

In this blog, We will go through the process…

In this blog, we will set up a simple Rails API App from scratch. We won’t be going through building models or controllers here.

Installing Rails

Let’s install rails first, we will be using Rails 5.1 here for example, if you don’t have it run

gem install rails -v '~> 5.1'



Cookies are small data strings, stored directly in the browser. They are included in the HTTP protocol.

As a rule, the web-server sets cookies with the help of a response Set-Cookie HTTP header. After that, the browser adds them to each request to the same domain, using the Cookie HTTP…

Universal Cookie

In this blog, we will be looking at how to work with cookies to setup authentication or session management in your web application.

Check this Session Management: Cookies vs localstorage for why we are using cookies to handle session management.

We can work with cookies via HTML or JS directly…

Brief about localStorage

localStorage is a way to store data on the client’s computer. It allows the saving of key/value pairs in a web browser and it stores data with no expiration date. localStorage can only be accessed via JavaScript, and HTML5. However, the user has the ability to clear the browser data/cache…

Aman Kumar

Learning nd Developing.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store