This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Copyright (c) 2021 Microsoft | |
# | |
# This software is released under the MIT License. | |
# https://opensource.org/licenses/MIT | |
# ============================================ | |
# AZURE ML COMPUTE INSTANCE - ENABLE SWAP FILE | |
# ============================================ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
filename="attendee-emails.txt" | |
lines=$(cat $FILENAME) | |
for user in $lines | |
do | |
az ad user show --id $user --query objectId -o tsv >> user_ids.txt | |
done |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/databricks/python3/bin/pip3 uninstall -y numpy pandas | |
/databricks/python3/bin/pip3 uninstall -y numpy || echo "Numpy uninstalled" | |
rm -R /databricks/python3/lib/python3.5/site-packages/numpy || echo "/databricks/python3/lib/python3.5/site-packages/numpy Not Found" | |
/databricks/python3/bin/pip3 install numpy pandas |