Skip to content

Instantly share code, notes, and snippets.

View vykhand's full-sized avatar

Andrey Vykhodtsev vykhand

  • Microsoft
  • Ljubljana, Slovenia
View GitHub Profile
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vykhand
vykhand / Spark_SQL_leakage_solution.ipynb
Created May 12, 2016 10:30
Spark SQL leakage solution for Kaggle Expedia competition
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vykhand
vykhand / 20160522_some_EDA.ipynb
Last active May 24, 2016 21:17
Interactive visualizations with Bokeh/Spark for Expedia Kaggle competition
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
"""
This script runs the application using a development server.
It contains the definition of routes and views for the application.
"""
import adal
import json
from flask import Flask
import requests
app = Flask(__name__, static_url_path='/scripts')
@vykhand
vykhand / gist:c332fd30a26ace484dfd1bf84a844abc
Created June 7, 2018 17:20
Send message to Azure Event Hub from Python
from azure.servicebus import ServiceBusService
api_key = {"namespace":"",
"policy_name":"",
"hub_name":"",
"policy_secret":""}
sbs = ServiceBusService(api_key["namespace"], shared_access_key_name=api_key["policy_name"], shared_access_key_value=api_key["policy_secret"])
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.