This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script src="http://gist-it.appspot.com/github/tmori3y2/BlogSamples/blob/Article_20160223/MySampleControls/MyCollectionControls/MyCollectionControls/ViewModels/MyCollectionViewModel.cs?slice=132:147"></script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<config> | |
<add key="repositoryPath" value=".\packages" /> | |
</config> | |
<packageSources> | |
<add key="LocalPackageSource" value=".\NuGetPackageSource" /> | |
</packageSources> | |
</configuration> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
public static class Program | |
{ | |
public static void Main() | |
{ | |
var text = "Hello World"; | |
text.Dump(1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Runtime.InteropServices; | |
public static class Program | |
{ | |
public static void Main() | |
{ | |
var text = "Hello World"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Runtime.InteropServices; | |
public static class Program | |
{ | |
public static void Main() | |
{ | |
"# Zero".Dump(); | |
(0.0f).ToBinaryStringDump("Zero"); | |
(-0.0f).ToBinaryStringDump("-Zero"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Query Kind="Program"> | |
<Output>DataGrids</Output> | |
<Reference><RuntimeDirectory>\System.Xml.Serialization.dll</Reference> | |
<Namespace>System.Globalization</Namespace> | |
<Namespace>System.IO</Namespace> | |
<Namespace>System.Linq</Namespace> | |
<Namespace>System.Text</Namespace> | |
<Namespace>System.Xml</Namespace> | |
<Namespace>System.Xml.Linq</Namespace> | |
<Namespace>System.Xml.Schema</Namespace> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$WimDir = "D:\WIM" | |
$MountDir = $WimDir + "\Mount" | |
$Wim = $WimDir + "\install.wim" | |
$Name = "Windows 10 Pro" | |
cd /d $WimDir | |
md $MountDir | |
Dism /Mount-Image /ImageFile:$Wim /Name:$Name /MountDir:$MountDir | |
Dism /Image:$MountDir /Set-LayeredDriver:6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# http://tmori3y2.hatenablog.com/entry/2017/05/14/133003 | |
# import Digraph from graphviz pakage. | |
# http://graphviz.readthedocs.io/en/latest/manual.html | |
from graphviz import Digraph | |
# graphviz node with labeled by subgraph. | |
# http://d.hatena.ne.jp/simply-k/20100727/1280224098 | |
# http://nekowarau.seesaa.net/article/424645749.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Petri Net graph module. | |
# References | |
# Petri Nets World: http://www.informatik.uni-hamburg.de/TGI/PetriNets | |
# (Tutorilas): http://www.informatik.uni-hamburg.de/TGI/PetriNets/introductions/ | |
# pnml.org: http://www.pnml.org | |
# (Schema): http://www.pnml.org/version-2009/version-2009.php | |
# import Digraph from graphviz pakage. | |
# http://graphviz.readthedocs.io/en/latest/manual.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
digraph "XNode Test" { | |
graph [rankdir=LR] | |
subgraph cluster_c0 { | |
graph [bgcolor=white label="Circle Node 0" labeljust=c labelloc=t penwidth=0] | |
node [color=black fillcolor=white height=2 shape=circle style="solid, filled" width=2] | |
c0 [label=""] | |
} | |
subgraph cluster_b0 { | |
graph [bgcolor=white label="Bar Node 0" labeljust=c labelloc=b penwidth=0] | |
node [color=black fillcolor=white height=1 shape=box style="solid, filled" width=0.1] |