Skip to content

Instantly share code, notes, and snippets.

digraph PetriNet {
graph [bgcolor=white label="PetriNet Sample" labeljust=l labelloc=t nodesep=0.5 penwidth=0 rankdir=LR ranksep=0.5 style=filled]
subgraph cluster_net {
graph [bgcolor=white label="PCB Etching Process" labeljust=c labelloc=b penwidth=0 style=filled]
subgraph cluster_pageTop {
graph [bgcolor=white label="PCB Etching Phase" labeljust=c labelloc=b penwidth=1 style=filled]
subgraph cluster_placeCu {
graph [bgcolor=white label="Copper Layer" labeljust=c labelloc=t penwidth=0]
node [color=black fillcolor=white height=1 shape=circle style="solid, filled" width=1]
placeCu [label=1]
<Query Kind="Program">
<Output>DataGrids</Output>
<Reference>&lt;RuntimeDirectory&gt;\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>
@tmori3y2
tmori3y2 / SetThreadExecutionStateWindow.linq
Created July 15, 2017 00:07
LinqPad Script to avoid the sleep mode on running DISM command.
<Query Kind="Program">
<Reference>&lt;RuntimeDirectory&gt;\WPF\PresentationCore.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\WPF\PresentationFramework.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\WPF\PresentationUI.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\System.Threading.Tasks.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\System.Xaml.dll</Reference>
<Reference>&lt;RuntimeDirectory&gt;\WPF\WindowsBase.dll</Reference>
<Namespace>System.ComponentModel</Namespace>
<Namespace>System.Diagnostics</Namespace>
<Namespace>System.Runtime.InteropServices</Namespace>
@tmori3y2
tmori3y2 / Vega-lite-transform-legends.json
Last active October 10, 2019 00:20
[vega-lite] Line Chart of radian scale functions using sequence/fold/labelExpr (vega-lite v4.0)
{
"$schema": "https://vega.github.io/schema/vega-lite/v4.json",
"description": "Plots radian scale functions using sequence/fold/labelExpr.",
"width": 300,
"height": 150,
"data": {
"sequence": {
"start": -1,
"stop": 1.1,
"step": 0.1,
@tmori3y2
tmori3y2 / labelled-arrows.svg
Created September 2, 2019 00:21
arrows with label
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@tmori3y2
tmori3y2 / WiresharkLuaSample.lua
Last active February 23, 2020 11:53
Wireshark Lua Sample
local my_pattrib = {
abbr = "my_nbns",
description = "My NetBIOS Name Service",
protocol = "NBNS/MyNBNS",
header_size = 12,
base_protocol = "udp",
dissector_table_name = "port",
port = 137,
vendor = "SonyMobi"
}