I hereby claim:
- I am mkmurray on github.
- I am mkmurray (https://keybase.io/mkmurray) on keybase.
- I have a public key whose fingerprint is C873 A5E0 C316 6D92 1249 92BB 20F0 5C22 0037 8A02
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Policies.Reorder(x => | |
{ | |
x.WhatMustBeBefore = node => node is ErrorWrapper; | |
x.WhatMustBeAfter = node => node is InputNode; | |
}); |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using FubuCore; | |
using FubuCore.CommandLine; | |
using FubuCore.Util; | |
using StructureMap; | |
using log4net; |
<someElement param1="blah"> | |
<SparkPartial /> | |
</someElement> |
require 'rubygems' | |
require 'nokogiri' | |
require 'fileutils' | |
require 'date' | |
require 'uri' | |
# usage: ruby import.rb my-blog.xml | |
# my-blog.xml is a file from Settings -> Basic -> Export in blogger. | |
data = File.read ARGV[0] |
using System; | |
using System.Collections.Generic; | |
using System.Text; | |
using FubuMVC.Core.Assets.Files; | |
namespace Some.Namespace.Here | |
{ | |
public class UrlTransformationException : Exception | |
{ | |
string _message; |
// FuncList is a functional "cons" list type with Head value and Tail list | |
public R Fold<T, R>(this FuncList<T> list, Func<R, T, R> func, R init) { | |
if (list.IsEmpty) { | |
return init; | |
} | |
else { | |
var foldState = func(init, list.Head); | |
return list.Tail.Fold(func, foldState); | |
} | |
} |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Reflection; | |
using AutoMapper; | |
using Blah.Blah; | |
using Blah.Blah.Bootstrap; | |
using Microsoft.Practices.ServiceLocation; | |
namespace Blah.Blah.BootstrapperTasks |