Are you a Vim user or emacs user? Either way, here are some funny jokes on using Vim and emacs, mostly Vim though 🙂 on twitter. And mostly about exiting Vim 🙂 Did you know that How to Exit Vim is one of the most popular questions on Stack Exchange. The question pretty close to […]
How To Remove ^M Characters in Vim?
Moved  a text file between tow different operating systems? Found the annoying ^M special character? Here are ways to remove ^M character. To remove ^M within a line (without creating a a line break) :%s/^V^M//g To remove ^M within a line (creating a a line break) :%s/^V^M/^V^M/g
Great Web Tool to Learn Linux Commands
Ever wondered what these different parameters of a linux command does? One option is to lookup the meaning of each parameter in a command on a man page. For sure sure it is worth doing that, but very cumbersome. The website ExplainShell.com makes it easy to understand the meaning of each parameter in a linux […]
Eleven IPython Keyboard Shortcuts to Move Around Easily
Eleven IPython keyboard tips/shortcuts to Move Around Easily. Ctrl-p or up-arrow: Access command history in backward Ctrl-n or down-arrow: Access command history  in forward Ctrl-a: Move cursor to beginning of line Ctrl-e: Move cursor to end of line Ctrl-f: Move cursor forward one character Ctrl-b: Move cursor back one character Ctrl-l: Clear screen Ctrl-r: reverse history […]
How To Paste Code in Python Interpreter? Hint: Use ipython
If you have formatted code block with proper indentation and want to test it by copying and pasting on a python interpreter, you will be frustrated at Python for complaining at you. iPython offers great solutions coding with Python and for copying and pasting the code on the terminal. One useful command in iPython to […]