Ubuntu

Play sound and show message when the terminal is ready in Ubuntu, also from Vagrant

Sometimes it's nice to get an alert when your terminal has finished a task.

You need to have sox installed to play a sound with the "play" command:

sudo apt-get install sox

Add this to your ~/.bashrc file (remember to also source it) to play a sound and show the text "Ready" at the top of your screen:

Installing Scrapy with Anaconda Python virtual environment on Ubuntu 16.04

With Scrapy you can crawl web sites and get their content, mainly text and images. Since it isn't possible to install Scrapy with sudo apt-get install scrapy, the recommended way is to install it inside a virtual Python environment called Anaconda.

With these commands you can get Scrapy up and running on Ubuntu 16.04: