Installing nodejs on CentOS 7 with NVM

Using NVM(Node Version Manager) we can have multiple nodejs versions and switch between them quickly. I am doing this on CentOS 7. # install nvm curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash # open a new terminal and check the version nvm –version # install latest node LTS and check version nvm install –lts node –version npm…

MSSQL: Session and Request info, Blocking sessions

Here is a list of queries that can be helpful if you are trying to troubleshoot locks and blocking sessions on SQL server. — to get session and connections on the server SELECT * FROM sys.dm_exec_sessions AS sess JOIN sys.dm_exec_connections AS conn ON ( sess.session_id = conn.session_id ); — another command to see details EXEC…