Programming

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…

How to put laravel app in maintenance mode

How to put laravel app in maintenance mode

Ensuring a smooth user experience during maintenance is crucial for any Laravel application. Laravel simplifies this process with its built-in maintenance mode feature. In this guide, we’ll walk you through enabling and customizing maintenance mode for your Laravel app. Enabling…

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 copy data from local to remote server via rsync

How to copy data from local to remote server via rsync

To copy files from one remote location to a local server  using rsync: Flags: -a: Archive, syncs recursively and preserves symbolic links, special and device files, modification times, groups, owners, and permissions. -v: Verbose, prints information about what files are…

How to scrape a website with Python

How to scrape a website with Python

Web scraping is the process of extracting data from websites, and it can be done using various programming languages, including Python. In this blog post, we’ll explore how to use Python to scrape a website and extract the data you…