From d17ca1561f43e6ab886b1fef6c9c498ef789aae2 Mon Sep 17 00:00:00 2001 From: Christopher C <37060219+cavonac@users.noreply.github.com> Date: Thu, 3 Dec 2020 08:33:51 -0800 Subject: [PATCH] Delete ConnectionDialogue.ipynb (#13634) this nb was an attempt at creating a connection dialog. removing not found in toc --- .../content/ConnectionDialogue.ipynb | 78 ------------------- 1 file changed, 78 deletions(-) delete mode 100644 extensions/azurehybridtoolkit/notebooks/hybridbook/content/ConnectionDialogue.ipynb diff --git a/extensions/azurehybridtoolkit/notebooks/hybridbook/content/ConnectionDialogue.ipynb b/extensions/azurehybridtoolkit/notebooks/hybridbook/content/ConnectionDialogue.ipynb deleted file mode 100644 index ea451af07f..0000000000 --- a/extensions/azurehybridtoolkit/notebooks/hybridbook/content/ConnectionDialogue.ipynb +++ /dev/null @@ -1,78 +0,0 @@ -{ - "metadata": { - "kernelspec": { - "name": "python3", - "display_name": "Python 3" - }, - "language_info": { - "name": "python", - "version": "3.6.6", - "mimetype": "text/x-python", - "codemirror_mode": { - "name": "ipython", - "version": 3 - }, - "pygments_lexer": "ipython3", - "nbconvert_exporter": "python", - "file_extension": ".py" - } - }, - "nbformat_minor": 2, - "nbformat": 4, - "cells": [ - { - "cell_type": "code", - "source": [ - "import sys,os,getpass,json,html,time\r\n", - "from string import Template" - ], - "metadata": { - "azdata_cell_guid": "1887c716-6e0c-41d1-9d67-cfa93884c0d6" - }, - "outputs": [], - "execution_count": 1 - }, - { - "cell_type": "code", - "source": [ - "sql_password = \"\"\r\n", - "sql_port = \"\"" - ], - "metadata": { - "azdata_cell_guid": "f3de6ea8-1ea8-43d6-9277-836b57d85845" - }, - "outputs": [], - "execution_count": 2 - }, - { - "cell_type": "code", - "source": [ - "from IPython.display import *\r\n", - "connectionParameter = '{\"serverName\":\"localhost,' + sql_port + '\",\"providerName\":\"MSSQL\",\"authenticationType\":\"SqlLogin\",\"userName\":\"sa\",\"password\":' + json.dumps(sql_password) + '}'\r\n", - "display(HTML('
Click here to connect to SQL Server
'))\r\n", - "display(HTML('
NOTE: The SQL Server password is included in this link, you may want to clear the results of this code cell before saving the notebook.'))" - ], - "metadata": { - "azdata_cell_guid": "8e5e0b41-a27d-4a73-9ba6-c0d3bd7a9a2f" - }, - "outputs": [ -{ - "data": { - "text/plain": "", - "text/html": "
Click here to connect to SQL Server
" - }, - "metadata": {}, - "output_type": "display_data" -}, { - "data": { - "text/plain": "", - "text/html": "
NOTE: The SQL Server password is included in this link, you may want to clear the results of this code cell before saving the notebook." - }, - "metadata": {}, - "output_type": "display_data" -} -], - "execution_count": 3 - } - ] -} \ No newline at end of file