This file contains 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
florin@florin-AMILO-Li-2727:~/Desktop/uso-tema3-checker$ ./check | |
added_lines aichallenge 01..................................[2/2] | |
added_lines aichallenge 02..................................[2/2] | |
added_lines ghc 01..........................................[2/2] | |
added_lines ghc 02..........................................[2/2] | |
added_lines jekyll 01.......................................[2/2] | |
added_lines jekyll 02.......................................[2/2] | |
added_lines octopress 01....................................[2/2] | |
added_lines octopress 02....................................[2/2] | |
deleted_lines aichallenge 01................................[2/2] |
This file contains 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
<?php | |
$token = $_GET['t']; | |
if ($token !== "C7Ck9o4Fpi1Yh7YTCtk0") { | |
print_r("You need to specify the correct token."); | |
exit(); | |
} | |
$data = json_decode(file_get_contents('php://input'), true); | |
$url = $data['url']; | |
$method = $data['method']; | |
if (empty($url) || empty($url)) { |
This file contains 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
# Plex on Windows Anti-Sleep | |
# | |
# References | |
# Gist: https://gist.github.com/KakersUK/d090e1836ffb881d29c9f529b380f795 | |
# Install PowerShell 7: https://learn.microsoft.com/en-gb/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.3#winget | |
# X-Plex-Token: https://support.plex.tv/articles/204059436-finding-an-authentication-token-x-plex-token/ | |
# Host variables | |
$PlexHost = '127.0.0.1' | |
$PlexPort = 32400 |