I hereby claim:
- I am cdrnet on github.
- I am cdrnet (https://keybase.io/cdrnet) on keybase.
- I have a public key whose fingerprint is 41C6 ACE0 ACD1 FD51 D565 2884 B33F 7C2A D58B 2816
To claim this, I am signing this object:
BEGIN MESSAGE. | |
CcmrkJmhf9WOQej 9HI52GGY2qaRODM ilnRH0aBJYaGHyQ hHSv3E1Y7bcD2yY | |
WpyMb4hAFFXATTe 8fTenPZMzQZTCKq 6Xr2MZHgg4gWM13 kWE67nKV7hiTWBM | |
ET2fwAtcdPTIGZ4 zW8kOYXSGZpPHWk gyqvBtAHcLrSOCG GusuRcoNWZp7o8K | |
ZPV6ax7spCHHQI7 l0MKUlLMLvq2VTe AgOFG21. | |
END MESSAGE. |
########## | |
# Win10 Initial Setup Script | |
# Author: Disassembler <disassembler@dasm.cz> | |
# Version: 1.7, 2016-08-15 | |
# dasm's script: https://github.com/Disassembler0/Win10-Initial-Setup-Script/ | |
# THIS IS A PERSONALIZED VERSION | |
# This script leaves more MS defaults on, including MS security features. | |
# Tweaked based on personal preferences for @alirobe 2016-11-16 - v1.7.1 |
var a = new RunningStatistics(Normal.Samples(4.0,2.0).Take(200)); | |
// Count: 200 | |
// Mean: 4.19280609640353 | |
// Variance: 3.88181490721677 | |
// Min, Max, StandardDeviation, Skewness, Kurtosis; Population-* | |
var b = new RunningStatistics(); | |
b.Push(8.0); | |
b.PushRange(Normal.Samples(8.0,1.0).Take(199)); | |
// Count: 200 |
I hereby claim:
To claim this, I am signing this object:
#I @"packages/FAKE/tools" | |
#r @"packages/FAKE/tools/FakeLib.dll" | |
open Fake | |
open System | |
let p = NuGetDefaults() | |
//let q = { p with Version = "1.2.3" } |
using System.IO; | |
using System; | |
using System.Linq; | |
public class Anagram | |
{ | |
// I am aware about, but have no intention on using | |
// `string.Equals(a, b, StringComparison.OrdinalIgnoreCase)` | |
// as that is longer | |
public static string[] Detect(string subject, string[] Candidates) |
// NuGet Dependencies: Lokad.Cloud.Storage, Rx-Main | |
// Framework Dependencies: System.Runtime.Serialization | |
using System; | |
using System.Reactive.Linq; | |
using System.Runtime.Serialization; | |
using Lokad.Cloud.Storage; | |
using Lokad.Cloud.Storage.Instrumentation; | |
using Lokad.Cloud.Storage.Instrumentation.Events; | |
namespace LokadCloudStorageInstrumentationSample |
var deployment = new DeploymentBuilder(storage); | |
deployment.Cell("default", cell => | |
{ | |
cell.Assemblies(new DirectoryInfo("C:\\MyAssemblies\\")); | |
cell.EntryPoint("MyNamespace.MyEntryPoint, MyAssembly"); | |
cell.Settings(xml => xml.Add(new XElement("MySettings"))); | |
}); | |
var deploymentName = deployment.Publish(); |
// create a complex sample vector of length 96 | |
Complex[] samples = Sample.EquidistantInterval( | |
t => new Complex(1.0 / (t * t + 1.0), t / (t * t + 1.0)), | |
-16, 16, 96); | |
// inplace bluestein FFT with default options | |
Transform.FourierForward(samples); |
double x = 0.9; | |
double res = SpecialFunctions.Erf(x); | |
// res will now have the value 0.7969082124 |