Skip to content

Instantly share code, notes, and snippets.

aetos382 / asciidoc-static.adoc
Created Sep 29, 2020 — forked from briandominick/asciidoc-static.adoc
Static Site Generators with AsciiDoc Support
View asciidoc-static.adoc

There are 19 static site generators that support AsciiDoc sourcing.

View Get-CommandParameter.ps1
function Get-CommandParameter {
[Parameter(Mandatory, Position = 0, ValueFromPipeline)]
[string] $Name,
[string[]] $ParameterSetName = @(),
[switch] $IncludeCommonParameters)
View AwsPortForwarding.ps1
function Start-AwsPortForwarding {
[Parameter(Mandatory, Position = 0)]
[string] $TargetInstanceId,
[int] $RemotePort,
View JenkinsBuildTimeSummary.groovy
Jenkins.get().allItems.findAll {
it instanceof hudson.model.Job<?, ?>
}.each {
def build = it.lastBuild
while (true) {
if (build == null) { break }
if (build.timestamp.get(Calendar.MONTH) <= Calendar.MARCH) { break }
View PowerShellGet.format.ps1xml
<?xml version="1.0" encoding="UTF-8"?>
<?xml-model href="" type="application/xml" schematypens=""?>
<?xml-model href="" type="application/xml" schematypens=""?>
View Remove-Aliases-For-PowerShell51.ps1
$aliasesToRemove = @(
'ac', 'chdir', 'clc', 'clhy', 'cli', 'clp', 'clv', 'cnsn', 'cpi', 'cpp',
'curl', 'cvpa', 'dbp', 'dnsn', 'ebp', 'epal', 'epcsv', 'erase', 'etsn',
'exsn', 'fc', 'fhx', 'foreach', 'gal', 'gbp', 'gc', 'gcm', 'gcs', 'gdr',
'ghy', 'gi', 'gjb', 'gl', 'gmo', 'gp', 'gps', 'gpv', 'group', 'gsn',
'gsv', 'gu', 'gv', 'h', 'ihy', 'ii', 'ipal', 'ipcsv', 'ipmo', 'irm',
'iwr', 'measure', 'mi', 'mp', 'nal', 'ndr', 'ni', 'nmo', 'nsn', 'nv',
'oh', 'r', 'rbp', 'rcjb', 'rcsn', 'rdr', 'ri', 'rjb', 'rmo', 'rni', 'rnp',
'rp', 'rsn', 'rv', 'rvpa', 'sajb', 'sal', 'saps', 'sasv', 'sc', 'sbp',
'si', 'sl', 'sls', 'sp', 'spjb', 'spps', 'spsv', 'sv', 'type', 'wget',
View vs-market-place-api.ps1
$url = ''
$headers = @{
'Content-Type' = 'application/json; charset=utf-8'
'Accept' = 'application/json; charset=utf-8; api-version=3.2-preview.1'
'User-Agent' = 'VSIDE-16.0.28803.352'
$body = @{
flags = 262
View ConsoleApp1.csproj
<Project Sdk="Microsoft.NET.Sdk">
<DotNetCliToolReference Include="Swashbuckle.AspNetCore.Cli" Version="5.0.0-rc2" />
View console-info.txt