On VS Code on macOS, how to keep two projects open in macOS window tabs (instead of two windows)?

Go to Preferences > Settings. Search for native tabs Check the checkbox Code will prompt for restart to take effect. After restart, make sure you have multiple projects open. And then merge all windows as shown below: Enjoy multiple tabs in single window. Note: I think this applies to all Mac OS >= Sierra. Tested … Read more

Unable to get Angular CLI version, though all the requirements are installed?

Angular CLI requires a current, active LTS, or maintenance LTS version of Node (https://angular.io/guide/setup-local#nodejs). which version 11 isn’t. Node.JS 11 is no longer supported by the Node.Js team as after six months, odd-numbered releases (9, 11, etc.) become unsupported. More info: https://nodejs.org/en/about/releases Solution : Upgrade Node version to 12+

Installing Ruby gems not working with Homebrew

Homebrew is nice. However unlike brew and npm, gem does not make aliases in /usr/local/bin automatically. Solution I went for a very simple approach (as of March 2020): # Based on “`brew –prefix ruby`/bin” export PATH=/usr/local/opt/ruby/bin:$PATH # Based on “`gem environment gemdir`/bin” export PATH=/usr/local/lib/ruby/gems/3.0.0/bin:$PATH Add this to your .bashrc (or .bash_profile, .zshrc, etc.). That’s it! … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)