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
Function Get-HelpByMarkDown { | |
# | |
# File: Get-HelpByMarkdown.ps1 | |
# | |
# Authors: Akira Sugiura (urasandesu@gmail.com) | |
# Gordon Byers (gordon.byers@microsoft.com) | |
# Jason Marshall (jason@marshall.gg) | |
# | |
# | |
# Copyright (c) 2014 Akira Sugiura |
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
$continue = $true | |
echo "STOP WITH Q"; | |
While ($continue) | |
{ | |
if ([console]::KeyAvailable) | |
{ | |
$x = [Console]::ReadKey($true) |
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
# ███████╗██╗ ██╗ █████╗ ███╗ ███╗██████╗ ██╗ ███████╗ | |
# ██╔════╝╚██╗██╔╝██╔══██╗████╗ ████║██╔══██╗██║ ██╔════╝ | |
# █████╗ ╚███╔╝ ███████║██╔████╔██║██████╔╝██║ █████╗ | |
# ██╔══╝ ██╔██╗ ██╔══██║██║╚██╔╝██║██╔═══╝ ██║ ██╔══╝ | |
# ███████╗██╔╝ ██╗██║ ██║██║ ╚═╝ ██║██║ ███████╗███████╗ | |
# ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚══════╝╚══════╝ | |
# | |
# ███████╗██╗ ██╗███╗ ██╗ ██████╗████████╗██╗ ██████╗ ███╗ ██╗███████╗ | |
# ██╔════╝██║ ██║████╗ ██║██╔════╝╚══██╔══╝██║██╔═══██╗████╗ ██║██╔════╝ |
This file has been truncated, but you can view the full file.
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
.withLayerShadow { | |
-webkit-box-shadow: -7px 7px 0px 0px rgba(0, 0, 0, 0.1) !important; | |
box-shadow: -7px 7px 0px 0px rgba(0, 0, 0, 0.1) !important | |
} | |
.alignLeft { | |
text-align: left !important | |
} | |
.alignCenter { |
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
$base64data = "insert compressed and base64 data here" | |
$data = [System.Convert]::FromBase64String($base64data) | |
$ms = New-Object System.IO.MemoryStream | |
$ms.Write($data, 0, $data.Length) | |
$ms.Seek(0,0) | Out-Null | |
$sr = New-Object System.IO.StreamReader(New-Object System.IO.Compression.DeflateStream($ms, [System.IO.Compression.CompressionMode]::Decompress)) | |
while ($line = $sr.ReadLine()) { |