Skip to content

Instantly share code, notes, and snippets.

<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no" />
<!--
ArcGIS API for JavaScript, https://js.arcgis.com
For more information about the visualization-heatmap sample,
read the original sample description at developers.arcgis.com.
@quooston
quooston / String Calculator
Last active March 18, 2024 03:48
String Calculator
Before you start:
- Try not to read ahead.
- Do one task at a time, work incrementally.
- Only test for correct inputs, no need to test for invalid inputs.
String Calculator:
1. Create a simple StringCalculator class with one method int Add(string numbers)
1. An empty string will return 0
2. A single number will return the number
@quooston
quooston / Boxy1.txt
Last active August 29, 2015 14:11
My Boxstarter Script
Update-ExecutionPolicy Unrestricted
Set-ExplorerOptions -showHidenFilesFoldersDrives -showProtectedOSFiles -showFileExtensions
Enable-RemoteDesktop
choco install sublimetext3
choco install sublimetext3.packagecontrol
@quooston
quooston / MessageVersioningAndInherritance
Created September 25, 2012 06:27
Message versioning and inherritance?
using System;
using MassTransit;
namespace ConsoleApplication8
{
interface IA { string Name { get; set; } }
interface IB : IA { string LastName { get; set; } }
interface IC : IB { int Age { get; set; } }
class HelloMessage : IC