Access VS Code via the Terminal

To access and open VS Code directly from your terminal, do the following: Open your Bash or zsh profile. open ~/.zshrc Add path to the VS Code application to your PATHS variable. # Add Visual Studio Code (code) export PATH="$PATH:/Applications/Visual Studio Code.app/Contents/Resources/app/bin" Reload your updated terminal profile. source ~/.zshrc You can now open VS code by running code xxx from anywhere in your computer. References: https://code.visualstudio.com/docs/setup/mac

 March 17, 2025  •   1 min  •   66 words  •   Suyog Garg

Customize Linux Terminal!

A good way to prettify and enhance the outlook of a linux bash terminal is to use synth-shell. Do: git clone --recursive https://github.com/andresgongora/synth-shell.git cd synth-shell sudo chmod +x setup.sh ./setup.sh Additionally, neofetch can be installed on top synth-shell to further enhance the way in which the system summary is presented on the log-on screen. However, this requires root access to use apt, yum or dnp package manager. Since for remote clusters the root access is usually not available, this is optional....

 March 14, 2025  •   3 min  •   458 words  •   Suyog Garg

How to use LIGO Data Grid CIT as KAGRA-only Member

As a member of only the KAGRA collaboration and LIGO, in the LIGO-Virgo-KAGRA or IGWN Consortium, the process of obtaining access to LIGO Data Grid (LDG) clusters is not straight-forward. First of all, follow steps from Eric’s page here if ya have a LIGO account. KAGRA members need to request LDG authentication access using the form available at this link: https://registry.igwn.org/registry/co_petitions/start/coef:25 Once you have filled the LDG access form, you should be able to see an option to add your computer’s SSH public key....

 March 14, 2025  •   2 min  •   240 words  •   Suyog Garg

How to install gwpopulation on MacOS

Basic gwpopulation installation To install gwpopulation do: Create a new Conda environment : conda create --name monash Activate the new environment : conda activate monash Use conda-forge to install gwpopulation : conda install -c conda-forge gwpopulation Check if import the installed package works or not : python3 -> import gwpopulation Maybe there is a package dependency conflict and the import doesn’t work ! Perhaps, it’s the following error that pops up :...

 March 11, 2025  •   4 min  •   673 words  •   Suyog Garg

Guide to Hugo PaperMod Website

 January 17, 2025  •   0 min  •   0 words  •   Suyog Garg