Skip to content

Instantly share code, notes, and snippets.

View xemed-ahope's full-sized avatar

Aaron Hope xemed-ahope

  • Xemed LLC
View GitHub Profile
@xemed-ahope
xemed-ahope / using-details-summary-github.md
Created January 29, 2025 18:34 — forked from scmx/using-details-summary-github.md
Using <details> <summary> expandable content on GitHub with Markdown #details #summary #markdown #gfm #html

How to use <details> <summary> expandable content on GitHub with Markdown

Firstly, what is <details> <summary>?

The HTML Details Element (<details>) creates a disclosure widget in which information is visible only when the widget is toggled into an "open" state. A summary or label can be provided using the <summary> element. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details.

Example

@xemed-ahope
xemed-ahope / Get-UsbCdcDevicePath.ps1
Last active January 18, 2022 19:05
iSDT CM1620 USB location
#Requires -Version 5.0
# https://docs.microsoft.com/en-us/windows-hardware/drivers/wdtf/attribute-tokens-in-sdel
$DN_REMOVABLE = 0x4000
$UsbCdcDevice = [PSCustomObject]@{
Model = 'iSDT CM1620'
HardwareId = 'USB\VID_28E9&PID_028A'
}