Recent Posts

How to create collapsible content using HTML5 details tag

HTML5 provides <details>...</details> tag for the purpose of show and hide the contents on demand. Instead of showing large content on single page where user has to scroll explicitly, details widget comes handy to decrease your view length and looks much cleaner

How To Change Model Timestamps Column Names In Laravel

There will be a situation where you’ve to continue using your old or legacy database which might differ with Laravel’s way of naming column names in tables. Laravel provides few default timestamps fields such as created_at, updated_at and deleted_at.

How to build query string from an array with http_build_query in PHP

PHP has built in function http_build_query that can be used to prepare a query string from an array. Instead of explicitly appending elements to string, this function comes handy, which takes cares of generating URL-encoded query string either from an associative or indexed array.

How to build query string from an array using Laravel helper

Laravel provide a helper Arr::query() to build query string from an array, an alternative to core php http_build_query() method. Tested with Laravel versions 5.8, 6 and 7. Kindly check for your version on official helpers page.

Short Circuit Conditionals With Logical OR(||) Operator - JavaScript

The main purpose of short circuiting is to stop the further execution of a program based on boolean operations. For Logical OR(||) operator, if the true value of an expression has already been determined, than the further execution will not continue.

Tutorials

How to create collapsible content using HTML5 details tag

HTML5 provides <details>...</details> tag for the purpose of show and hide the contents on demand. Instead of showing large content on single page where user has to scroll explicitly, details widget comes handy to decrease your view length and looks much cleaner

How To Change Model Timestamps Column Names In Laravel

There will be a situation where you’ve to continue using your old or legacy database which might differ with Laravel’s way of naming column names in tables. Laravel provides few default timestamps fields such as created_at, updated_at and deleted_at.

How to build query string from an array with http_build_query in PHP

PHP has built in function http_build_query that can be used to prepare a query string from an array. Instead of explicitly appending elements to string, this function comes handy, which takes cares of generating URL-encoded query string either from an associative or indexed array.

How to build query string from an array using Laravel helper

Laravel provide a helper Arr::query() to build query string from an array, an alternative to core php http_build_query() method. Tested with Laravel versions 5.8, 6 and 7. Kindly check for your version on official helpers page.

Short Circuit Conditionals With Logical OR(||) Operator - JavaScript

The main purpose of short circuiting is to stop the further execution of a program based on boolean operations. For Logical OR(||) operator, if the true value of an expression has already been determined, than the further execution will not continue.

DevTools

How to open a Command Menu in Chromium based browsers such as Google Chrome

Chromium Browser comes with the Command Menu which provides a way to navigate to the Chrome DevTools UI and perform common tasks, such as enabling/disabling JavaScript, taking screenshot of a node or screen area.

Chrome 80 brings support for let and class re-declarations in the Console

Chrome 80 now supports re-declarations of let and class keyword in console which make debugging more developer friendly

Refresh browser window whenever file changes are saved

A quick to configure auto-refreshing browser window whenever you save changes to files.

Identify Unused Code Using Chrome DevTools

Chrome DevTools is a set of web developer tools built directly into the Chromium browser. DevTools can help you diagnose problems quickly, which ultimately helps you build better websites, faster.

Programs

Program for Collatz Conjecture in JavaScript

The Collatz Conjecture, also known as 3n + 1 conjecture, Ulam Conjecture, Thwaites conjecture, Hasse’s algorithm, Kakutani’s problem, or the Syracuse problem, is a conclusion formed on the basis of incomplete information in mathematics

JavaScript - String split() function

The split() function separates an original string into an array of substrings.

A Program to print upside down triangle pattern with some fuzzy logic in C

A pattern program in C - language

A Program to find sum of series from starting number to ending number using for loop in C

A program to find sum of series between two integers numbers illustrating for loop in C - language

A Program to display factorial of specified number using for loop in C

A program to find factorial for integer data-type using for loop in C - language

How Tos

How to allow remote access to MySQL database server

This article explains how to set up and allow users to have remote access to your MySQL database server.

Install Postman native app in Ubuntu

Postman is one of the most popular tools used for API testing during the development environment. It started in 2012 as a side project by Abhinav Asthana(Postman’s CEO and co-founder) to simplify API workflow in testing and development by uploading his project to the Chrome Web Store.

With Chrome Music Lab make Songs in your browser

Web Browsers are not just used for displaying web pages, images or videos. Browser developers are extending their limit every time by developing something innovative. Google has tons of Chrome Experiments which push the Chrome browser to its limits.

Install DuckDuckGo on any device to take your privacy back!

DuckDuckGo launched fully revamped versions of its browser extension and mobile app to further protect your privacy online, extending DuckDuckGo’s protection with the promise of keeping internet users safe from snooping “beyond the search box”.

Stop websites from asking the most annoying to show notifications

Web browser allows websites to show you notifications. Nowadays every damn site including YouTube, Facebook and a lot more, opens a most annoying popup asking for a permission to show notifications on your desktop.

Lists

What’s New in PHP 7.4

PHP 7.4 coming with all new features and updates on November 28th, 2019.

Programs Worth Practising for Absolute Beginners

Following programs are worth practicing for absolute beginners. As someone starts the programming, these programs help to make hands on the syntax of the language as well as work towards improving their logic and problem-solving abilities.

Private Search Engines that Do Not Track

Private Search Engines are boon to users for keeping them & their data safe. Private browsing or incognito modes in a browser does not give you the level of privacy you think of.

Installs

Install Postman native app in Ubuntu

Postman is one of the most popular tools used for API testing during the development environment. It started in 2012 as a side project by Abhinav Asthana(Postman’s CEO and co-founder) to simplify API workflow in testing and development by uploading his project to the Chrome Web Store.

Install DuckDuckGo on any device to take your privacy back!

DuckDuckGo launched fully revamped versions of its browser extension and mobile app to further protect your privacy online, extending DuckDuckGo’s protection with the promise of keeping internet users safe from snooping “beyond the search box”.