Posts

Showing posts from March, 2018

Installing new packages behind proxy

There are 2 main ways to do this : pip install pandas python -m pip install pandas --proxy proxy..com:3128 Second option has many other parameters which can be passed. For installing via notebook, we can do as follows : import sys !{sys.executable} -m pip install numpy !{sys.executable} -m pip list --user 

Converting screen into tmux ( terminal multiplexer )

We have beutiful program called tmux which allows us to see multiple terminal windows at the same time. We can covert screen in doing something similar. To split vertically: ctrl + a then |. To split horizontally: ctrl + a then S (uppercase 's'). To unsplit: ctrl + a then Q (uppercase 'q'). To switch from one to the other: ctrl + a then tab We can save layouts in screenrc so that we wont have to keep doing this as well.