| Emoji | Label | Description |
|---|---|---|
| 🐞 | bug :beetle: |
General functional issue. |
| 🔁 | bug/regression :arrows_counterclockwise: |
Something that used to work, but doesn’t anymore. |
| 💥 | crash :boom: |
Causes the app to crash. |
| Emoji | Label | Description |
| import sys | |
| from http.server import SimpleHTTPRequestHandler, HTTPServer | |
| import os | |
| class CompressedRequestHandler(SimpleHTTPRequestHandler): | |
| """HTTP handler that supports gzip (.gz) and Brotli (.br) files.""" | |
| def end_headers(self): | |
| """Set Content-Encoding header for compressed files.""" | |
| if self.path.endswith('.gz'): |
| using System; | |
| using System.IO; | |
| using System.Text; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using System.Diagnostics; | |
| using System.Globalization; | |
| namespace MovFileIntegrityChecker | |
| { |
| using System; | |
| using System.Net.Http; | |
| using System.Text; | |
| using System.Text.Json; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace SimpleAvatarGenerator | |
| { | |
| /// <summary> |
| #target photoshop | |
| // Ask the user to select a folder | |
| var inputFolder = Folder.selectDialog("Select the folder containing PNG files to invert"); | |
| // Check if the user selected a folder | |
| if (inputFolder != null) { | |
| // Get all the PNG files in the selected folder | |
| var pngFiles = inputFolder.getFiles("*.png"); |
| Scale | Description | Examples |
|---|---|---|
| Impossible / Fictional Future | Events or worlds that could never exist or are purely imagined. | ??? |
| Made-Up / Creative Fiction | Imagined, but internally consistent within a story or game. Could exist in a fictional universe. | Magical schools, dystopian societies, alternate history novels, role-playing game quests |
| Possible / Speculative | Could happen, but hasn’t yet; relies on current science or trends. | Colonizing Mars, AI achieving general intelligence, futuristic technology prototypes |
| Real-Life / Current | Things that are actually happening today in the real world. | Everyday events |
| Concrete History / Past | Events that actually happened and are documented in history. | World War II |
| using Sirenix.OdinInspector; | |
| using UnityEngine; | |
| namespace ADG.Scripts.Runtime | |
| { | |
| [ExecuteAlways] | |
| [RequireComponent(typeof(RectTransform))] | |
| public class BackgroundScaler : MonoBehaviour | |
| { | |
| [SerializeField, Required, BoxGroup("References")] |
While working with .NET Aspire, I encountered an issue where one of my projects (adg-banner-printer) wasn’t being included in the aspire publish process. Here's a breakdown of the troubleshooting steps and the root cause:
Internal Program Class?
I initially suspected the issue might be due to the Program class being marked as internal. That wasn’t the case.
Private Main Method?
Next, I checked whether the Main method being private might be the cause. Still no effect.
| using Ardalis.SmartEnum; | |
| using FluentResults; | |
| namespace ADG.Server.Shared.Secrets; | |
| public class Secret : SmartEnum<Secret, string> | |
| { | |
| public static readonly Secret OpenAI_ApiKey = new(nameof(OpenAI_ApiKey), "OPEN_AI_API_KEY"); | |
| public static readonly Secret ElevenLabs_ApiKey = new(nameof(ElevenLabs_ApiKey), "ELEVEN_LABS_API_KEY"); |