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
# --- ConvertFrom-Cab courtesy of https://technet.microsoft.com/en-us/magazine/2009.04.heyscriptingguy.aspx | |
Function ConvertFrom-Cab($cab,$destination) | |
{ | |
$comObject = "Shell.Application" | |
Write-Debug "Creating $comObject" | |
$shell = New-Object -Comobject $comObject | |
if(!$?) { $(Throw "unable to create $comObject object")} | |
Write-Debug "Creating source cab object for $cab" | |
$sourceCab = $shell.Namespace($cab).items() | |
Write-Debug "Creating destination folder object for $destination" |
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
[ | |
{ | |
"id":"61e77a.fcbc8088", | |
"type":"tab", | |
"label":"Flow 1", | |
"disabled":false, | |
"info":"" | |
}, | |
{ | |
"id":"3fa4c9db.c6a2ce", |
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
#!/usr/bin/env python3 | |
# | |
# SD Card Information | |
# | |
# By John Lane 2012-08-03 | |
# | |
# References: | |
# | |
# 1: https://www.sdcard.org/downloads/pls/simplified_specs/Part_1_Physical_Layer_Simplified_Specification_Ver_3.01_Final_100518.pdf | |
# 2: http://www.kernel.org/doc/Documentation/mmc/mmc-dev-attrs.txt |
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
// prerequisites: | |
// dependency installation: npm i fs https express | |
// create server certificate: openssl req -x509 -newkey rsa:4096 -keyout key.pem -out cert.pem -sha256 -days 3650 -nodes -subj "/C=XX/ST=StateName/L=CityName/O=CompanyName/OU=CompanySectionName/CN=CommonNameOrHostname" | |
// point your browser to https://localhost:8443 | |
// this should allow you to select a certificate to use as the client cert, if you have any | |
// the server then returns some details about that certificate | |
const fs = require('fs'); | |
const https = require('https'); |