Skip to content

Instantly share code, notes, and snippets.

@Alois-xx
Alois-xx / ArgParser.cs
Created December 2, 2022 13:03
ColorConsole Template from old VS Console Extension written by Alois Kraus
// Console template from old VS template from 2010 https://marketplace.visualstudio.com/items?itemName=Alois.ColoredConsoleApplicationTemplate
// Original announcement: https://web.archive.org/web/20101115040531/http://geekswithblogs.net/akraus1/archive/2010/11/11/142685.aspx
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace $safeprojectname$
{
/// <summary>
...
processor.Use(ProcessRawEvents);
...
List<StackEvent> StackEvents = new List<StackEvent>();
class StackEvent
{
public TraceTimestamp TimeStamp;
public IReadOnlyList<Address> Stack;
@Alois-xx
Alois-xx / ColorConsole.cs
Created September 24, 2021 09:42 — forked from RickStrahl/ColorConsole.cs
Color Console - a simple class to add color to .NET Console commands more easily.
using System;
using System.Text;
using System.Text.RegularExpressions;
namespace MainColorConsole
{
class Program
{
static void Main(string[] args)
{