How to perform personalized search queries with CSOM

This video shows how to build SharePoint add-ins that leverage search.
The video shows following topics:
Notice. In this sample code, we use simply console application to process requests. In production you could simply deploy this console application to be executed as scheduled task using Azure WebJob.
The sample code used in the video is available from GitHub from following location