Blog

Showing 1 to 10 of 51 posts.

MongoD aggregation pipelines with $match and $project

Posted on August 1st, 2020 in NodeJS by George

In this tutorial, we are going to create a 4 stages pipeline using the aggregation framework provided by MongoDB. 

Read more...

"react-use" library is simply AMAZING!

Posted on July 19th, 2020 in NodeJS by George

Today I was browsing around to find some useful tools for my next react project. I came across https://www.npmjs.com/package/react-use.

This library is absolutely amazing to use inside your react hooks based application.

Let me show you why.

Read more...

6 JavaScript Quirks that every JS developer should know!

Posted on July 4th, 2020 in JavaScript by George

Most of the developers from other languages are ofter too confident to adopt JavaScript just because they master other languages syntax. 

But what do you do when your application misbehaves and at first glance, everything looks right? Could be that you were not aware of some of the JavaScript quirks?

Without further ado, let's dive in.

Read more...

Project Euler 182 solution JavaScript

Posted on July 3rd, 2020 in JavaScript by George

This is the javascript solution for Project Euler 182.

The final mathematical solution does not belong to me. I have translated the solution from Java to JavaScript from here https://github.com/kkmonlee/Project-Euler-Solutions/blob/master/Java/p182.java.

I hope this will help others to explore the problem using JavaScript because for some people, the learning process works better through reverse engineering.

Read more...

SQL horizontal vs vertical data query with CASE WHEN

Posted on June 27th, 2020 in MySQL, NodeJS by George

SQL query examples for vertical and horizontal orientated data.

Read more...

MySQL SubQuery - Correlated SubQuery

Posted on May 25th, 2020 in MySQL by George

While I am learning MySQL I cam across subqueries and thought this matter deserves an article. Enjoy.

Read more...

MySQL Public Key Retrieval is not allowed - How to fix DBeaver MySQL connection error

Posted on May 24th, 2020 in PhP, Miscellaneous by George

Step by step tutorial to fix this issue. 

MySql Public Key Retrieval is not allowed

Read more...

React native error "multiple commands produce.." Xcode 11

Posted on May 14th, 2020 in JavaScript, React Native by George

How to solve this issue? See the article

Read more...

How To Test React Components (hooks, Jest, Enzyme)

Posted on May 4th, 2020 in JavaScript by George

This article explains unit testing, integration testing, the end to end testing, and how to create React Component tests. 

The examples will use Jest and Enzyme for testing and the test components will be written using React hooks.

Read more...

Swift Array Map method with a trailing closure

Posted on April 27th, 2020 in Swift by George

Example of how to use map function with a trailing closure over an array value.

Read more...

Categories