One of the common debugging option still remains in PHP is to print the values in the browser using or .
Pros and Cons for using JSON over XML – Detail Guide
JSON (JavaScript Object Notation) and JSON beautify Tools are a modern market favourite. It is common coding knowledge that JSON stores the entirety of its digital information in the form of a guide design; key combinations – thus a more convenient option because it is much simpler to fathom than other data formats. The modern…Continue Reading
PHP Variable Interpolation
Variable interpolation is adding a variable inside a string in PHP. The main thing to note is, PHP interpolation works only in double-quoted strings and the heredoc syntax. If you use interpolation inside a string with single quotes, it will just print back the same variable. In fact, the single-quoted string can not parse the interpolated…Continue Reading
Top Website Ideas To Make Money Online
Looking for top website ideas to make money online, you are in the right place to start with. It’s not rare that people searching online for the best website ideas to make money. In today’s world, everybody in need of creating a passive income, but so many of them found their steady passive income using…Continue Reading
Pros and Cons of WordPress for Web Designers
Whether you want a blog, business website, sell online courses or an online store, you can create it using WordPress. WordPress is a content management system that allows users to develop websites. During its establishment, WP was a blog platform but has since become a global CMS for all users. So, as a web designer,…Continue Reading
Laravel 8 – Ajax File Upload with Progress Bar
Today’s tutorial I will show you how to work on ajax file upload with progress bar in Laravel. File uploads are pretty much everywhere in today’s web/mobile applications. For example, in Facebook profile users want to add a photo, or in twitter handle users want to show an event picture etc. Let’s start with create…Continue Reading
Show Thumbnail Image from YouTube Video URL using PHP
Thumbnail is the preview of an image, of a group of entities such as a movie, image gallery etc. The advantages of the thumbnail is, reduced size of image, when compared to the original image used to represent something. A website or app that has thumbnails will have faster page loads rather than showing the…Continue Reading
How to Pass Argument in Bash/Shell Script?
Most of the people working on the linux environment definitely stuck in this question, how to pass arguments in a bash/shell script. The good news is you can pass any number of arguments to your script while it is executed. In this article, I will show you how to pass an argument using Linux/Mac shell…Continue Reading
Eloquent date filtering using whereDate()
As like any other PHP frameworks Laravel has certain ways to filter the data by date. Let’s say you need to filter data set based on today. So I assume you have a field created_at in your database table. Consider this simple set of functions below, it fetches all the records dated today. Apparently, this…Continue Reading
Laravel 8 Create Custom Helper Functions (Global function)
This article helps you to create a custom helper function in Laravel. You may have noticed some functions in Larave do not need to import the classes, and it’s not attached with any class name, such as optional(), route() etc. These are so called helper functions.
Automatically Set a Local Timezone for Users In Laravel
Laravel Timezone is a great package by James Mills which sets users timezone in an application and show it based on their timezone. This package listens for the event and will automatically set a timezone on your user model. This brillaint package uses the torann/geoip package which looks up the users location based on their…Continue Reading
Force HTTPS with a Middleware in Laravel
Secured URLs has a key role to secure your web application in many ways. In my opinion, you should always serve the content via a secure URL and this is one of many ways to prevent from exploits. Oftentimes, applications will have a secure URL and URL without HTTPS. So our application needs to decide…Continue Reading
Solution: Git is not fetching other remote branches when running git pull origin
I have faced a strange porblem that when I run command, it is not fetching all the remote branches available. In that case I am not able to checkout to other team member’s branches. In simple words fetch command in git doesn’t get all branches.
How To Clear MicroSoft Teams Client Cache on Mac?
It’s very common thing that clearing cache when we have something wrong with our softwares and which is not only help to save space on the device, but to ensure smooth working of the software. Below are the steps you need to follow to clear the cache of the Microsoft Teams communication software. Right Click…Continue Reading
How to Remove Multiple Elements by Key in PHP Array?
Today’s article, we will remove multiple elements by key in a PHP array. Using PHP we can delete multiple keys from an Array. In PHP there is no built in method to achieve this, but we can combine several PHP functions to achieve this. In this article we will be demonstrating two methods to remove…Continue Reading
How to enter new line in Microsoft Teams?
Did you ever hit Enter, thinking of a new line in Microsoft Teams and send a half prepared message. If then this article is for you. It’s very normal that you will have to add multiple lines in your messages. Some people uses a different text editor to type the long message and copy paste…Continue Reading
Difference between Laravel’s raw SQL functions
Laravel comes with a lot of helper functions to interact with Database efficiently . There are Eloquent which composes an ORM model, and helps to write expressive relations and queries. But some cases that’s not enough, we have to have some raw queies need to write to achieve the results. So in this article we…Continue Reading
How to clear laravel.log in Laravel?
laravel.log is a file that contains logs from various actions in laravel framework. This file is usually located in To clear laravel.log you could use the below methods easily.
How to fix docker: Got permission denied issue on Ubuntu
Problem When I ran just command on Ubuntu 20.04 LTS, it throws an error like below. But it was fine when I used .
How to create a custom console command (artisan) for Laravel
Laravel’s Aritsan(command-line interface) is well known among developers as commands are always very handy to achieve results. Laravel is not different, comes with very good setup for extending their core command interface. In Laravel, commands are generally saved in the folder. In this article, you’ll learn how to create a custom command for artisan easily…Continue Reading
How to Add Music to Videos and Edit the Audio?
Using a proper piece of background music that perfectly matches the video is very helpful for creating a mood. The good news is that it is not a daunting task to add music to video. In this article, you will learn 2 simple methods to add background music, popular songs, or an audio recording, to…Continue Reading
7 Best Softwares For Organizing Your Work Life
Whether in the office or working from home, organization in your work life can get tricky. With busy days, long to-do lists, and endless distractions, it can become overwhelming to manage tasks and prioritize your day. Even if you follow tips on how to stay productive, using additional tools can be beneficial, too. Although sticky…Continue Reading
How To Parse Json String in Javascript
It’s very often you encounter this question, that how to parse Json string in Javascript. Your best bet for this task is the a built in JSON parse for strings in Javascript.
Introduction to Magic Gradients in Xamarin.Forms
Xamarin.Forms is a fully-featured mobile app development platform that has support for astonishing features. For instance, you could possibly create an animation by using a trigger, applying a material design rule, implementing unique effects, etc. Here, in this blog, we will learn about a NuGet package called Magic Gradient which helps in adding unique effects…Continue Reading
Top 20 Alternatives to Notepad++
Notepad++ becomes a very simple and powerful tool for IT professionals. If you are interested to know, the top 20 alternatives for Notepad++, this article is for you.
How To Clone a Specific Git Branch?
Today’s quick tutorial provides the command to clone a specific Git branch. Try to use the below command from the development environment. git clone –single-branch –branch <branch-name> <remote-repo-name> This option will download only the files that are in the selected branch.
How to add Index to table column using Magento 2?
It will be advisable to add an index to a database field for better performance and quick selection of records from the database table. Use the below snippet to add an index to database field in Magento 2.
How to Force Download File from Remote Server in PHP
Usually we download the files hosted in same server using php, but in this tutorial we are showing how to download a file hosted in remote server.
How To Redirect To Previous Page in Magento 2?
Today’s tutorial we are showing how to redirect to previous page from a custom action in magento 2. This will be useful when you have an error message to show after a form submission. namespace Vendor\Module\Controller\Adminhtml\Index; class Fetch extends \Magento\Backend\App\Action { public function execute() { // TODO: Implement execute() method. $this->_redirect($this->_redirect->getRefererUrl()); } }
How to Apply the Magento 2 patch?
Change your Magento store to Developer mode php bin/magento deploy:mode:set developer Download the security patch git apply MAGENTO-9090-2020-010-1-10-04-03.patch After the above run below command to apply the patch php bin/magento setup:upgrade