This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
<!doctype html> | |
<title>Site Maintenance</title> | |
<style> | |
body { text-align: center; padding: 150px; } | |
h1 { font-size: 50px; } | |
body { font: 20px Helvetica, sans-serif; color: #333; } | |
article { display: block; text-align: left; width: 650px; margin: 0 auto; } | |
a { color: #dc8100; text-decoration: none; } | |
a:hover { color: #333; text-decoration: none; } | |
</style> |
// Requires the following references: | |
// Microsoft.Build.Engine | |
// Microsoft.Build.Framework | |
using System.Collections.Generic; | |
using Microsoft.Build.BuildEngine; | |
public static class MsBuildHelper | |
{ | |
public static bool RunMsBuild(string projectFile, string target, IDictionary<string, string> properties) |
This is a guide for aligning images.
See the full Advanced Markdown doc for more tips and tricks
open Microsoft.FSharp.Quotations.Patterns | |
open System.Reflection | |
let nullTraverse<'a> (expr: Quotations.Expr<'a>) (originObj : obj) : 'a option = | |
let inline tryGet (p : PropertyInfo) o = | |
p.GetMethod.Invoke(o,null) | |
|> Option.ofObj | |
let rec innerTraverse (nullableObj : obj) = function | |
| PropertyGet(None, props, _) -> tryGet props obj |