728x90 전체 글441 task 샘플 using System;using System.Collections.Generic;using System.Threading;using System.Threading.Tasks;public class KiwoomApiManager{ private static KiwoomApiManager _instance; private static readonly object _lock = new object(); // 요청에 대한 응답을 기다리는 TaskCompletionSource들을 저장할 사전 private readonly Dictionary> _responseTasks = new Dictionary>(); private const int TimeoutMilliseconds = .. 2024. 11. 6. blazor 새창 열기 및 포커스 줌 설정 // wwwroot/js/childWindow.jsfunction openWindowWithZoomAndFocus(url) { const childWindow = window.open(url, "_blank"); // 자식 창이 열렸는지 확인한 후 포커스와 줌을 설정합니다. if (childWindow) { childWindow.focus(); // 포커스를 자식 창에 맞춥니다. childWindow.onload = () => { childWindow.document.body.style.zoom = "80%"; }; }} builder.Services.AddScoped(); @inject IJSRuntime.. 2024. 10. 30. trivy operator + oras 보호되어 있는 글 입니다. 2024. 10. 26. prometheus helm dry run helm upgrade prometheus prometheus-community/prometheus --namespace monitoring --dry-runRelease "prometheus" has been upgraded. Happy Helming!NAME: prometheusLAST DEPLOYED: Fri Oct 25 09:44:25 2024NAMESPACE: monitoringSTATUS: pending-upgradeREVISION: 3TEST SUITE: NoneHOOKS:MANIFEST:---# Source: prometheus/charts/alertmanager/templates/serviceaccount.yamlapiVersion: v1kind: ServiceAccountmetadata.. 2024. 10. 25. 이전 1 2 3 4 ··· 111 다음 728x90