add pliczkis

This commit is contained in:
Artur Tamborski 2019-06-14 19:38:05 +02:00
commit 4b57719154
20 changed files with 1248 additions and 0 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules/

26
cw1/cw1.html Normal file
View File

@ -0,0 +1,26 @@
<html>
<head>
<title>Artur Tamborski</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
background: #2193b0; /* fallback for old browsers */
background: -webkit-linear-gradient(to right, #6dd5ed, #2193b0); /* Chrome 10-25, Safari 5.1-6 */
background: linear-gradient(to right, #6dd5ed, #2193b0); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
</style>
</head>
<body>
<div>
<h4>Cwiczenie Poczta i bezpieczeństwo</h4>
<ul>
<li><a href="cw1/s449376.fpr">s449376.fpr</a></li>
<li><a href="cw1/s449376.gpg">s449376.gpg</a></li>
<li><a href="cw1/s449376.key">s449376.key</a></li>
<li><a href="cw1/s449376.tar">s449376.tar</a></li>
<li><a href="cw1/s449376.txt">s449376.txt</a></li>
<li><a href="cw1/s449376.txt.enc">s449376.txt.enc</a></li>
<li><a href="cw1/s449376.txt.sig">s449376.txt.sig</a></li>
</ul>
</div>
</body>
</html>

5
cw1/s449376.fpr Normal file
View File

@ -0,0 +1,5 @@
pub rsa2048 2019-03-17 [SC] [expires: 2019-09-13]
15A2 D3DB 0B7C 15E7 048D 5EA3 15B2 BF18 4D8A 7E53
uid [ultimate] Artur Tamborski (449376) <s449376@wmi.amu.edu.pl>
sub rsa2048 2019-03-17 [E] [expires: 2019-09-13]

31
cw1/s449376.gpg Normal file
View File

@ -0,0 +1,31 @@
-----BEGIN PGP PUBLIC KEY BLOCK-----
mQENBFyOrKoBCAC4UNQpOBi3CaAfyYYeR8s6NIbEgmv9/AkInfXvF23J7fxr5vOd
a/eb36EGe40QyG0cw8S3DGW1gaunazboGFeA5nRbAgH2xwBw+aMYMEnYqUO0vDpT
MhrFAR3PDv0fXSgmhdFj01paswCd50dk1vS001mkqkhPDokEy8ATRYZh+aaPFpLW
5TvcXhg6+k0TVkNFjWmDQfQG6l+2RE2/FKEix892NrdnWNev/0Yp6BmsMWNPqfWm
fcG4Hg6b9eUNBb2MKXMXeyj2lsGf18WPcVF48u4zbMPQ+U/dSj91d1/UqV7tvysl
OqXl8ffdzkg931WATBgSozREFNelIMHEO+v/ABEBAAG0MUFydHVyIFRhbWJvcnNr
aSAoNDQ5Mzc2KSA8czQ0OTM3NkB3bWkuYW11LmVkdS5wbD6JAVQEEwEIAD4WIQQV
otPbC3wV5wSNXqMVsr8YTYp+UwUCXI6sqgIbAwUJAO1OAAULCQgHAgYVCgkICwIE
FgIDAQIeAQIXgAAKCRAVsr8YTYp+UwepB/99sBKdnZMxWkVzGQ4AF0GN4dAeIr7H
ggre3nxZgsmw06Lb3zuIHFgwSNy4MHi8pgsaE9CdgNxZHfxrJAePlRFPj8xjRSgF
0v4zer1tQWZaLJiJcKDLkzDILMFXaQmX2ege/EHkUUEy+i1Hu468u5hJbM3G+yAq
K9Lkr0MCFxPNfD4Us8i4BfwynUJB/o+vc5xhvLD7xNUTWSADUEefYzEXIEq94uRh
eijzhnT4eoKm105d3ryTAJgAgxGKbfw+eLQrhBx/yFkrmS6khcR9LiFYz3DAAe5k
lS03m1ZxwPOKQIgoY9eO+TuiKgK7FquxO361YUSOxqmk190jWqEhMrOJuQENBFyO
rKoBCACqCZu94HQ5xD4XV6uHLuhF1b/X7Xou+7UwGTw59F9HNPEw/r0s5+Gyb+Lx
f3GB53bBLk87ogUYK+0nyvzJyDNZI8tnCRtsNyjpqKjejoA+WFOz9ZwD3cQBxNUw
fespuR4pAIigZFo7r6PGBTq5S3ZKWu8Rk7WRpgqxy1sGZLer85YOuqSLexEgyOOx
XQoEB0M6QKNDK1Qu5PRszXDurg3PPqYK+rcSblp7mf/xvBCGdZvQ3pW1cbOmTYkP
6ifOb9FDt9x8IKFGaIJ/UuM8zbO1K4QJJMYHyfyNbBLiyMeCizkVOI56VdbcU+f5
UfOD6WKxQSCLFKgtaan+qa7ov7H1ABEBAAGJATwEGAEIACYWIQQVotPbC3wV5wSN
XqMVsr8YTYp+UwUCXI6sqgIbDAUJAO1OAAAKCRAVsr8YTYp+U8PZCACzfuq3Gpqw
eJrJ6gR0GkxyPsFsQHiCOJ8IYYTORtWVsEIgBLL9QlA7MMZAyUojdaRBZWKKabbj
nMBLtVpDzMD4mJ8+XzQUfKB1Rq75KNSRvrudzqZWbLHvTTNrObMwDclyZ/Z3XT6x
DkaRsSxa/+LkKxb3ipmNc8K/THAN6NYYDO4Q7LEGH9cAO8uumFWjarjqSgH+fGpi
H6MbouwZ3LLFZ34rRq4N6g8SKS8odg2DFSPZ3gsskXe8m0FKVQ5zLavS7RRyr3Ao
tJ3ujwn5H+k8Oi5lNj1gA5SEUZ+pKcNkf3a9IBhu6NjZmQlH/7lkWDULx96Gfdy/
EstaglUpQ7ln
=tIBH
-----END PGP PUBLIC KEY BLOCK-----

BIN
cw1/s449376.key Normal file

Binary file not shown.

BIN
cw1/s449376.tar Normal file

Binary file not shown.

3
cw1/s449376.txt Normal file
View File

@ -0,0 +1,3 @@
s449376
Artur Tamborski
s449376@wmi.amu.edu.pl

BIN
cw1/s449376.txt.enc Normal file

Binary file not shown.

17
cw1/s449376.txt.sig Normal file
View File

@ -0,0 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
s449376
Artur Tamborski
s449376@wmi.amu.edu.pl
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEFaLT2wt8FecEjV6jFbK/GE2KflMFAlyOs0gACgkQFbK/GE2K
flPnbgf/XIR1He+0hcma8WCJ/NUrt4+UmKvAGkXOi/Myf1tnmo8JoBiKGcEhpquD
hr4nCEEQefvVJP1aZreh6Lq5QTgkEsleNBt7Ag5TVnGT99p5BrE0EeYFJ+61B5yc
HIsAKbTMYKAzoLTIUD0PM0Q/QiA/h7L8Sy06jJ7WumE4/3QXUaAqYH9MWC39faYK
3i0TdULqdakaFcBrgUnPhFsIWoFrrv5H6OohSqQQ/RFd4HKx/wi82OkU+LkkCo8h
+kB8IZliPtC8jP9HPl3DnDjIb2yOns/5MPQLmcIaghexv/iJVAs0nHiOYOFKOHG8
qRARk8D5wHehuJfhNF4WqHk1Rjb18Q==
=aQiK
-----END PGP SIGNATURE-----

10
dcba.php Normal file
View File

@ -0,0 +1,10 @@
<?php
if (!isset($_COOKIE['visited'])) {
setcookie ('visited', 'yes', time() + 3600);
echo 's449376';
} else {
echo 'Artur Tamborski';
}
?>

830
displays.json Normal file
View File

@ -0,0 +1,830 @@
{
"lastUpdate" : "2019-03-30 00:02:22",
"displays" : [ {
"displayCode" : 13,
"name" : "Brama Wyżynna T>Wrzeszcz",
"idStop1" : 2102,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 14,
"name" : "Brama Wyżynna T>Stogi",
"idStop1" : 2101,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 17,
"name" : "Galeria Bałtycka T>centrum",
"idStop1" : 2024,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 18,
"name" : "Galeria Bałtycka T>Oliwa",
"idStop1" : 2025,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 20,
"name" : "Oliwa",
"idStop1" : 2046,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 21,
"name" : "Oliwa",
"idStop1" : 2045,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 23,
"name" : "Dworzec Główny T>Wrzeszcz",
"idStop1" : 2001,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 24,
"name" : "Dworzec Główny T>Stogi",
"idStop1" : 2002,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 28,
"name" : "Wrzeszcz PKP",
"idStop1" : 116,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 30,
"name" : "Wrzeszcz PKP",
"idStop1" : 0,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 31,
"name" : "Wyspiańskiego T>Brzeźno",
"idStop1" : 2071,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 32,
"name" : "Wyspiańskiego T>centrum",
"idStop1" : 2072,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 33,
"name" : "Hucisko",
"idStop1" : 2137,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 35,
"name" : "Opera Bałtycka T>Brzeźno",
"idStop1" : 2013,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 37,
"name" : "Opera Bałtycka T>Wrzeszcz",
"idStop1" : 2015,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 38,
"name" : "Miszewskiego T>Oliwa",
"idStop1" : 2019,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 39,
"name" : "Miszewskiego T>centrum",
"idStop1" : 2018,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 41,
"name" : "Osiedle Wejhera T>Zaspa",
"idStop1" : 2056,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 42,
"name" : "Pomorska T>Oliwa",
"idStop1" : 2099,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 43,
"name" : "Piekarnicza",
"idStop1" : 1723,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 44,
"name" : "Piekarnicza",
"idStop1" : 1724,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 45,
"name" : "Jelitkowo",
"idStop1" : 201,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 47,
"name" : "Nowe Ogrody",
"idStop1" : 2134,
"idStop2" : 2132,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 48,
"name" : "Plac Solidarności",
"idStop1" : 2061,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 49,
"name" : "Plac Solidarności",
"idStop1" : 2062,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 30,
"name" : "Wrzeszcz PKP",
"idStop1" : 0,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 57,
"name" : "Łostowice Świętokrzyska",
"idStop1" : 221,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 59,
"name" : "Łostowice Świętokrzyska",
"idStop1" : 221,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 60,
"name" : "Łostowice Świętokrzyska",
"idStop1" : 221,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 71,
"name" : "Akademia Muzyczna T>centrum",
"idStop1" : 2110,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 72,
"name" : "Akademia Muzyczna T>Stogi",
"idStop1" : 2109,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 73,
"name" : "Uniwersytet Medyczny T>centrum",
"idStop1" : 2010,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 74,
"name" : "Uniwersytet Medyczny T>Wrzeszcz",
"idStop1" : 2009,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 75,
"name" : "Traugutta T >Oliwa",
"idStop1" : 2011,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 76,
"name" : "Traugutta T>centrum",
"idStop1" : 2012,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 77,
"name" : "Politechnika T>Oliwa",
"idStop1" : 2017,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 78,
"name" : "Politechnika T>centrum",
"idStop1" : 2016,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 79,
"name" : "Jaśkowa Dolina T>Oliwa",
"idStop1" : 2021,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 80,
"name" : "Jaśkowa Dolina T>centrum",
"idStop1" : 2020,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 81,
"name" : "Jaśkowa Dolina A>Orunia Górna",
"idStop1" : 1345,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 84,
"name" : "Wojska Polskiego T>Oliwa",
"idStop1" : 2027,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 85,
"name" : "Wojska Polskiego T>centrum",
"idStop1" : 2026,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 87,
"name" : "Kościuszki T>centrum",
"idStop1" : 2172,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 88,
"name" : "Kościuszki T>Brzeźno",
"idStop1" : 2173,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 89,
"name" : "Mickiewicza T>centrum",
"idStop1" : 2076,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 90,
"name" : "Mickiewicza A/T>Oliwa",
"idStop1" : 2075,
"idStop2" : 1451,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 91,
"name" : "Mickiewicza T>Brzeźno",
"idStop1" : 2171,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 92,
"name" : "Klonowa T>Oliwa",
"idStop1" : 2023,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 93,
"name" : "Klonowa T>centrum",
"idStop1" : 2022,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 98,
"name" : "Potokowa A>Migowo",
"idStop1" : 1431,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 100,
"name" : "Szczęśliwa A>centrum",
"idStop1" : 1931,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 101,
"name" : "Dworzec Główny A>KFC nocne",
"idStop1" : 1021,
"idStop2" : 1023,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 103,
"name" : "Stadion Energa Gdańsk T>centrum",
"idStop1" : 2162,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 104,
"name" : "Stadion Energa Gdańsk T>Nowy Port",
"idStop1" : 2161,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 75,
"name" : "Traugutta T >Oliwa",
"idStop1" : 2011,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 150,
"name" : "Jasieńska A>centrum",
"idStop1" : 14532,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 151,
"name" : "Jasieńska A>Kartuska",
"idStop1" : 14549,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 102,
"name" : "Hucisko A>Siedlce",
"idStop1" : 1025,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 152,
"name" : "Jasień PKM A>centrum",
"idStop1" : 14533,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 36,
"name" : "Opera Bałtycka T>centrum",
"idStop1" : 2014,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 500,
"name" : "Piekarnicza T>centrum",
"idStop1" : 14536,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 501,
"name" : "Piekarnicza T>Migowo",
"idStop1" : 14535,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 502,
"name" : "Belgradzka T>centrum",
"idStop1" : 14538,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 503,
"name" : "Belgradzka T>Migowo",
"idStop1" : 14537,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 507,
"name" : "Kolumba T>Brętowo",
"idStop1" : 14541,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 508,
"name" : "Kolumba A>centrum",
"idStop1" : 1381,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 509,
"name" : "Kolumba A>Niedźwiednik",
"idStop1" : 1380,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 510,
"name" : "Brętowo PKM T>centrum",
"idStop1" : 14544,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 511,
"name" : "Brętowo PKM A>Niedźwiednik",
"idStop1" : 1378,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 512,
"name" : "Budapesztańska T>centrum",
"idStop1" : 14546,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 513,
"name" : "Budapesztańska T>Migowo",
"idStop1" : 14545,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 514,
"name" : "Budapesztańska A>centrum",
"idStop1" : 1376,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 515,
"name" : "Budapesztańska A>Migowo",
"idStop1" : 1373,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 516,
"name" : "Migowo T>centrum",
"idStop1" : 14547,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 517,
"name" : "Migowo T>centrum",
"idStop1" : 14547,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 518,
"name" : "Migowo A>centrum",
"idStop1" : 128,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 519,
"name" : "Migowo A>Jasień PKM",
"idStop1" : 1777,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 525,
"name" : "Brama Żuławska T>centrum",
"idStop1" : 2114,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 526,
"name" : "Brama Żuławska T>Stogi",
"idStop1" : 2113,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 527,
"name" : "Głęboka A/T>centrum",
"idStop1" : 1046,
"idStop2" : 2116,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 528,
"name" : "Głęboka A/T>Stogi",
"idStop1" : 14565,
"idStop2" : 2115,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 530,
"name" : "Przeróbka A/T>Stogi",
"idStop1" : 2117,
"idStop2" : 1877,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 531,
"name" : "Lenartowicza A/T>centrum",
"idStop1" : 1878,
"idStop2" : 2120,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 532,
"name" : "Lenartowicza A/T>Stogi",
"idStop1" : 2119,
"idStop2" : 1879,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 12,
"name" : "Brama Wyżynna",
"idStop1" : 1031,
"idStop2" : 1033,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 27,
"name" : "Dworzec Główny",
"idStop1" : 1015,
"idStop2" : 1017,
"idStop3" : 1019,
"idStop4" : 0
}, {
"displayCode" : 50,
"name" : "Damroki",
"idStop1" : 1275,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 51,
"name" : "Damroki",
"idStop1" : 1274,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 52,
"name" : "Łostowice Świętokrzyska",
"idStop1" : 190,
"idStop2" : 191,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 53,
"name" : "Łostowice Świętokrzyska",
"idStop1" : 190,
"idStop2" : 191,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 54,
"name" : "Łostowice Świętokrzyska",
"idStop1" : 190,
"idStop2" : 191,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 55,
"name" : "Łostowice Świętokrzyska",
"idStop1" : 191,
"idStop2" : 190,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 56,
"name" : "Łostowice Świętokrzyska",
"idStop1" : 191,
"idStop2" : 190,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 58,
"name" : "Łostowice Świętokrzyska",
"idStop1" : 390,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 26,
"name" : "Dworzec Główny",
"idStop1" : 1013,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 29,
"name" : "Wrzeszcz PKP",
"idStop1" : 114,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 70,
"name" : "Brama Żuławska A>Sobieszewo",
"idStop1" : 1099,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 82,
"name" : "Jaśkowa Dolina A>Suchanino",
"idStop1" : 1593,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 83,
"name" : "Galeria Bałtycka A>Oliwa",
"idStop1" : 1636,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 86,
"name" : "Oliwa Pętla Tramwajowa A>Osowa",
"idStop1" : 120,
"idStop2" : 31516,
"idStop3" : 1533,
"idStop4" : 0
}, {
"displayCode" : 94,
"name" : "Galeria Bałtycka A>Port Lotniczy",
"idStop1" : 1383,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 95,
"name" : "Zabytkowa A>Port Lotniczy",
"idStop1" : 1923,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 96,
"name" : "Srebrzysko A>Port Lotniczy",
"idStop1" : 1925,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 97,
"name" : "Srebrzysko A>Wrzeszcz PKP",
"idStop1" : 1924,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 99,
"name" : "Potokowa A>Port Lotniczy",
"idStop1" : 1391,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 25,
"name" : "Dworzec Główny",
"idStop1" : 1014,
"idStop2" : 1016,
"idStop3" : 1020,
"idStop4" : 0
}, {
"displayCode" : 19,
"name" : "Sobieszewo Wyspa",
"idStop1" : 14656,
"idStop2" : 14439,
"idStop3" : 1130,
"idStop4" : 0
}, {
"displayCode" : 523,
"name" : "Siedlce A/T>Migowo",
"idStop1" : 14557,
"idStop2" : 2149,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 524,
"name" : "Siedlce A/T>Migowo",
"idStop1" : 14557,
"idStop2" : 2149,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 520,
"name" : "Siedlce A/T>centrum",
"idStop1" : 14556,
"idStop2" : 2150,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 521,
"name" : "Siedlce A/T>centrum",
"idStop1" : 14556,
"idStop2" : 2150,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 522,
"name" : "Siedlce A/T>centrum",
"idStop1" : 14556,
"idStop2" : 2150,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 504,
"name" : "Warneńska A/T>centrum",
"idStop1" : 14540,
"idStop2" : 1374,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 505,
"name" : "Warneńska A/T>Migowo",
"idStop1" : 1371,
"idStop2" : 14539,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 529,
"name" : "Przeróbka A/T>centrum",
"idStop1" : 1048,
"idStop2" : 2118,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 506,
"name" : "Kolumba T>centrum",
"idStop1" : 14542,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 34,
"name" : "Hucisko",
"idStop1" : 2138,
"idStop2" : 0,
"idStop3" : 0,
"idStop4" : 0
}, {
"displayCode" : 11,
"name" : "Brama Wyżynna",
"idStop1" : 1028,
"idStop2" : 1030,
"idStop3" : 1032,
"idStop4" : 0
} ]
}

0
image.jpg Normal file
View File

22
index.html Normal file

File diff suppressed because one or more lines are too long

35
osobie.css Normal file
View File

@ -0,0 +1,35 @@
body {
background: #2980B9;
background: -webkit-linear-gradient(to right, #FFFFFF, #6DD5FA, #2980B9);
background: linear-gradient(to right, #FFFFFF, #6DD5FA, #2980B9);
}
img {
float: right;
margin: 5px;
align: right;
}
#studenci {
float: left;
}
#content {
padding-left: 300px;
max-width: 600px;
}
#p1 {
color: rgb(100, 100, 150);
text-align: justify;
}
#p2 {
color: rgb(120, 150, 100);
text-align: justify;
}
#p3 {
color: rgb(150, 100, 100);
text-align: justify;
}

