Javascript – Difference Between var, let and const

ES6 introduced 2 new ways of declaring variables: let and const. There are a couple of main differences between these variable declaration methods and they still seem to confuse people. Let me very briefly explain the differences between var, let

Read More Javascript – Difference Between var, let and const

Some examples of async functions instroduced in ES8

Introduced in ES2017 (ES8) asynchronous functions are functions which operate asynchronously via the event loop, using an “implicit” Promise to return its result. Syntax and structure of your code using async functions will be much more like using standard synchronous functions. I am not going to write explanations

Read More Some examples of async functions instroduced in ES8

metadata.labels, selector.matchLabels, template.metadata.labels – Kubernetes Deployments Explained

There are a lot of label and selectors being placed all around deployment yaml files inside Kubernetes deployments and this gets people confused. Let me try to shed some light on this and clear your confusion. Let’s start with an

Read More metadata.labels, selector.matchLabels, template.metadata.labels – Kubernetes Deployments Explained

null is not an object (evaluating ‘_reactNativeImageCropPicker.default.openPicker’)

I was trying to integrate react-native-image-crop-picker to my react-native project. It was easy to get it working on Android but to get it to work on iOS I had to spend some considerable amount of time. Here I am writing down

Read More null is not an object (evaluating ‘_reactNativeImageCropPicker.default.openPicker’)

TLS Termination Types in OpenShift Routes

There are 3 types of TLS Termination types to select from when you are creating a route in OpenShift. These are: – EDGE – Passthrough – Reencrypt These TLS Termination types define which part of the communication from the client up

Read More TLS Termination Types in OpenShift Routes

undefined is not a function(evaluating ‘_iterator[typeof Symbol === “function”?Symbol.iterator:”@@iterator”]()’)

undefined is not a function(evaluating ‘_iterator[typeof Symbol === “function”?Symbol.iterator:”@@iterator”]()’)   This is how I solved the above infamous problem in my react-native app. I am putting this here as a future reference for myself, hope this will help others along the way.

Read More undefined is not a function(evaluating ‘_iterator[typeof Symbol === “function”?Symbol.iterator:”@@iterator”]()’)

In-Memory ActiveMQ and SpringBoot Example Project

SpringBoot is the trending way of building applications and microservices. ActiveMQ is one of the most popular message brokers. Did you know that with SpringBoot you can have embedded ActiveMQ instances? In this In-Memory ActiveMQ and SpringBoot Example Project, I

Read More In-Memory ActiveMQ and SpringBoot Example Project

They Tried to Hack My Blog – Keeping Your WordPress Site Secure

WordPress is a free and open-source content management system based on PHP & MySQL. Many blogs and websites use WordPress around the world. And the more popular it is the more attacks it will get from “bad” people. There are a

Read More They Tried to Hack My Blog – Keeping Your WordPress Site Secure

React Native – Objects are not valid as a React child (found: object with keys {$$typeof, type, key, ref, props, _owner, _store})…

Objects are not valid as a React child (found: object with keys {$$typeof, type, key, ref, props, _owner, _store}) This annoying problem I bumped into the other day. First, I thought I made a mistake in the JSX snippets somewhere

Read More React Native – Objects are not valid as a React child (found: object with keys {$$typeof, type, key, ref, props, _owner, _store})…

React Native – expo init fails with git permission denied error on MacOS

This problem can be quite annoying. Here is the part of my iTerm output displaying the error:

  Here is my expo diagnostics:

  To solve this I first tried launching a new terminal window and I immediately

Read More React Native – expo init fails with git permission denied error on MacOS