Skip to content

Instantly share code, notes, and snippets.

View Peters8090's full-sized avatar

Piotr Bartoszewski Peters8090

  • GP Solutions
  • Warsaw, Poland
View GitHub Profile
@Peters8090
Peters8090 / pretend-hacking-cmd.bat
Created July 30, 2019 22:56
Batch script, which can be used to make your friends think you're a hacker. It actually displays all files in an infinite loop.
echo off & cls
set NUM=0 1 2 3 4 5 6 7 8 9 A B C D E F
for %%y in (%NUM%) do (
for %%x in (%NUM%) do (
color a & for /l %%A in (1,1,200) do (dir /s)
timeout 0 >nul
)
)
@Peters8090
Peters8090 / Error.vbs
Created July 30, 2019 14:38
Vbs script, you can use it to prank your friends that they'll have to format their hard disk.
result = MsgBox ("Error 73873a. Do you want to format the hard disc?", vbYesNo+vbCritical,"Critical Windows Error")
Dim message
Select Case result
Case vbYes
result = MsgBox ("Are you crazy?", vbYesNo+vbCritical,"User")
Select Case result
Case vbYes
message = "Fortunately!"