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
[ | |
{ | |
"url": "https://c-in.eu", | |
"uptime_check_enabled": true, | |
"certificate_check_enabled": true, | |
"look_for_string": "Congresses and Events across the Globe" | |
}, | |
{ | |
"url": "http://www.another-example.com", | |
"uptime_check_enabled": true, |
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 | |
$url = 'https://gist.githubusercontent.com/xnekv03/9dbe230b5dfb8c8b26912e02e92c563a/raw/443d364cfde02415ad994445b4d02b18718e94b0/sitemap.xml'; | |
// tohle si urcis sam kam to ches ukladat | |
$destination = 'sitemap.xml'; | |
$ch = curl_init($url); | |
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); |
This file has been truncated, but you can view the full file.
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
<?xml version="1.0" encoding="UTF-8"?> | |
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9"> | |
<url> | |
<loc>https://podvodnabazaru.cz/api</loc> | |
<lastmod>2025-03-15T00:00:00+01:00</lastmod> | |
</url> | |
<url> | |
<loc>https://podvodnabazaru.cz/podminky</loc> | |
<lastmod>2025-03-15T00:00:00+01:00</lastmod> |
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
public function sendTemplate(string $templateUuid, string $toEmail, array $variables = []): bool | |
{ | |
if (!filter_var($toEmail, FILTER_VALIDATE_EMAIL)) { | |
Log::error('invalid e-mail address provided ' . $toEmail); | |
return false; | |
} | |
$data = [ | |
"from" => [ |
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
#!/bin/sh | |
export COUNTER=0 | |
mkdir -p filesrenamed | |
for f in CREDIT_RATING_PREV_*; do result=$(mv $f ${f/${f:0:19}/CREDITRATING_T3_}) ; ((COUNTER++)); done 2> /dev/null | |
# exit status https://pubs.opengroup.org/onlinepubs/7908799/xcu/mv.html | |
# v rámci toho for cyklu bych dal podmínku - napíšu to zvlášt ale ty to musíš dát do for |
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
body { | |
margin: 0; | |
padding: 0; | |
background-color: lightblue; | |
height: 100vh; | |
} | |
#login .container #login-row #login-column #login-box { | |
margin-top: 120px; | |
max-width: 600px; |
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
[ | |
{ | |
"url": "https://api.abalin.net", | |
"name": "Nameday API", | |
"description": "Nameday API" | |
}, | |
{ | |
"url": "https://appfactory.cz", | |
"name": "Appfactory", | |
"description": "Appfactory" |
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 | |
function verifyIC($ic) | |
{ | |
// be liberal in what you receive | |
$ic = preg_replace('#\s+#', '', $ic); | |
// má požadovaný tvar? | |
if (!preg_match('#^\d{8}$#', $ic)) { | |
return FALSE; |