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
#!/usr/bin/env bash | |
# Update package lists | |
sudo apt update | |
# Install dependencies for building Python versions | |
sudo apt install -y make build-essential libssl-dev zlib1g-dev libbz2-dev \ | |
libreadline-dev libsqlite3-dev wget curl llvm libncursesw5-dev xz-utils \ | |
tk-dev libxml2-dev libxmlsec1-dev libffi-dev liblzma-dev |
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
$secretsFilePath = "secrets.json" | |
if (-Not (Test-Path -Path $secretsFilePath)) { | |
Write-Output "secrets.json not found... creating..." | |
$tenantId = Read-Host -Prompt "Enter your Tenant ID" | |
$clientId = Read-Host -Prompt "Enter your Client ID" | |
$clientSecret = Read-Host -Prompt "Enter your Client Secret" | |
$secretsContent = @{ | |
tenantId = $tenantId | |
clientId = $clientId |
OlderNewer