The official website of Bipul Raman

Create Self-Signed Certificate (.cer & .pfx)

Steps to create self signed certificate on Windows:
  1. Open visual studio Developer Command Prompt as administrator  
  2. Execute below mentioned commands in sequential order. It will create a certificate with SHA.256 algorithm.You can modify parameters as per your requirements.
    Command format:
    makecert –a SHA256 -sv SAMPLE.pvk -n "cn=SAMPLE" SAMPLE.cer -b <start_date> -e <end_date> -r
    pvk2pfx -pvk SAMPLE.pvk -spc SAMPLE.cer -pfx SAMPLE.pfx
    makecert –a SHA256 -sv "C:\Sample.pvk" -n "cn=Sample" "C:\Sample.cer" -b "10/22/2018" -e "10/22/2019" -r
    pvk2pfx -pvk "C:\Sample.pvk" -spc "C:\Sample.cer" -pfx "C:\Sample.pfx"
  3. Install the pfx file for current machine or current user as per requirements

Keeping a fork up-to-date on GitHub

When you are contributing to an open source repository on GitHub, you are allowed to make pull request only through forked repository. In that case, you will always need to keep your fork updated/in-sync with origin/master. You can follow below approach through command line to do that:
  1. Clone your fork from Origin
    git clone [email protected]:YOUR-USERNAME/YOUR-FORKED-REPO.git
  2. Jump to the root directory of your cloned fork
    cd {cloned fork path} e.g. cd D:\cloned\fork-repo
  3. Add remote from original repository in your forked repository
    git remote add upstream
    git fetch upstream
  4. Updating your fork from original repository to keep up with their changes
    git pull upstream master

File comparision with Visual Studio Code

VS Code aka Visual Studio Code is one of the FREE, Open Source, lightweight and excellent code editor with several exciting features developed by Microsoft. One of them is comparing two files. Suppose you want to compare two XML file or CSV file or anything similar then you can use VS Code.
Here are the steps to compare two files:
  1. Keep two files (say File1 and File2) in a folder
  2. Open that folder in VS Code
  3. Right click on File1 and select the option 'Compare with Selected'
  4. Right click on File2 and select the option 'Select for Compare'
You can download VS Code from here :