Customizing Mac Terminal

Update 2025/04/24 Changed to eza instead exa for alias for ls commands with icons, because the exa package is no longer supported. Thus, # map exa commands to normal ls commands alias ll="eza -l -g --icons" alias li="eza --icons" alias lt="eza --tree --icons -a -I '.git|__pycache__|.mypy_cache|.ipynb_checkpoints'" The full ~/.zshrc file now is: # If you come from bash you might have to change your $PATH. # export PATH=$HOME/bin:/usr/local/bin:$PATH # Path to your oh-my-zsh installation....

 February 3, 2023  •   8 min  •   1555 words  •   Suyog Garg

gitignore file

To ignore all files larger than 100MB: find ./* -size +100M | cat >> .gitignore To ignore all files larger than 100MB but with pathnames not contianing “data” and without repeating already added large file names: find ./*work*/ -not -path **data** -size +100M | sed 's|^\./||g' | cat >> .gitignore; awk '!NF || !seen[$0]++' .gitignore An Example .gitignore file with other useful settings: GNU nano 2.9.3 .gitignore # Blocklist files/folders in same directory as the ....

 January 23, 2023  •   1 min  •   156 words  •   Suyog Garg

Tips on Writing Scientific Papers

These are a list of tips and points to keep in mind when writing a research paper. The list is mostly for my own benefit ! Always use active voice ! For instance,

 January 23, 2023  •   1 min  •   33 words  •   Suyog Garg

https://iconbuddy.com/

 1 min  •   word  •   Suyog Garg

Fonts

I have a knack for fonts and typefaces. Below is a list of my favorites: Mistral® This is a Microsoft proprietary font. I have used it for the title of the blog. This is the closest it gets to my handwriting. Looks good, eh? 😄 Lato Used in the body of the blog, this open source sans-serif typeface is pleasing to the eye. Monotype Corsiva® Another of Microsoft's proprietary fonts....

 2 min  •   366 words  •   Suyog Garg