bashrc with lots of functions and useful alias

Here is a link of a useful 10K lines bashrc

http://pastebin.com/LEkXXuST

You may not want to put the whole thing, but get an idea and use what you think can be helpful to you or at-least get an idea. This was not posted by me, so if you are re-using code as is, check the permissions to copy.