43
osobie.html Normal file
View File

@ -0,0 +1,43 @@
<!DOCTYPE html>
<html lang="pl">
<head>
<title>Artur Tamborski</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" type="text/css" href="osobie.css">
<link rel="icon" type="image/png" href="https://www.abeautifulsite.net/themes/draft-theme/images/postleaf.png">
</head>
<body>
<h1>O sobie</h1>
<div id="studenci">
<a href="https://s449272.students.wmi.amu.edu.pl/osobie.html">Andrzewski Kamil</a><br>
<a href="https://s449276.students.wmi.amu.edu.pl/osobie.html">Baranowski Jakub Henryk</a><br>
<a href="https://s449280.students.wmi.amu.edu.pl/osobie.html">Chrobak Sebastian Krzysztof</a><br>
<a href="https://s449291.students.wmi.amu.edu.pl/osobie.html">Filas Alan Jan</a><br>
<a href="https://s445241.students.wmi.amu.edu.pl/osobie.html">Jesiak Dawid</a><br>
<a href="https://s449311.students.wmi.amu.edu.pl/osobie.html">Kasprowicz Tomasz</a><br>
<a href="https://s449315.students.wmi.amu.edu.pl/osobie.html">Kobuszewski Filip</a><br>
<a href="https://s449317.students.wmi.amu.edu.pl/osobie.html">Kolinka Beniamin</a><br>
<a href="https://s416155.students.wmi.amu.edu.pl/osobie.html">Radwan Nicol Elżbieta</a><br>
<a href="https://s426237.students.wmi.amu.edu.pl/osobie.html">Ruciński Wojciech Witold</a><br>
<a href="https://s449374.students.wmi.amu.edu.pl/osobie.html">Tabaczkiewicz Łukasz</a><br>
<a href="https://s449376.students.wmi.amu.edu.pl/osobie.html">Tamborski Artur Janusz</a><br>
<a href="https://s449380.students.wmi.amu.edu.pl/osobie.html">Urbański Mateusz</a><br>
<a href="https://s434643.students.wmi.amu.edu.pl/osobie.html">Zydlewicz Konrad</a><br>
<a href="https://s406266.students.wmi.amu.edu.pl/osobie.html">Żukliński Jakub</a><br>
</div>
<div id="content">
<div id="osobie">
<img alt="ja" src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcQo_xHOdi1zrOQHxyZtfUGpzK7QKiAC1TgumnF1CcXkWRHcuiQgsw">
<p id="p1">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse laoreet enim eget eleifend dignissim. Curabitur ut mi tristique, ultricies lectus eget, molestie velit. Nam felis ligula, vehicula semper magna in, dictum tempus turpis. Sed condimentum iaculis urna eget sagittis. Donec fermentum, magna ac luctus efficitur, nisl arcu porta ex, quis congue justo erat sit amet dolor. Proin ultricies, est sodales mollis vehicula, sem urna auctor urna, ut placerat odio mi nec justo. Quisque aliquet vestibulum mi ut consectetur. Morbi faucibus eget arcu a lacinia. Aenean et nisi quis ex viverra cursus. Proin id massa vitae sem faucibus viverra
</p>
<p id="p2">
Mauris venenatis turpis sit amet convallis luctus. Nullam dolor urna, feugiat ut feugiat at, luctus quis augue. Sed eleifend elementum nisi sed consectetur. Cras condimentum facilisis sapien, id vulputate lectus ultrices a. Nullam iaculis egestas mi eget malesuada. Curabitur libero arcu, efficitur eu sodales eu, molestie ut enim. Phasellus sed lorem pretium, viverra urna sit amet, semper mi. Suspendisse lacinia nec ex vel luctus. Sed malesuada nulla non leo tempus egestas. Vestibulum vestibulum luctus arcu, et molestie risus semper a. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Quisque volutpat tempus mauris eget semper. In justo purus, ullamcorper eget ultricies a, egestas ut erat. Maecenas elementum vestibulum purus non tincidunt. Donec elementum turpis vitae nulla posuere faucibus. Sed ac ipsum erat.
</p>
<p id="p3">
Donec vitae efficitur nisl. Aenean sollicitudin tortor magna, vitae pretium purus aliquet quis. Duis nisl elit, imperdiet at vulputate et, viverra hendrerit elit. Aenean quis efficitur urna. In hac habitasse platea dictumst. Nam faucibus leo in ante luctus, non accumsan mauris vulputate. Fusce mollis metus sit amet felis ultrices, in rhoncus enim vulputate. Phasellus non dignissim lorem, vitae iaculis nunc. Fusce ex lectus, convallis quis ex a, sagittis molestie enim. Quisque at lorem luctus, congue quam semper, mattis nulla. Interdum et malesuada fames ac ante ipsum primis in faucibus. Aenean sagittis tincidunt mollis. Aenean at fringilla dolor.
</p>
</div>
</div>
</body>
</html>

