Md Obydullah

  https://twitter.com/obydulsa I'm Md Obydullah. I build open-source projects and write about Laravel, Linux server, modern JavaScript and web development.

   



175 Stories by Md Obydullah

Install Latest PHP (7.4), PHP-FPM on CentOS 8 /…

In this article, I’ll show you how to install the latest version of PHP with PHP-FPM on CentOS 8 / RHEL 8. Let’s start:...
Md Obydullah
1 min read

Event Handling in Vue.js with Example

Today we’re going to learn how to handle event in Vue.js. Vue jas v-on directive to listen to DOM events and run some JavaScript when...
Md Obydullah
1 min read

Sort JavaScript Array by Key in Ascending & Descending…

In this article, we are going to learn how to sort JavaScript array by key. Let’s take an array: let products = [ {name:...
Md Obydullah
29 sec read

Vue.js Access Dom Nodes using Refs

In this topic, I’m going to share how to access dom nodes using refs in Vue.js. Meaning of Refs Ref is used to register...
Md Obydullah
32 sec read

How to Auto Focus Modal Input Field in Vue.js

Hi developers, sometimes we need to autofocus an input field of modal. In this short article, I’ll show how to set autofocus an input...
Md Obydullah
53 sec read

Redirect and Alias in Vue Router

In this article, we are going to learn how to redirect and aliasing in Vue.js router. So let’s start: Table of Contents Redirect Alias...
Md Obydullah
39 sec read

Create Custom Exception Error Page In Laravel

Hey developers, today I’m going to show how to create custom error page in Laravel. We’re able to create custom error page for a...
Md Obydullah
2 min read

Redirect HTTP To HTTPS Using Laravel Middleware

There are many ways to redirect the user HTTP to HTTPS. We can redirect using .htaccess, Nginx config etc. Today we’re going to do...
Md Obydullah
36 sec read

Linux Server Real-Time Monitoring with Glances

Today I’m going share a tool to monitor any Linux server in real-time. The tool is Glances. Glances is a cross-platform system monitoring tool written...
Md Obydullah
1 min read

Easiest Way to Paginate an Array in JavaScript

Today I’m going to re-share one of the easiest ways to paginate array in JavaScript. I’ve found the method in arjun‘s blog. I like...
Md Obydullah
40 sec read

Install Docker on CentOS 8 / RHEL 8

Docker is a set of platform as a service products that use OS-level virtualization to deliver software in packages called containers. In this article,...
Md Obydullah
1 min read

Convert CSS Background SVG URL to Base64 with Node.js

In this article, I’m going to share a simple way to convert CSS’s SVG URLs to Base64 with one click. According to Wikipedia, Base64 is...
Md Obydullah
1 min read

Create Day/Night, Light/Dark or Multiple Themes in Vue.js

In this tutorial, I’m going to build a simple Vue application with two themes. We can add dynamic theme in many ways. I’m going...
Md Obydullah
4 min read

Gridsome Rewrite Rules for Dynamic Routes After Build

In this article, I’m going to share how to rewrite rules for the dynamic routes after publishing Gridsome application on live server. Table of...
Md Obydullah
51 sec read

VueJS Gridsome Frontend API Caching Using LocalStorage Tutorial

Today I’m going to share a simple way to store/cache API data using LocalStorage. LocalStorage is a type of web storage that allows Javascript websites...
Md Obydullah
1 min read

Easiest Way to Allow CORS in Laravel 6 or…

In this tutorial, I’m going to share how to allow Cross-Origin Resource Sharing (CORS) in Laravel 6 or any version of Laravel. According to...
Md Obydullah
43 sec read

Declare a Global Variable in Vue.js

In this guide, we are going to learn how to define a global variable in Vue.js. Syntax This is the syntax of declaring a...
Md Obydullah
45 sec read

Laravel 6.2 Task Scheduling with Cron Job Tutorial

Laravel’s command scheduler allows you to fluently and expressively define your command schedule within Laravel itself. When using the scheduler, only a single Cron...
Md Obydullah
1 min read