This tip may be obvious to many people, but I feel this worth mentioning. A lot of us have SSH keys set up for github. I found out today, from a friend (github/sakshamsharma) that you can actually share your public keys with others by giving them your github username. For example,
curl https://github.com/pallavagarwal07.keys >> ~/.ssh/authorized_keys
would give me ssh/scp access to your PC.
With the recent upgrade to Windows 10, Microsoft fixed many of the things that I despised in Windows 8. I don't usually use Windows if I can avoid it, but unfortunately, some of my work requires me to use it anyway. For those times, one of the basic needs for me is an SSH client. A LOT of the time I'm programming directly on a SSHed server machine.
This tip is for those people who have been working on large python projects and the fact that python is a slow language as compared to statically compiled languages has finally caught up with them. This tip is about Cython, what it is and where can you use it for maximum effect.
What is Cython?
From the docs themselves,
Cython is an optimising static compiler for both the...
We all love to characterise things as "More than the sum of it's parts". We'd like to say the same about our linux operating system. My ARCH is more than the sum of it's parts! Well.. no.
A linux system is exactly the sum of it's parts. And most of those parts are connected to the base package manager, the beast that acts like a framework, holding everything together.
One of the best things about vim is its ability to create custom mappings for almost any key in all modes.
Suppose you want Ctrl+S to save your document while you are in insert mode, because pressing<Esc>:w<Enter>i
to switch to normal mode, save the file, and return back to insert mode is a bit too much. According to vim philosophy, it actually is too much, and thus you...
Just when you thought vim couldn't surprise you anymore, vim strikes again. As it turns out, vim supports mouse integration even in the terminal. Not only that, the support is mind blowingly simple and amazing. You can move your cursor, select text and even resize your panes in a split screen.
Most websites just say to use set mouse=a in your .vimrc to add mouse support to your vim. However,...