Posts

Create collection instance for given array in Laravel

This tutorial explains with syntax and an example of how to create a collection instance from provided array with Laravel collect() helper method in the framework.

Configure user name & email for Git profile using terminal

This article explains about configuring user name & email, globally with your Git profile so that you don’t need to specify every time you commit. Git automatically associate your identity from this profile with every commit you make.

Headings in Markdown

The Markdown language supports creating different level of heading styles. In this article we will see how to create different headings as per need. Use # to create heading at the start of lines.

Python - Arithmetic Operators

Python supports different arithmetic operators that can be used to performs mathematical calculations on the values and variables. The basic arithmetic operations include addition, subtraction, multiplication, division. Arithmetic operations are performed according to the order or precedence of operators.

Install Telegram on Ubuntu 20.04 or Ubuntu-based distributions

This article guide you to install Telegram app on Ubuntu 20.04. It can be install with PPA via Ubuntu Software Center or via Snap Package or with apt command.

Get Laravel Version via Command Line

This article, guide you through the retrieval of Laravel version of a project being used.

Install Hugo on Ubuntu 20.04 or Ubuntu-based distributions

This article helps you to install hugo an open source static site generator on Ubuntu 20.04 in two different ways. It can be installed via a snap package or with apt.

Laravel's Eloquent whereTime() filtering method

This article, guide you through the usage of Laravel’s Eloquent whereTime() method. It is used to match a field value against a specific time.

Convert array to an object in JavaScript

This article explains simplest and quickest way to convert array to an object in JavaScript. Using widely accepted spread operator ... makes easy to do it.

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.

Program to mixup characters of 2 strings in JAVA

In this article we’ll see a program to mixup characters of 2 string in JAVA. Input Consider a two strings as Good and Day. Code public class StringMixup { public static void main(String[] args) { String str1 = "Good", str2 = "Day"; int i = 0, str1Length = str1.