Skip to content

Instantly share code, notes, and snippets.

View jsolarz's full-sized avatar

Jonathan jsolarz

View GitHub Profile
@karenpayneoregon
karenpayneoregon / ExceptionHelpers.cs
Created December 23, 2023 16:39
Using Spectre.Console NuGet package to colorize runtime exceptions
/// <summary>
/// Custom setting for presenting runtime exceptions using AnsiConsole.WriteException.
///
/// The idea here is to present different types of exceptions with different colors while
/// one would be for all exceptions and the other(s) for specific exception types.
/// </summary>
public class ExceptionHelpers
{
/// <summary>
/// Provides colorful exception messages in cyan and fuchsia
#!/bin/bash
iatest=$(expr index "$-" i)
#######################################################
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me
#######################################################
# Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc