Git to Bluehost: Uploads web files to the Bluehost shared hosting server from local repository using Git

First of all you need to enable SSH service for your hosting. You can contact bluehost customer service for that. Now let’s go to the main point. Suppose you’ve a website project on your PC named coderoffice and you use git to manage the project. Now you can take the advantage. You can easily update your website…

Setup custom screen resolution on Linux Mint 19.2 and save

cvt 1920 1080 Copy the modeline from “1920×1080 to +vsync xrandr –newmode “1920x1080_60.00”  173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync xrandr –addmode VGA-1 1920x1080_60.00 Save settings: sudo nano ~/.profile Paste above xrandr –newmode and xrandr –addmode full command lines at the bottom of the .profile file and save it.

Add vHost at XAMPP on Linux Mint 19.2

sudo nano +488 /opt/lampp/etc/httpd.conf Uncomment: Include etc/extra/httpd-vhosts.conf sudo nano /opt/lampp/etc/extra/httpd-vhosts.confInsert the following lines: <VirtualHost *:80>     DocumentRoot “/home/user/Documents/myweb”     ServerName myweb     ErrorLog “logs/myweb-error.log”     CustomLog “logs/myweb-access.log” combined     <Directory “/home/user/Documents/myweb”>         Require all granted        AllowOverride All     </Directory> </VirtualHost> sudo nano /etc/hostsInsert: 127.0.0.1 …

Setup Google Chrome on Manjaro 20 (Arch Linux)

1. The base-devel and git packages are needed to installed google chrome on Manjaro 20 Xfce. Enter the following command to install base-devel package.sudo pacman -Syu base-devel –needed 2. Get AUR chrome package and install it by the following commands.git clone https://aur.archlinux.org/google-chrome.gitcd google-chromemakepkg -slssudo pacman -U google-chrome-83.0.4103.61-1-x86_64.pkg.tar.xz 3. Open Google Chrome from the Start Menu.

Arch Linux installation

Drive Partitioning and Formattingcfdisk /dev/sdamkfs.ext4 /dev/sda1mkswap /dev/sda2swapon /dev/sda2mount /dev/sda1 /mnt Packages Installationping google.comnano /etc/pacman.d/mirrorlist Bangladesh and Singapore Mirrors only pacstrap /mnt base linux grub nano dhcpcd htop sudogenfstab -U /mnt >> /mnt/etc/fstabarch-chroot /mntpasswd Time and Language settings (It could be done after the installation too)ln -sf /usr/share/zoneinfo/Asia/Dhaka /etc/localtimenano /etc/locale.gen en_US.UTF-8 UTF-8 locale-gennano /etc/locale.conf LANG=en_US.UTF-8 Network…

Basic git commands

Get git version: Set global user name: Set global email: Clone a repository: git clone https://github.com/your/repository.git To get up to date from remote repo: git pull Check git status: git status To initialize: git init To stage edited files: git add . To commit the changes: git commit -m “Changing summary” To set a remote…

Set custom screen resolution on Manjaro (Arch Linux based) distro

1. First install xorg-xrandr package if xrandr does not work 2. Create 10-dellmonitor.conf file under /etc/X11/xorg.conf.d directory 3. Enter the following lines in that file and saveSection “Monitor”    Identifier “VGA1”    Modeline “Dell” 173.00 1920 2048 2248 2576 1080 1083 1088 1120 -hsync +vsync    Option “PreferredMode” “Dell”EndSection 4. Reboot the computer

Enabling https (SSL) on LAMPP (XAMPP) at ubuntu 18.04 (Linux)

To enable the https e.g. SSL request on XAMPP/LAMPP at ubuntu 18.04 linux system please follow the instructions below. sudo openssl req -x509 -nodes -days 3650 -newkey rsa:2048 -keyout Documents/https_ssl.key -out Documents/https_ssl.crt sudo nano /opt/lampp/etc/extra/httpd-vhosts.conf # Non-SSL or http hosts<VirtualHost *:80>       DocumentRoot “/opt/lampp/htdocs/”       ServerName localhost</VirtualHost><VirtualHost *:80>       DocumentRoot “/opt/lampp/htdocs/test/”     …