Installing tmux on CentOS server

🧵 Building libevent, ncurses, and tmux Without sudo on a CentOS Server (While Escaping Anaconda) This guide shows how to install ncurses, libevent, and tmux locally under $HOME, without sudo, and without interference from Anaconda, on older CentOS systems. 🧼 Step 1: Start a Clean Build Shell env -i bash --noprofile --norc Then set up the build environment manually: export HOME=/home/yourusername export PATH=/usr/bin:/bin:/usr/local/bin export LD_LIBRARY_PATH= export LIBRARY_PATH= export PKG_CONFIG_PATH="$HOME/local/lib/pkgconfig" export CFLAGS="-I$HOME/local/include -I$HOME/local/include/ncursesw" export LDFLAGS="-L$HOME/local/lib -Wl,-rpath=$HOME/local/lib" 📦 Step 2: Install ncurses Locally If your system is missing the ncursesw headers, or has an old version, build your own:...

 June 17, 2025  •   2 min  •   359 words  •   Suyog Garg

How to use Git With Dropbox?

Problems I have encountered using Dropbox: Dropbox storage space available for use is really low, and is consumed relatively easily because of the .git folder. Dropbox real time sync has issues with git if multiple computers work on a project simultaneously. Although, it has been rare that I have encountere this. My current solution for this problem is as follows: Move the most space consuming .git folders outside of Dropbox. This way Dropbox won’t be syncing these large folders....

 April 2, 2025  •   2 min  •   413 words  •   Suyog Garg

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

git submodules are erroneous

In the name of sheer simplicity, it would be advised to best not use the git submodule utility ! If there is the utmost need to have one directory within the other, then try to have only git repository among them, yeah. Or else, try to separate out the repositories into separate folders, yah ! It may happen that you may not be able to see new changes in the main directory after using submodule for a while....

 May 2, 2024  •   1 min  •   127 words  •   Suyog Garg