Sunday, December 26, 2021

Do you consider your reporting manager as your mentor?

 I was talking to a friend and she kept comparing what I was saying with her manager. She believe all managers just say things which are complete bullshit and nothing good comes out of thier mouth. From my end I was completely logical and honest and saying from my experience. I observed she is not alone, everyone does that because of 2 reasons 


1. People don't trust thier managers.

2. People think it's manager's job to lecture and ignore him as much as possible. 

3. Usually managers have more experience and managers talk based on thier experience and it's difficult to understand the same without personally having those experiences. 


I am not claiming all managers are honest and/or always corect but sometime when they are honest and correct and try to help us, we ignore them because of above reasons. 

Sunday, October 24, 2021

Random Notes

How to sum values of one column in command line.

cat <file with one column of values> |  paste -sd+ - | bc


How to change vim type to take keyboard input in normal form


Create a file ~/.vimrc if already not exist add below line to it
"set nocp"


What to do if mouse/touchpad stops working on ubuntu suddenly ?

run following commands, it will remove and install the psmouse module of ubuntu
sudo modprobe -r psmouse & sudo modprobe psmouse