Whenever you make your hands dirty on some code or deploy it on your machine what things you usually check:
- working environment
- System configuration
If you wish to play around with R , Python (2 and 3), Ruby this post will be very helpful for you! It works best for python though :).
So now without worrying about your system's RAM like I used to 😂, and even working environments, I'll come straight to the solution "jupyter notebooks".
Sometimes while coding we need to install lots of dependencies (modules), we install them either directly (if we use editors like pycharm for python) or we install them using terminal. This is hectic as it takes a lot of time and most of the time we end up learning nothing.
Jupyter notebooks is an opensource web-application (http://jupyter.org/) you can set it locally or Via an Azure Virtual Machine. In this blog I'll tell you how to set it using Azure.
- Internet connection (pretty good)
- Microsoft account(you can signup it'll take couple of mins.)
Microsoft azure notebook service provides a FREE jupyter notebook, follow the steps to get started with your own notebook. I have shown using python3.
- Log into Azure Juypter Notebook server (https://notebooks.azure.com) using Microsoft account.
- Go to Libraries (top left of the page).
- Click New Library to create a library (give it a suitable name, e.g. Python Notebooks.)
- You should now be in your new library. Click Open in Jupyter to get a Jupyter environment.
- At the top-right of the page, click New Python 3. You will now have a new notebook, and you're ready to start working.
- You should now see your new Juypter Notebook
- By default, the notebook is titled "untitled", to rename your notebook simply click on untitled and enter the new name
- And its done, now you have 4GB of RAM on the go just for coding :).
It's one of the most effective way of creating interactive notebooks which contains live codes, graphical visualisation etc.
Some shortcuts while running jupyter notebooks-
- "Ctrl+Enter" to run the current cell.
- "Shift+Enter" to insert new cell.
Try it put on your own, hope this will help you become more productive.