48
rozklad.html Normal file
View File

@ -0,0 +1,48 @@
<html>
<head>
<title>Artur Tamborski</title>
<meta charset="utf-8">
<meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
<style type="text/css">
body {
background: #2980B9;
background: -webkit-linear-gradient(to right, #FFFFFF, #6DD5FA, #2980B9);
background: linear-gradient(to right, #FFFFFF, #6DD5FA, #2980B9);
}
h4 {
text-align: center;
}
</style>
<script>
var g;
window.onload = function() {
var list = document.getElementById('list');
var url = window.location.origin + '/displays.json';
var request = new XMLHttpRequest();
request.open('GET', url);
request.responseType = 'json';
request.send();
request.onload = function() {
var json = request.response['displays'];
for (var i = 0; i < json.length; i++) {
var obj = json[i];
var str = '';
str += 'nazwa: ' + obj.name;
str += ' stop: ' + obj.idStop1;
str += '\n\n\n';
var entry = document.createElement('li');
entry.appendChild(document.createTextNode(str));
list.appendChild(entry);
}
}
}
</script>
</head>
<body>
<ol id="list">
</ol>
<code id="code">
</code>
</body>
</html>

56
srednia.php Normal file
View File

@ -0,0 +1,56 @@
<?php
session_start();
if (isset($_POST['end'])) {
echo 'koniec sesji</br>';
echo 'suma: ' . $_SESSION['sum'] . '</br>';
echo 'srednia: ' . $_SESSION['avg'] . '</br>';
echo 'przesłane liczby: ' . $_SESSION['num'] . '</br>';
echo 'liczba przesłanych liczb: ' . $_SESSION['cnt'] . '</br>';
session_unset();
session_destroy();
exit();
}
if (isset($_POST['user'])) {
$_SESSION['user'] = $_POST['user'];
echo 'Witaj ' . $_SESSION['user'] . '!</br></br>';
}
if (!isset($_SESSION['user'])) {
echo '<h3>Witam witam witam</h3>';
echo '<form action="/srednia.php" method="post">';
echo ' <input type="text" name="user">';
echo ' <button type="submit">Przywitaj się!</button>';
echo '</form>';
exit();
}
if (isset($_POST['number'])) {
$_SESSION['cnt'] += 1;
$_SESSION['sum'] += $_POST['number'];
$_SESSION['num'] .= $_POST['number'] . ', ';
$_SESSION['avg'] = $_SESSION['sum'] / $_SESSION['cnt'];
}
echo 'suma: ' . $_SESSION['sum'] . '</br>';
echo 'srednia: ' . $_SESSION['avg'] . '</br>';
echo 'przesłane liczby: ' . $_SESSION['num'] . '</br>';
echo 'liczba przesłanych liczb: ' . $_SESSION['cnt'] . '</br>';
echo '<h4>Obliczanie</h4>';
echo '<form action="/srednia.php" method="post">';
echo ' <input type="number" name="number">';
echo ' <button type="submit">Dodaj!</button>';
echo '</form>';
echo '<br>';
echo '<h5>Koniec sesji?</h5>';
echo '<form action="/srednia.php" method="post">';
echo ' <button name="end" value="end" type="submit">Tak!</button>';
echo '</form>';
?>

58
testy.html Normal file
View File

@ -0,0 +1,58 @@
<html>
<head>
<title>Artur Tamborski</title>
<meta charset="utf-8">
<style type="text/css">
body {
background: #2980B9;
background: -webkit-linear-gradient(to right, #FFFFFF, #6DD5FA, #2980B9);
background: linear-gradient(to right, #FFFFFF, #6DD5FA, #2980B9);
}
h4 {
text-align: center;
}
</style>
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML' async></script>
<script>
window.onload = function() {
alert('s449376');
window.onbeforeunload = function(e) {
return 's449376 leaving';
};
document.getElementById('button').addEventListener('click', function(e) {
var op = document.getElementById('op').value;
var left = Number(document.getElementById('left').value);
var right = Number(document.getElementById('right').value);
var result = document.getElementById('result');
switch (op) {
case 'add': result.value = left + right; break;
case 'sub': result.value = left - right; break;
case 'mul': result.value = left * right; break;
case 'div': result.value = left / right; break;
}
});
}
</script>
</head>
<body>
<div>
<h4>example mathjax:</h4>
$$\sum_{i=0}^n i^2 = \frac{(n^2+n)(2n+1)}{6}$$
</div>
<div>
<input type="text" id="left">
<select id="op">
<option value="add">+</option>
<option value="sub">-</option>
<option value="mul">*</option>
<option value="div">/</option>
</select>
<input type="text" id="right">
<button id="button">Policz</button>
</br></br>=<input type="text" id="result" readonly="readonly">
</div>
</body>
</html>

11
zad1.js Normal file
View File

@ -0,0 +1,11 @@
var http = require('http')
var path = require('path')
var fs = require('fs')
http.createServer((req, res) => {
res.writeHead(200, {"Content-Type": "text/html"});
fs.createReadStream(path.resolve(__dirname, 'index.html')).pipe(res);
}).listen(49376);
console.log('running...');
console.log('http://localhost:49376/');

52
zad2.js Normal file
View File

@ -0,0 +1,52 @@
const express = require('express');
const multer = require('multer');
const fs = require('fs');
const app = express();
const PORT = 49376;
const UPLOAD_DIRECTORY = './uploads';
!fs.existsSync(UPLOAD_DIRECTORY) && fs.mkdirSync(UPLOAD_DIRECTORY);
const upload = multer({
storage: multer.diskStorage({
destination: (req, file, cb) => { cb(null, UPLOAD_DIRECTORY); },
filename: (req, file, cb) => { cb(null, file.originalname); }
})
}).single('file');
app.get('/', (req, res) => {
res.type('html');
fs.readdir(UPLOAD_DIRECTORY, (err, items) => {
var up = '';
for (var i = 0; i < items.length; i++) {
up += `<li><a href="/${items[i]}">${items[i]}</a></li>`;
}
up = up || 'There are no uploaded files...';
res.end(`
<h3>Upload form</h3>
<form action="/" method="post" enctype="multipart/form-data">
<input type="file" name="file">
<input type="submit" value="send" name="submit">
</form>
<h3>Files to download</h3>
<ul>${up}</ul>
`);
});
});
app.post('/', (req, res) => {
upload(req, res, (err) => {
if (err) { res.end('Error!'); }
else { res.redirect('/'); }
});
});
app.get('/:file(*)', (req, res) => {
res.download(UPLOAD_DIRECTORY + '/' + req.params.file, req.params.file);
});
app.listen(PORT, () => {
console.log(`Listening at http://localhost:${PORT}/`);
});