ҫиччӗ - 七 (しち)
ӗнчӗ - 真珠(しんじゅ)
анне - 姉 (あね)
different words for elder sister, younger sister, elder brother, younger brother
different words for mom, my mom, dad, my dad
| # execute in bash | |
| stacks=$(az stack sub list --query "[?starts_with(name, 'stack-iac-demo')].name" -o tsv) | |
| for name in $stacks; do az stack sub delete --name "$name" --action-on-unmanage deleteAll --yes; done |
| trigger: none | |
| schedules: | |
| - cron: "0 12 * * 5" | |
| displayName: Weekly Friday Report | |
| branches: | |
| include: | |
| - main | |
| always: "true" |
| # https://earthquake.usgs.gov/earthquakes/feed/v1.0/summary/1.0_day.geojson | |
| from pathlib import Path | |
| import json | |
| import plotly.express as px | |
| def get_contents(): | |
| path = Path('data/1.0_day.geojson') | |
| contents = path.read_text(encoding='utf-8') | |
| all_eq_data = json.loads(contents) |
| # This is a simple python script | |
| # that loads all the pages through Azure DevOps APIs | |
| # including their content (in markdown) and remote urls | |
| # it can then be used in an AI solution | |
| from azure.identity import DefaultAzureCredential | |
| import requests | |
| import json | |
| # run az login first |
| import requests | |
| import urllib | |
| graph_base_url = 'https://graph.microsoft.com/v1.0' | |
| sharepoint_domain = 'takana17.sharepoint.com' | |
| directory = 'DOWNLOAD-PATH' | |
| bearer_token = '<BEARER-TOKEN-HERE>' | |
| doc_abs_url = 'FILE-LINK' |
| # get token separately or copy from Graph Explorer | |
| read token | |
| # token should have ExternalConnection.ReadWrite.All in scope | |
| # authorized app id should be the app with ExternalItem.ReadWrite.OwnedBy | |
| curl -X PATCH --location 'https://graph.microsoft.com/v1.0/external/connections/<YOUR-CONNECTION>' \ | |
| --header 'Content-Type: application/json' \ | |
| --header "Authorization: Bearer $token" \ | |
| --data '{"id": "<YOUR-CONNECTION>", "configuration": {"authorizedAppIds": ["D49F988A-8F92-46C1-922F-42B209B40042"]}}' |
ҫиччӗ - 七 (しち)
ӗнчӗ - 真珠(しんじゅ)
анне - 姉 (あね)
different words for elder sister, younger sister, elder brother, younger brother
different words for mom, my mom, dad, my dad
| # Configuration | |
| #$clientId = "80af6542-67be-49fe-8b06-d574e318fe78" # Replace with your client ID from Azure Portal | |
| $clientId = "7c98abdd-386f-4aa8-881d-608edf021971" # tolle-aap_2024-02-05_unrestricted | |
| # $clientSecret = "7lD8Q~TST16s1aZcC84O5hchtuO5AhzQSjl9gcqp" # Replace with your client secret from Azure Portal | |
| $clientSecret = ".Cu8Q~T89P6JlSEye63FNsoLspLTPWSb0B3MJcQ" | |
| $tenantId = "12f488e2-8612-483f-ac92-10d86b99f9e3" # Replace with your tenant ID | |
| $recipientEmail = "[email protected]" # Replace with the recipient's email address | |
| # $fromEmail = "[email protected]" | |
| $userId = "3cf384a6-a354-44e1-9f96-01e843c50945" # tolle-aap- user | |
| $fromEmail = "[email protected]" |
| // https://gist.github.com/mirontoli/a3dd9d9618477f1ddc5311c509bb8bab | |
| /* | |
| set up a project | |
| npm init | |
| npm install axios | |
| npm install puppeteer-core | |
| The node version I had in this project is v18.17.1 |