=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
BrainFuck Programming Tutorial by: Katie
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
BrainFuck Programming Tutorial by: Katie
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
| *.o | |
| tester | |
| elmo.so |
choco install boxstarter -y| function Get-EvilCmdLet { | |
| [CmdletBinding()] | |
| param( | |
| [ValidateSet('A', 'B')] | |
| $Category | |
| ) | |
| Write-Output "= Get-EvilCmdLet =" | |
| Write-Output "* PSBoundParameters" | |
| $PSBoundParameters.Keys | % { |
| function Add-TrustedHostDownloadSite { | |
| [CmdletBinding()] | |
| param ( | |
| [Parameter(Mandatory = $true)] | |
| [string]$ServerName, | |
| [Parameter(Mandatory = $false)] | |
| [string]$Domain = "myorg.somedomain" | |
| ) | |
| Push-Location |
| param( | |
| [Parameter(Mandatory = $False)] | |
| [int]$NumberOfProcesses = 1, | |
| [Parameter(Mandatory = $False)] | |
| [switch]$IncludeMicrosoftProcesses, | |
| [Parameter(Mandatory = $False)] | |
| [switch]$RequirePath, |
| function Stop-ProcessWithTimeoutAndWarning { | |
| param( | |
| # name of process to stop | |
| [Parameter(Mandatory = $True)] | |
| [string]$Name, | |
| # timeout (in seconds) to wait before killing process | |
| [Parameter(Mandatory = $False)] | |
| [int]$Timeout = 30 | |
| ) |
| function Get-UglyButShortUniqueDirname { | |
| [CmdletBinding()] | |
| param ( | |
| ) | |
| $t = "$([System.Guid]::NewGuid())".Replace("-", "") | |
| Write-Verbose "base guid: $t" | |
| $t = "$(0..$t.Length | % { if (($_ -lt $t.Length) -and !($_%2)) { [char][byte]"0x$($t[$_])$($t[$_+1])" } })".replace(" ", "").Trim() |
| function PrintJobWithData { | |
| param( | |
| [Parameter(Mandatory = $True, ValueFromPipeline = $True)] | |
| $job | |
| ) | |
| if ($job.HasMoreData -eq "True") { | |
| Write-Output "--- BEGIN $($job.Name) BEGIN ---" | |
| try { | |
| $job | Receive-Job |