Tutorial

Dart - Relational Operators

Dart provides operators that can be used to check the relationship between values or values within variables also known as operands. All relational operators, less than(<), less than or equal to(<=), greater than(>), greater than and equal to(>=) gives resultant value in boolean i.

Laravel's Eloquent whereDate() filtering method

This article, guide you through the usage of Laravel's Eloquent `whereDate()` method. It is used to match a field value against a specific date.

Linux commands to find IP address of a website

Even wondering how to find an IP address of a website in Linux? This article shows the usage of command line utilities to get IP address and other details.

Laravel's firstOrCreate Model Method

In this article, we will see Laravel's `firstOrCreate()` model method and how it provides you first instance from table if exists or create new table records if does not exists. You don't need to explicitly save like `firstOrNew()`.

Laravel's firstOrNew Model Method

In this article, we will see Laravel's `firstOrNew()` model method and how it is useful. It provides you first instance from table if exists or create new model instance. You need to explicitly save model instance.

Dart - Comparison Operators

Dart provides operators that can be used to performs compare values or values within variables. The comparison are like equal to and not equal to. Also known as equality operators.

Dart - Arithmetic Operators

Dart supports different arithmetic operators that can be used to performs mathematical calculations on the values and variables. The basic arithmetic operations like addition, subtraction, multiplication, division, etc. are performed with these operators.

JavaScript, How to update an array element

This article explains simplest way to update value of an array element. Updating an array element is just like assigning a new value to variable using an assignment operator.

Flatten an Array One Level Deep in Javascript

This article explains to flatten an array one level deep in javascript comparing with lodash _.flatten method.

Linux command: dirname

The `dirname` command comes handy to retrieve path where the file is saved. This article shows the usage of dirname command with example.

How to find the length of a list in Dart

The `length` property is one of the easiest ways to find the length of list in Dart. This is the most conventional technique adopted by all programmers.

Save Data To Offline Storage With Localforage

localForage an open-source JavaScript library that refines the experience of saving data to web browser databases like `localStorage`.