View gist:0e31a371b00f764320bc9497008e1913
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
// Maperitive rendering ruleset resembling Google Maps (as of February 2011) | |
// http://maperitive.net | |
// Based on | |
// Puzzle-hoz, ezért más méretben rettenetes minden | |
// 70*50 cm, 100db, minimum 2950*4150pixel, zoom 8, 1:15 000 | |
//Szeged: | |
// move-pos x=20.1529 y=46.255 zoom=17 | |
//Budapest | |
// move-pos x=19.046 y=47.494 zoom=17 |
View szenteles.eleklaszlo.hu
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
<!DOCTYPE html> | |
<html lang="hu"> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<title>Elek László SJ papszentelése</title> | |
<meta name="Description" content="2018. augusztus 25-én délután háromkor Ternyák Csaba érsek atya pappá szentel Miskolcon." /> | |
<meta name="author" content="Elek László SJ jezsuita szerzetes"> |
View gist:34abad30800ba69ce24b
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 | |
$json = file_get_contents('http://szentiras.hu/api/idezet/1Kor13,10-13'); | |
$array = json_decode($json); | |
print_r($array); | |
?> |
View gist:84819edbf4dea7a67e2e
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
$date = "20".sprintf('%02d',rand(0,22))."-".sprintf('%02d',rand(1,12))."-".sprintf('%02d',rand(1,29)); | |
$start = sprintf('%02d',rand(1,12))."-".sprintf('%02d',rand(1,29)); | |
$end = sprintf('%02d',rand(1,12))."-".sprintf('%02d',rand(1,29)); | |
echo "Is ".$date." between ".$start." and ".$end."? "; | |
if("2000".$start < "2000".$end) { | |
$year = date('Y',strtotime($date)); |