Skip to content

Instantly share code, notes, and snippets.

@veigr
veigr / DynamicDependency.csproj
Last active June 27, 2017 06:25
Automatic DependentUpon
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard1.4</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PropertyPageSchema Include="$(MSBuildThisFileDirectory)ProjectItemsSchema.xaml" />
<ProjectCapability Include="DynamicDependentFile" />
</ItemGroup>
@veigr
veigr / AutoAdjustColumnWidthBehavior.cs
Created September 13, 2018 01:28
ListView の列幅を自動的に調整する Behavior
using System;
using System.Collections.Specialized;
using System.ComponentModel;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Interactivity;
namespace BehaviorSample.Views.Behaviors
{
/// <summary>
@veigr
veigr / JsonReportToMd.cs
Last active October 31, 2018 09:57
jaredsburrows/gradle-license-plugin JSON Report to Markdown
using System.IO;
using Newtonsoft.Json;
using System.Linq;
namespace GradleLicensePluginReportJsonToMd
{
public static class Parser
{
public static string ParseToMd(string path)
{