https://docs.goauthentik.io/integrations/services/aws/#method-2-iam-identity-center
https://docs.goauthentik.io/docs/sources/github/
https://docs.goauthentik.io/docs/sources#add-sources-to-default-login-page
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
2025-09-05T12:26:34.090212935Z 68 ┃ if (isError(input)) { | |
2025-09-05T12:26:34.090216340Z 69 ┃ return input; | |
2025-09-05T12:26:34.090219693Z 70 ┃ } | |
2025-09-05T12:26:34.090223003Z ❯ 71 ┃ const err = new H3Error(input.message ?? input.statusMessage ?? "", { | |
2025-09-05T12:26:34.090226844Z 72 ┃ cause: input.cause || input | |
2025-09-05T12:26:34.090232707Z 73 ┃ }); | |
2025-09-05T12:26:34.090236161Z 74 ┃ if (hasProp(input, "stack")) { | |
2025-09-05T12:26:34.090239912Z 75 ┃ try { | |
2025-09-05T12:26:34.090243259Z 76 ┃ Object.defineProperty(err, "stack", { | |
2025-09-05T12:26:34.090246947Z |
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
import os | |
import glob | |
from typing import List, Tuple, Dict, Any | |
from dotenv import load_dotenv | |
from llama_cloud_services import LlamaExtract | |
from llama_cloud.core.api_error import ApiError | |
# Charge les variables d'environnement (ex: LLAMA_CLOUD_API_KEY) | |
load_dotenv() |
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
api_server-1 | 09/05/2024 03:44:04 PM users.py 76 : Using Auth Type: basic | |
api_server-1 | ERROR: Traceback (most recent call last): | |
api_server-1 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/base.py", line 1968, in _exec_single_context | |
api_server-1 | self.dialect.do_execute( | |
api_server-1 | File "/usr/local/lib/python3.11/site-packages/sqlalchemy/engine/default.py", line 920, in do_execute | |
api_server-1 | cursor.execute(statement, parameters) | |
api_server-1 | psycopg2.errors.UndefinedTable: relation "connector_credential_pair" does not exist | |
api_server-1 | LINE 2: FROM connector_credential_pair | |
api_server-1 | ^ | |
api_server-1 | |
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
RUN_IDS=$(gh run list --repo $REPO --json databaseId --limit 50 | jq -r '.[1:] | .[].databaseId') | |
Delet all runs: gh run delete --repo $REPO 10143283850 |
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
import pandas as pd | |
import matplotlib.pyplot as plt | |
# Load the CSV file | |
file_path = '/mnt/data/resources(2).csv' | |
data = pd.read_csv(file_path) | |
# Calculate the number of resources per region | |
resources_per_region = data['Region'].value_counts().reset_index() | |
resources_per_region.columns = ['Region', 'Number of Resources'] |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Sid": "DenyCreateResourcesInSpecificRegions", | |
"Effect": "Deny", | |
"Action": [ | |
"*" | |
], | |
"Resource": "*", |
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
apiVersion: argoproj.io/v1alpha1 | |
kind: ApplicationSet | |
metadata: | |
name: easyappointments-preview | |
namespace: argocd | |
spec: | |
generators: | |
- pullRequest: | |
github: | |
owner: mongulu-cm |
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
import unittest | |
from typing import List, Dict | |
from tqdm import tqdm | |
def distribute_elements(stream: List[int], servers: List[str], weights: List[int]) -> Dict[str, List[int]]: | |
if len(servers) != len(weights): | |
raise ValueError("The number of servers and weights must be the same.") | |
total_weight = sum(weights) | |
normalized_weights = [weight / total_weight for weight in weights] |
NewerOlder