2016 Update
This commit is contained in:
parent
948b86eafa
commit
dcf5d15da3
7965 changed files with 139854 additions and 31002 deletions
2
Task/Quine/PowerShell/quine-1.psh
Normal file
2
Task/Quine/PowerShell/quine-1.psh
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
$S = '$S = $S.Substring(0,5) + [string][char]39 + $S + [string][char]39 + [string][char]10 + $S.Substring(5)'
|
||||
$S.Substring(0,5) + [string][char]39 + $S + [string][char]39 + [string][char]10 + $S.Substring(5)
|
||||
1
Task/Quine/PowerShell/quine-2.psh
Normal file
1
Task/Quine/PowerShell/quine-2.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
$MyInvocation.MyCommand.ScriptContents
|
||||
1
Task/Quine/PowerShell/quine-3.psh
Normal file
1
Task/Quine/PowerShell/quine-3.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
$MyInvocation.MyCommand.Definition
|
||||
1
Task/Quine/PowerShell/quine-4.psh
Normal file
1
Task/Quine/PowerShell/quine-4.psh
Normal file
|
|
@ -0,0 +1 @@
|
|||
function Quine { $MyInvocation.MyCommand.Definition }
|
||||
|
|
@ -1,2 +0,0 @@
|
|||
$d='$d={0}{1}{0}{2}Write-Host -NoNewLine ($d -f [char]39,$d,"`r`n")'
|
||||
Write-Host -NoNewLine ($d -f [char]39,$d,"`r`n")
|
||||
Loading…
Add table
Add a link
Reference in a new issue