mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-04-21 17:38:19 +02:00
Remove simulate-matrix.ps1
This commit is contained in:
parent
fa694a5278
commit
3ec85bc048
@ -1,29 +0,0 @@
|
|||||||
A,B,C,D,E,F,G,H,I,J,K,L,M,N,O,P,Q,R,S,T,U,V,W,X,Y,Z
|
|
||||||
" ","P"," "," "," "," ","H"," "," "," ","R"," "," "," "," "," "," "," ","B"," "," "," "," "," ","M"
|
|
||||||
" ","O"," "," "," "," ","A"," "," "," ","E"," "," "," "," "," "," "," ","L"," "," "," "," "," ","A"
|
|
||||||
" ","W"," "," "," "," ","V"," "," "," ","D"," "," "," "," "," "," "," ","U"," "," "," "," "," ","T"
|
|
||||||
" ","E"," "," "," "," ","E"," "," "," "," "," "," "," "," "," "," "," ","E"," "," "," "," "," ","R"
|
|
||||||
" ","R"," "," "," "," "," "," "," "," ","P"," "," "," "," "," "," "," "," "," "," "," "," "," ","I"
|
|
||||||
" ","S"," "," "," "," ","F"," "," "," ","I"," "," "," "," "," "," "," ","P"," "," "," "," "," ","X"
|
|
||||||
" ","H"," "," "," "," ","U"," "," "," ","L"," "," "," "," "," "," "," ","I"," "," "," "," "," "," "
|
|
||||||
" ","E"," "," "," "," ","N"," "," "," ","L"," "," "," "," "," "," "," ","L"," "," "," "," "," "," "
|
|
||||||
" ","L"," "," "," "," "," "," "," "," ","?"," "," "," "," "," "," "," ","L"," "," "," "," "," "," "
|
|
||||||
" ","L"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," ","?"," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" ","R"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" ","U"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" ","L"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" ","E"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" ","S"," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
||||||
" "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "," "
|
|
Can't render this file because it has a wrong number of fields in line 2.
|
@ -319,7 +319,6 @@ Mega Collection of PowerShell Scripts
|
|||||||
| [send-tcp.ps1](Scripts/send-udp.ps1) | Sends a TCP message to the given IP address and port | [Help](Docs/send-tcp.md) |
|
| [send-tcp.ps1](Scripts/send-udp.ps1) | Sends a TCP message to the given IP address and port | [Help](Docs/send-tcp.md) |
|
||||||
| [send-udp.ps1](Scripts/send-udp.ps1) | Sends a UDP datagram message to the given IP address and port | [Help](Docs/send-udp.md) |
|
| [send-udp.ps1](Scripts/send-udp.ps1) | Sends a UDP datagram message to the given IP address and port | [Help](Docs/send-udp.md) |
|
||||||
| [set-timer.ps1](Scripts/set-timer.ps1) | Sets a timer for a countdown | [Help](Docs/set-timer.md) |
|
| [set-timer.ps1](Scripts/set-timer.ps1) | Sets a timer for a countdown | [Help](Docs/set-timer.md) |
|
||||||
| [simulate-matrix.ps1](Scripts/simulate-matrix.ps1) | Simulates the Matrix (fun) | [Help](Docs/simulate-matrix.md) |
|
|
||||||
| [simulate-presence.ps1](Scripts/simulate-presence.ps1)| Simulates the human presence against burglars | [Help](Docs/simulate-presence.md) |
|
| [simulate-presence.ps1](Scripts/simulate-presence.ps1)| Simulates the human presence against burglars | [Help](Docs/simulate-presence.md) |
|
||||||
| [start-calibre-server.ps1](Scripts/start-calibre-server.ps1)| Starts a local Calibre server | [Help](Docs/start-calibre-server.md) |
|
| [start-calibre-server.ps1](Scripts/start-calibre-server.ps1)| Starts a local Calibre server | [Help](Docs/start-calibre-server.md) |
|
||||||
| [start-ipfs-server.ps1](Scripts/start-ipfs-server.ps1)| Starts a local IPFS server | [Help](Docs/start-ipfs-server.md) |
|
| [start-ipfs-server.ps1](Scripts/start-ipfs-server.ps1)| Starts a local IPFS server | [Help](Docs/start-ipfs-server.md) |
|
||||||
|
@ -1,54 +0,0 @@
|
|||||||
<#
|
|
||||||
.SYNOPSIS
|
|
||||||
Simulates the Matrix (fun)
|
|
||||||
.DESCRIPTION
|
|
||||||
This PowerShell script simulates the Matrix (for fun).
|
|
||||||
.EXAMPLE
|
|
||||||
PS> ./simulate-matrix
|
|
||||||
.LINK
|
|
||||||
https://github.com/fleschutz/PowerShell
|
|
||||||
.NOTES
|
|
||||||
Author: Markus Fleschutz | License: CC0
|
|
||||||
#>
|
|
||||||
|
|
||||||
try {
|
|
||||||
$Table = import-csv "$PSScriptRoot/../Data/matrix.csv"
|
|
||||||
|
|
||||||
clear-host
|
|
||||||
foreach($Row in $Table) {
|
|
||||||
for ($i = 0; $i -lt 4; $i++) {
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.A)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.B)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.C)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.D)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.E)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.F)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.G)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.H); start-sleep -milliseconds 1
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.I)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.J)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.K)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.L)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.M)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.N)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.O)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.P); start-sleep -milliseconds 1
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.Q)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.R)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.S)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.T)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.U)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.V)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.W)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.X)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.Y)
|
|
||||||
write-host -foregroundColor green -noNewline $($Row.Z); start-sleep -milliseconds 1
|
|
||||||
}
|
|
||||||
write-host ""
|
|
||||||
start-sleep -milliseconds 200
|
|
||||||
}
|
|
||||||
exit 0 # success
|
|
||||||
} catch {
|
|
||||||
"⚠️ Error in line $($_.InvocationInfo.ScriptLineNumber): $($Error[0])"
|
|
||||||
exit 1
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user