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
| html_lines.append('<!DOCTYPE html><html><body style="margin: 0; padding: 15px; background-color: #ffffff;">') | |
| # 1. Targets (Wrapped for Outlook Compatibility) | |
| target_pill_style = "display: inline-block; padding: 4px 12px; margin-right: 8px; border: 1px solid #ddd; font-family: 'Segoe UI', sans-serif;" | |
| html_lines.append('<div style="margin-bottom: 15px;">') | |
| html_lines.append(f'') | |
| html_lines.append(f'<div style="{target_pill_style}"><b>Daily:</b> {daily_t}</div>') | |
| html_lines.append(f'') | |
| html_lines.append(f'<div style="{target_pill_style}"><b>Monthly:</b> {monthly_t}</div>') | |
| html_lines.append(f'') |
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 re | |
| from openpyxl import load_workbook | |
| def rgb_to_hex(rgb): | |
| if not rgb or rgb == '00000000': | |
| return None | |
| return rgb[-6:] | |
| def excel_to_html(excel_file, html_file): | |
| wb = load_workbook(excel_file, data_only=True) |
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
| Apply Windows Security Baseline | |
| https://learn.microsoft.com/zh-tw/windows-server/security/osconfig/osconfig-how-to-configure-security-baselines?tabs=online%2Cconfigure | |
| https://learn.microsoft.com/zh-tw/windows-server/security/osconfig/osconfig-how-to-configure-app-control-for-business?tabs=configure%2Cview | |
| https://learn.microsoft.com/zh-cn/windows-server/security/osconfig/osconfig-how-to-configure-security-baselines?tabs=online%2Cconfigure | |
| https://techcommunity.microsoft.com/blog/windows-admin-center-blog/strengthening-your-security-posture-with-windows-admin-center/4389082 |
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
| "book7": { | |
| "dropdownName": "Full Page Mode 1", | |
| "siteTitle": { "en": "Full Page Mode 1", "tr": "Tam Ekran 1" }, | |
| "chapters": [ | |
| { "titles": { "en": "Introduction", "tr": "Giriş" }, | |
| "images": ["en/fullpagemode-1/1.png" , "en/fullpagemode-1/2.png" ] }, | |
| { "titles": { "en": "Content", "tr": "İçerik" }, | |
| "images": [ | |
| "en/fullpagemode-1/3.png", |
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
| <div class="galleryOverlay hidden"> | |
| <div class="closeGallery"> | |
| ✖️ | |
| </div> | |
| <p class="back opacity">◄</p> | |
| <div class="sliderImages"> | |
| <img src="" class="coverPage" alt="Book Cover"> | |
| <p class="paragraph"></p> |
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 torch, os | |
| from diffusers import StableDiffusionPipeline | |
| from moviepy.editor import ImageSequenceClip | |
| pipe = StableDiffusionPipeline.from_pretrained( | |
| "runwayml/stable-diffusion-v1-5", | |
| torch_dtype=torch.float16, | |
| ).to("cuda") |
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
| for i in {1..49}; do [ -f "$i.jpeg" ] && | |
| echo "Processing $i.jpeg..." && tesseract "$i.jpeg" "$i" 2>/dev/null && echo "=== $i.txt ===" | |
| && cat "$i.txt" && echo -e "\n"; | |
| done |
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
| 🔹 1. C# / .NET Technical Questions | |
| What is the difference between .NET Framework and .NET Core? When would you choose one over the other? | |
| How do you implement dependency injection in .NET Core? Why is it useful? | |
| Explain the difference between Task, Thread, and async/await in C#. Provide a small code example. | |
| How would you design a REST API in .NET Core for high availability? |
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
| <CascadingAuthenticationState> | |
| <Router AppAssembly="@typeof(App).Assembly"> | |
| <Found Context="routeData"> | |
| <CascadingValue Value="routeData"> | |
| <AuthorizeRouteView RouteData="@routeData" DefaultLayout="@typeof(MainLayout)" /> | |
| <FocusOnNavigate RouteData="@routeData" Selector="h1" /> | |
| </CascadingValue> | |
| </Found> | |
| <NotFound> | |
| <PageTitle>Not found</PageTitle> |
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
| using Azure.Communication.Email; | |
| using Azure.Storage.Blobs; | |
| using Invio.Extensions.Authentication.JwtBearer; | |
| using Markdig; | |
| using Microsoft.AspNetCore.Authentication; | |
| using Microsoft.AspNetCore.Authentication.JwtBearer; | |
| using Microsoft.AspNetCore.Authentication.OpenIdConnect; | |
| using Microsoft.AspNetCore.Authorization; | |
| using Microsoft.AspNetCore.Components; | |
| using Microsoft.AspNetCore.Components.Web; |
NewerOlder