Using Pass for linux

Pass is an awesome utility to store your passwords. For example you can store ssh passwords to use on terminal. Installing pass Pass works on gpg keys so you need to first generate pass key Follow instructions You can skip the passphrase (it is less secure) Initialize pass, use the email you used for gpg […]

Setting up vue-cli in docker

To setup vue-cli in docker we need nodejs and vue-cli 3. We are going to use docker-compose.yml to setup docker, paste following to your docker-compose.yml file docker-compose.yml Paste following into Dockerfile Dockerfile Now we have docker files setup, lets build the docker images After docker is built login into docker container using container id and […]

Fix magento Warning: Error while sending QUERY packet

You may encounter some error like below when installing magento with sample data [ERROR] exception ‘Exception’ with message ‘Warning: Error while sending QUERY packet. PID=227012 Fix: That error is because of low max_allowed_packet  configuration in your php.ini file, open your local (project level) php.ini file and add following For more info on magento level php.ini configuration […]

Two icons in dock?

Some time dock starts showing two icons of an app in dock, that is because dock failed to match the application window manager name (class) with the opened app. For example MongoDB Compass showing dual/two icons on the docky. To see what class name app is actually using we need to use xprop which is […]

Using systemd-boot(gummi-boot) for eufi windows dual boot

Systemd-Boot (gummiboot) Make sure “/boot” is mounted on your efi boot partition i.e /dev/sda1. After installing boot loader, configure systemd-boot loader defaults, skip it if you have chosen GRUB Change file as below, skip if you have installed GRUB Copy default arch entry to boot loader entries, skip if you have installed GRUB Add root […]

Grub missing Windows boot entry?

When installing linux along with windows you ll need to add windows boot entry to grub. Follow the steps below to add windows menu in grub boot menu. Install the os-prober, os-prober helps grub-mkconfig search for other installed systems and automatically add them to the menu. Mount the file system where windows is installed, for […]

Grub Dual Boot in UEFI Windows 10

If you are booting in EUFI mode you need to install grub in UEFI mode. First, install the packages grub and efibootmgr GRUB is the bootloader and efibootmgr is used by the GRUB installation script to write boot entries for efi systems. Mount the efi file system partition, for example it is /dev/sda2 Install Grub If you are having Windows as dual […]

Install Samba Client to Access Shared Directories by Server

We have already installed Samba Server to share directories from our PC. Lets install a sambaclient to access those shared directories. Install samba client Configure the samba client, you can create an empty conf file. SKIP THIS STEP IF YOU HAVE ALREADY CONFIGURED THE /etc/samba/smb.conf WHILE INSTALLING SAMBA Ok all done, lets explore the server […]