Tips

How to Run the Laravel 12 Scheduler on Hostinger

How to Run the Laravel 12 Scheduler on Hostinger

What the Laravel Scheduler Is Laravel’s task scheduler lets you define scheduled jobs inside your application instead of managing multiple cron entries. You register all scheduled tasks in one place, and a single cron job triggers Laravel every minute to…

How to Configure Timezone Settings on Ubuntu

How to Configure Timezone Settings on Ubuntu

In this guide, we’ll walk you through the step-by-step process of setting the timezone on Ubuntu to manage your Linux Virtual Private Server (VPS) effectively. Ensure you log in as a root user to perform the following actions. Using the…

A Guide to Setting Up ZSH Aliases on Linux and Mac

A Guide to Setting Up ZSH Aliases on Linux and Mac

For those who rely on Linux, the terminal is a powerful ally, aiding in tasks like file system navigation, package updates, and installations. However, lengthy commands can be time-consuming, especially for frequent tasks. This is where the magic of command…

Laravel: Redirect back to previous page after login

Laravel: Redirect back to previous page after login

In laravel 10 you can achieve that with breeze installed through the below code in the AuthenticatedSessionController use Illuminate\Support\Facades\Redirect; class AuthenticatedSessionController extends Controller { /** * Display the login view. * * @return \Illuminate\View\View */ public function create() { if…

How to connect without password using SSH (passwordless)

How to connect without password using SSH (passwordless)

SSH Secure Shell Protocol is a cryptographic protocol for secure data connection and remote command execution. From the terminal, we create an ssh key pair through issuingand: ssh-keygen Press Enter three times until the command finishes. A public key file “~” and a private…