Laravel has the Carbon dependency attached to it. So, in order to perform basic to complex date and time calculations you can use this dependency. In this tutorial we will see some examples of addMinute and addMinutes methods of Carbon class.…
How to build a basic Frontend Application using Laravel and Livewire
Laravel framework is primarily used to create backends and APIs. Traditionally, it can leverage PHP to build frontends using blade template system. However, in order to build more interactive web pages developer may prefer to use Javascript frameworks such as…
Auto Renew Let’s Encrypt Certificates using Certbot
Let’s encrypt SSL certificates are issued for 90 days by default. After 90 days, you need to renew your SSL certificate. You can renew your Let’s Encrypt SSL certificate before 30 days of expiration. Renewal can be done manually or…
How to compress and extract files using tar command in Linux – Basic Example
Here is a quick example of how to compress and extract a tar files in linux operating system. We can see what are the available options we have got of tar command by doing: man tar or tar –help We…
How to Publish ReactNative Expo Mobile App to Apple App Store and Google Play Store
In this tutorial, I will walk you through the entire process of publishing a ReactNative Expo Mobile App. In the tutorial, we will use Expo for building and publishing ReactNative App. Challenges in Publishing a ReactNative Expo Mobile App In…
EnlighterJS CSS: Syntax Highlighter Basic Example
EnlighterJS CSS: Syntax Highlighter Basic Examples of CSS Language in all available themes at the time of making this post. Language: CSS, Theme: Classic /* buttons used in codegroups + toolbar */ .enlighter-btn{ display: inline-block; margin: 0px 5px 0px 5px;…
Deploy React App on Ubuntu 22.04 LTS on Amazon EC2 instance
React, also known as React.js or ReactJS, is a free and open-source front-end JavaScript library for building user interfaces based on UI components. ReactJS is maintained by Meta (formerly Facebook) and a community of individual developers and companies. Some of…
How to add ubuntu user to www-data group in Ubuntu
The default user in a Ubuntu system is named ubuntu. On the other hand www-data is the user that web servers on Ubuntu (Apache, nginx, for example) use by default for normal operation. It also means that the web server…
How to Remove Appends Attributes from Laravel Eloquent Model
In Laravel the set{Attribute}Attribute accessor methods are used to set new attributes in a model. For example, we do use $appends property to create our popular “full_name” attribute to combine “first_name” and “last_name” attributes. Following the syntax to define $appends…
How TO – Remove a Property from an Object in JavaScript
JavaScript is the world’s most popular programming language. JavaScript is the programming language of the Web. JavaScript is easy to learn. In this simple tutorial we will learn to remove a property of a JavaScript object. A sample JavaScript object…