Skip to content

Instantly share code, notes, and snippets.

VisualMelon

Block or report user

Report or block VisualMelon

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@VisualMelon
VisualMelon / AsciiArcLength.cs
Created Mar 29, 2017
Solver and Testcases for AsciiArcLength
View AsciiArcLength.cs
using System;
class Program
{
static void Main(string[] args)
{
if (args[0] == "gen")
GenerateRandom();
else if (args[0] == "len")
Console.WriteLine(Measure().ToString("0.00"));
@VisualMelon
VisualMelon / testcase0solution.txt
Last active Mar 26, 2017
OfficeEscape Worked Example
View testcase0solution.txt
Required Effort: 139
Probability of Success: 0.503151054609375
#######################
# = #
! = !
# ! = #
#################= #
# # = #
# # = #
# # = #
@VisualMelon
VisualMelon / OfficeEscapeSolver.cs
Last active May 7, 2017
OfficeEscapeSolver, Action file, Test Cases, and PowerShell Test Script
View OfficeEscapeSolver.cs
using System;
using System.Collections.Generic;
using System.Linq;
namespace OfficeEscapeSolver
{
public struct Vector
{
public static Vector Zero = new Vector(0, 0);
@VisualMelon
VisualMelon / HeatMapSeries.cs
Last active Feb 27, 2016
Changes to HeatMapSeries
View HeatMapSeries.cs
// --------------------------------------------------------------------------------------------------------------------
// <copyright file="HeatMapSeries.cs" company="OxyPlot">
// Copyright (c) 2014 OxyPlot contributors
// </copyright>
// <summary>
// Specifies how the heat map coordinates are defined.
// </summary>
// --------------------------------------------------------------------------------------------------------------------
namespace OxyPlot.Series
View BasicStdioExample.cs
using System;
namespace StdioComms
{
class Program
{
public static void Main(string[] args)
{
if (args.Length > 0 && args[0] == "client")
{
You can’t perform that action at this time.