How to preview public github html repo without downloading

I’m going to cover interesting and useful tips using Github. There are many public repositories out there that contain HTML pages. If you don’t want to download the whole repo but want to take a peek at the design preview only, you can do so. To preview the file, follow these steps: First, obtain the full URL of the file, such as: https://github.com/sachinkiranti/hello-world/blob/main/index.html Next, append the obtained URL to https://htmlpreview....

July 18, 2023 · 1 min · Me

Recover Lost Laravel Migration Files From an Existing Database

While working on one of my client projects, I was shocked to see as there were no migration files in a Laravel project. They provided me the live database to work with and it was somehow okay for now but we all know what migration files do in Laravel. It was itching me and I started researching for generating the migration files by using our existing database. Here comes to the rescue, one of the packages by Bennett Treptow was just what I was looking for....

April 22, 2022 · 1 min · Me

How to Enable Php Extensions From Whm

Let’s get started. Step 1 : Get access to the WHM Log into to your WHM Click on EasyApache 4 Click on Customize Step 2 : Enable extensions/versions Toggle the php version/extensions you want to enable. Let’s go to Extensions for now If toggle bar is on then it’s enabled else disabled. Enable the required extensions. Step 3 : Save the Changes Click on Review....

April 5, 2022 · 1 min · Me

Get SSH access to your shared hosted cpanel

SSH, or Secure Shell, is used to log into a remote machine and execute commands and many other things like viewing CPU usage and performance. It creates a secure connection between two computers through a encrypted tunnel. To make a SSH connection we need an SSH Client in our computer. PUTTY and WinSCP are two popular SSH solutions for windows environment. As Both Linux and macOs have their own built-in terminals so we won’t necessarily need to download an SSH Client....

April 4, 2022 · 2 min · Me

Composer🌙Useful Commands

View the config list 1 composer config --list Checking common errors to help debug problems 1 composer diagnose Show the list of outdated packages 1 composer outdated Show information about installed dependencies 1 composer info 1 composer show For specific dependencies 1 composer show intervention/image Dependencies available 1 composer show --all Navigation Show dependency homepage or repo url 1 composer browse intervention/image --show Navigate to dependency homepage url 1 composer browse intervention/image --homepage Navigate to dependency repo url 1 composer browse intervention/image To be continued … 😄

August 16, 2021 · 1 min · Me