Posts

Connect GitHub to your machine using SSH

Image
check if you already installed or install git to your machine Setup your .gitconfig git config --global user.name "user" git config --global user.name git config --global user.email "your@gmail.com" git config --global user.email Check the existing ssh key files if it does not exist, add a new ssh key ( refer ) ssh-keygen -t ed25519 -C "your@gmail.com" determine which corresponding private key must be associated from your local computer eval "$(ssh-agent -s)" view ssh key cat ~/.ssh/id_ed25519.pub Add a new key to GitHub Account refer

How to Mirror Android Screen to Ubuntu(GNU/Linux) Desktop With Scrcpy

Image
 About Scrcpy scrcpy is an application for displaying and controlling your Android device through USB connection (or over TCP/IP). It is cross-platform (GNU/Linux, macOS and Windows) and does not require any root access. scrcpy displays only the device screen but offers great performance (30~60fps) and quality (1920×1080 or above). It’s got low latency (35~70ms) and a very low startup time (less than a second). It offers plenty of great features and is non-intrusive, with nothing left installed inside the device. scrcpy works with Android devices with at least API 21 (Android 5.0) and adb debugging must be enabled on the device. Scrcpy Features Capture configuration - mirror Android device with reduced size, bit-rate, frame rate and cropped screen Connection - wireless, multi-device or through SSH tunnel Other mirroring options - read-only, turn screen off, show touches, etc. Screen recording Window configuration - change window title, position and size, border, etc. Input control ...

Grub Not Showing For Windows

Image
  https://itsfoss.com/no-grub-windows-linux/ Brief: Cannot access Linux in the dual boot because the system boots straight to Windows without showing the grub menu? Here is a possible fix for you. So, finally, I upgraded Windows 8.1 to Windows 10 last night. Since I dual boot Windows 8.1 with Ubuntu, I was expecting to see the Grub menu at the boot so that I could choose the operating system of my choice. But the upgrade to Windows 10 from Windows 8.1 messed up the settings and it never showed Grub menu. It just kept booting into Windows 10 at each start up. Frustrating, isn’t it? It seemed as if there is no way to access Ubuntu at all. No! the Ubuntu install on the other partition was fine. It was just the UEFI settings that were different in the boot manager. I verified everything by accessing UEFI firmware settings in Windows 10 . If you too are unable to boot into Grub and reboot Windows 10 repeatedly, I am going to present you the simple solution that worked for me. Warning: P...

Ubuntu installation on computers with Intel(R) RST enabled. Issues in Ubuntu Dual Boot [Fixed]

Image
 

Install Ubuntu (20.04.1 LTS) with Windows (Dual boot mode)

Image
Install Ubuntu (20.04.1 LTS) with Windows (Dual boot mode) Normally Steps Download Ubuntu OS image file  https://ubuntu.com/download/desktop Download Rufus(3.0) ( for create bootable USB drives ) https://rufus.ie/ Install Rufus  Use Default settings  Boot devise Plug the bootable device (Pen Drive or DVD ) Open Rufus Application Select the Boot devise and IOS file. Use Default settings and set Start.  Restart the Machine Press BIOS key (F2) Change the  Secure  Boot Option Disabled Secure boot. Save (F10) and Exit (Esc / Ctrl+Alt+Del). Restart the Machine Press Boot key (F12) Select Bootable Device There can be several bootable options.  Select the Above Boot devise and Press Enter Select the Install Ubuntu Follow the Instruction And Setup the Ubuntu OS. In some Case there can Be Error message as Follows. This computer uses Intel RST (Rapid Storage Technology). You need to turn off RST before installing Ubuntu. For instructions, open this page: help.ubu...

List remote Git branches With the last commit date, commit user, Sort by most recent commit date

Find the last committed Date and Time in the current local branch : $ git log -1 --format=%cd >>>Sun Jun 14 05:03:27 2020 +0530 Find the last committed dates in current checkout local branches : ASC $ for k in `git branch | perl -pe s/^..//`; do echo -e `git show --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" $k -- | head -n 1`\\t$k; done | sort -r >>>2020-06-14 05:03:27 +0530 3 weeks ago branch2 >>>2020-05-03 10:10:41 +0000 9 weeks ago master DESC $ for k in `git branch | sed s/^..//`; do echo -e `git log -1 --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" $k --`\\t"$k";done | sort >>>2020-05-03 10:10:41 +0000 9 weeks ago master >>>2020-06-14 05:03:27 +0530 3 weeks ago branch2 Using git branch -r, you can similarly show remote branches : $ for k in `git branch -r | perl -pe 's/^..(.*?)( ->.*)?$/\1/'`; do echo -e `git show --pretty=format:"%Cgreen%ci %Cblue%cr%Creset" $k -- | head -n 1`\\...

Boot Order Issue Fix

Error :   System BootOrder not found. Initializing defaults. Creating boot entry "Boot001F" with label       "ubuntu" for file "\EFI\ubuntu\shimx64.efi"  Reset System Quick   Fix  : Press "f12" key. select one of the bootOption from available bootOptions. if it not work then try with selecting other bootOptions also. Fixing  :  Press "f2" key. goto "boot option" change the type as "UMFI" And disable "secure boot". move the correct boot select to top of the BootOption list. Now you all set. press "f6" and save chagers and restart.