Saturday, December 28, 2019

Check to travel to any destination



TravelDoc can determine whether you have the necessary documentation to travel to any destination, or whether you will need additional documentation such as a visa for your journey.


https://www.traveldoc.aero/



Also, this:
https://www.iatatravelcentre.com/passport-visa-health-travel-document-requirements.htm


Tuesday, December 24, 2019

Verify sha256 checksum



How to verify sha256 checksum:


So, you have filename(whose checksum needs to be verified) and
its checksum file as filename-CHECKSUM.

# ls  -l
filename
filename-CHECKSUM


You can use the command
# sha256sum    -c   filename-CHECKSUM.

Where -c stands for:
  -c, --check          read SHA256 sums from the FILEs and check them


Thursday, December 19, 2019

Decode using base64



To  decode the file

# base64 --decode /tmp/encoded.txt > /tmp/decoded.txt


To  decode the content

# echo "value to decode" |  base64 -d





Cloning private repo in github



For cloning private repo, use the following format:

git clone git@github.com:username_whatever/reponame_whatever.git

--
Please note you need to have ssh key added in your github account.

Follow this:
https://help.github.com/en/github/authenticating-to-github/adding-a-new-ssh-key-to-your-github-account
--


Tuesday, December 10, 2019