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 |
using System; | |
using System.IO; | |
using System.Text; | |
using System.Collections.Generic; | |
using System.Linq; | |
public class MovIntegrityChecker | |
{ | |
// Common MOV/MP4 atom types | |
private static readonly HashSet<string> ValidAtomTypes = new HashSet<string> |
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"); |
using Shouldly; | |
namespace ADG.Server.AppHost.Tests.Utilities; | |
public static class DateTimeTestingExtensions | |
{ | |
public static void ShouldBeAfter(this DateTime actual, DateTime expected) | |
{ | |
if (actual <= expected) | |
throw new ShouldAssertException($"Expected {actual} to be after {expected}"); |