I hereby claim:
- I am mstum on github.
- I am mstum (https://keybase.io/mstum) on keybase.
- I have a public key whose fingerprint is 5EB3 3CFF 93DE 63E7 40CF E31A 6A91 BC77 F123 9A88
To claim this, I am signing this object:
Microsoft.AspNet.WebApi.WebHost | |
Microsoft.AspNet.WebApi.OData | |
protected void Application_Start(object sender, EventArgs e) | |
{ | |
WebApiConfig.Register(GlobalConfiguration.Configuration); | |
} | |
public static void Register(HttpConfiguration config) | |
{ |
/* | |
A C-program for MT19937, with initialization improved 2002/1/26. | |
Coded by Takuji Nishimura and Makoto Matsumoto. | |
Before using, initialize the state by using init_genrand(seed) | |
or init_by_array(init_key, key_length). | |
Copyright (C) 1997 - 2002, Makoto Matsumoto and Takuji Nishimura, | |
All rights reserved. | |
Copyright (C) 2005, Mutsuo Saito, |
#include "Level.h" | |
#include <fstream> | |
#include <sstream> | |
std::string Level::GetName(){ | |
// Should this return a Pointer? | |
return _name; | |
} | |
int Level::GetPlayerStartX() { |
// ReSharper Template to make "rnn" a shortcut to Requires.NotNull | |
// For use with the Validation NuGet Package by @AArnott | |
// https://www.nuget.org/packages/Validation | |
// https://github.com/AArnott/Validation | |
// C# Pre-6 | |
Validation.Requires.NotNull($param$,"$param$"); | |
// C# 6 | |
Validation.Requires.NotNull($param$, nameof($param$)); |
using System; | |
namespace mstum.utils | |
{ | |
/// <summary> | |
/// A Date type for .net, essentially a <see cref="DateTime" /> without the time portion. | |
/// </summary> | |
/// <remarks> | |
/// If using Dapper, use this to map directly to a Date column in SQL Server: | |
/// <code>SqlMapper.AddTypeMap(typeof(Date), DbType.Date);</code> |
I hereby claim:
To claim this, I am signing this object:
using System; | |
namespace CSharp7Features | |
{ | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
OutVariables(); |
I hereby claim:
To claim this, I am signing this object:
<#@ template debug="false" hostspecific="false" language="C#" #> | |
<#@ assembly name="System.Core" #> | |
<#@ import namespace="System.Linq" #> | |
<#@ import namespace="System.Text" #> | |
<#@ import namespace="System.Collections.Generic" #> | |
<#@ output extension=".cs" #> | |
<# | |
var nsName = "Testing"; | |
var className = "MyTestClass"; | |
var accessor = "public"; |
Server: | |
* Enable-PSRemoting (use sconfig for that) | |
* Enable-WSManCredSSP -Role Server | |
Client: | |
* Run PowerShell as Admin | |
* Enable-PSRemoting | |
* Set-Item WSMan:\localhost\Client\TrustedHosts -Value "fqdn-of-hyper-v-host" | |
* -Concatenate can be used to add | |
* https://stackoverflow.com/questions/21548566/how-to-add-more-than-one-machine-to-the-trusted-hosts-list-using-winrm |