Meditation is one of the way to see beyond the mind
Meditation is one of the way to see beyond the mind
Meditation is one of the way to see beyond the illusion.

Have you ever felt that there are never-ending problems in our life? Almost like the world is against you. Something is stopping us to realise the true happiness or the real truth. We are always planning for the next moment but never really reach there. Everyone around you is trying to tame you, trying to slow you down, rejecting your ideas, keeping you waiting, trying to waste your time. Then you are not alone. Many of us feel the same. There is some secret hidden in the world. The world is not as it seems. Someone doesn’t want us to…


If you are a developer, then you must be using git. And there are chances that you might have faced the problem of using different git accounts for each git repository. How do we switch users each time we clone a new repository.

One of the solutions is to change the repository username config using the below command

git config user.name "youremail@email.com"

But you have to do this for every new repository. Fortunately, there’s a better solution of setting multiple accounts in ssh config. Below are the steps to do that.

First of all, you need to generate ssh keys…


Vue vs React

In my last article, we made a comparison of Angular, React and Vue by building a small web application using each. That concluded with React and Vue being the champion.

In this article, I would like to share my views on why I have become a big fan of Vue. I will try to be unbiased as much as possible. So, this in my own opinionated take on the question. Here’s why.

List elements

One of the most common element in a web app is to render a list element given an array. Let’s see the syntax in Vue and React.

React


Introduction

If you are a front end developer, at some point in your career you might have chosen a javascript framework, for your project. And most probably the options would have been below three

  • Angular
  • React
  • Vue

There are lot of articles and expert talks on this topic, and everyone has their verdict. But in this article i’ll take more practical approach to compare these 3 frameworks by creating a simple application using each of them.

  • Tip: Combine your component-based framework with tools like Bit to turn your components into building blocks you can easily share, use and sync across your…


How can “55” be less than “6” in Javascript?

I promise….

Introduction

I was recently debugging a strange issue in javascript which was somehow always happening for 2 digits numbers.

This short post is the outcome of the learning process I went through in that debugging.

I’ll start with a bit of code.

"7" > "6" - true
"55" > "6" - false

So the first one makes sense.

But, how come “55” is lesser than “6” in Javascript? Strange, right?

I had the exact same reaction the first time this happened to me.

Then, I decided to dig deeper and understand the reason for this behavior, diving into how comparison really…


Everyone wants to be happy. Television and movies have led us believe that if we have a perfect house, a perfect relationship and “a lot of money”, we will be happy. But will we be?

“I think everybody should get rich and famous and do everything they ever dreamed of so they can see that it’s not the answer.”

Jim Carrey

This quote of Jim carrey (The Mask) gives you a reality check. Money makes life easy, but does it make you happy? For me, real happiness comes when I change someone’s life positively. May be you feed someone’s empty…

Abhay Srivastav

Meditator | Coder | Blogger | Memer http://abhaysrivastav.net

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