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 |
Git worktree has become a major part of how I use Git over the past year. Anytime I mention it somewhere however, I get reactions from people who have never heard about the feature. Others have heard about it, but don't know how exactly it works or why it's beneficial. That's why I decided to write a short tutorial/introduction on this awesome feature that is baked right into the very git you are already using. I hope this can help people discover worktrees and be a gentle introduction on how to get started using them.
Git worktree facilitates working with multiple branches. In a normal Git workflow, you can only ever have one branch checked out at a single time.