2 Commits e75671f0e8 ... b6eabbd5b9

Author SHA1 Message Date
  Toni Fadjukoff e75671f0e8 Update LICENSE to Apache License 2 5 years ago
  Toni Fadjukoff b6eabbd5b9 Update LICENSE to Apache License 2 5 years ago
12 changed files with 161 additions and 1 deletions
  1. 4 0
      NOTICE
  2. 14 0
      amica.py
  3. 14 0
      campusravita.py
  4. 17 0
      cgi-bin/food.cgi
  5. 18 0
      code.html
  6. 1 1
      food.py
  7. 15 0
      juvenes.py
  8. 14 0
      pikante.py
  9. 18 0
      pna.html
  10. 14 0
      pnalib.py
  11. 14 0
      sodexo.py
  12. 18 0
      todo.html

+ 4 - 0
NOTICE View File

1
+pna.fi
2
+Copyright 2011-2018 Toni Fadjukoff
3
+
4
+Perustuu Timo Siirasen rna.fi-sivustoon, joka oli saatavilla 2010 asti osoitteessa http://rna.fi Public Domainina.

+ 14 - 0
amica.py View File

1
+# Copyright 2018 Toni Fadjukoff. All Rights Reserved.
2
+#
3
+# Licensed under the Apache License, Version 2.0 (the "License");
4
+# you may not use this file except in compliance with the License.
5
+# You may obtain a copy of the License at
6
+#
7
+# http://www.apache.org/licenses/LICENSE-2.0
8
+#
9
+# Unless required by applicable law or agreed to in writing, software
10
+# distributed under the License is distributed on an "AS IS" BASIS,
11
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+# See the License for the specific language governing permissions and
13
+# limitations under the License.
14
+
1
 import pnalib
15
 import pnalib
2
 import datetime
16
 import datetime
3
 
17
 

+ 14 - 0
campusravita.py View File

1
+# Copyright 2018 Toni Fadjukoff. All Rights Reserved.
2
+#
3
+# Licensed under the Apache License, Version 2.0 (the "License");
4
+# you may not use this file except in compliance with the License.
5
+# You may obtain a copy of the License at
6
+#
7
+# http://www.apache.org/licenses/LICENSE-2.0
8
+#
9
+# Unless required by applicable law or agreed to in writing, software
10
+# distributed under the License is distributed on an "AS IS" BASIS,
11
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+# See the License for the specific language governing permissions and
13
+# limitations under the License.
14
+
1
 import pnalib
15
 import pnalib
2
 import html.parser
16
 import html.parser
3
 import re
17
 import re

+ 17 - 0
cgi-bin/food.cgi View File

1
 #!/usr/bin/env perl
1
 #!/usr/bin/env perl
2
+# Copyright 2010 Timo Siiranen.
3
+# Public Domain
4
+
5
+#
6
+# Copyright 2018 Toni Fadjukoff. All Rights Reserved.
7
+#
8
+# Licensed under the Apache License, Version 2.0 (the "License");
9
+# you may not use this file except in compliance with the License.
10
+# You may obtain a copy of the License at
11
+#
12
+# http://www.apache.org/licenses/LICENSE-2.0
13
+#
14
+# Unless required by applicable law or agreed to in writing, software
15
+# distributed under the License is distributed on an "AS IS" BASIS,
16
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
+# See the License for the specific language governing permissions and
18
+# limitations under the License.
2
 
19
 
3
 use strict;
20
 use strict;
4
 
21
 

+ 18 - 0
code.html View File

1
 <?xml version="1.0" encoding="iso-8859-1"?>
1
 <?xml version="1.0" encoding="iso-8859-1"?>
2
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+<!--
4
+Copyright 2010 Timo Siiranen.
5
+Public Domain
6
+
7
+Copyright 2018 Toni Fadjukoff. All Rights Reserved.
8
+
9
+Licensed under the Apache License, Version 2.0 (the "License");
10
+you may not use this file except in compliance with the License.
11
+You may obtain a copy of the License at
12
+
13
+http://www.apache.org/licenses/LICENSE-2.0
14
+
15
+Unless required by applicable law or agreed to in writing, software
16
+distributed under the License is distributed on an "AS IS" BASIS,
17
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+See the License for the specific language governing permissions and
19
+limitations under the License.
20
+-->
3
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fi" lang="fi">
21
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fi" lang="fi">
4
 <head>
22
 <head>
5
   <title>Ruokalistat</title>
23
   <title>Ruokalistat</title>

+ 1 - 1
food.py View File

1
 #!/usr/bin/env python3
1
 #!/usr/bin/env python3
2
 
2
 
3
 # Copyright 2018 Toni Fadjukoff. All Rights Reserved.
3
 # Copyright 2018 Toni Fadjukoff. All Rights Reserved.
4
-
4
+#
5
 # Licensed under the Apache License, Version 2.0 (the "License");
5
 # Licensed under the Apache License, Version 2.0 (the "License");
6
 # you may not use this file except in compliance with the License.
6
 # you may not use this file except in compliance with the License.
7
 # You may obtain a copy of the License at
7
 # You may obtain a copy of the License at

+ 15 - 0
juvenes.py View File

1
 # encoding: UTF-8
1
 # encoding: UTF-8
2
+
3
+# Copyright 2018 Toni Fadjukoff. All Rights Reserved.
4
+#
5
+# Licensed under the Apache License, Version 2.0 (the "License");
6
+# you may not use this file except in compliance with the License.
7
+# You may obtain a copy of the License at
8
+#
9
+# http://www.apache.org/licenses/LICENSE-2.0
10
+#
11
+# Unless required by applicable law or agreed to in writing, software
12
+# distributed under the License is distributed on an "AS IS" BASIS,
13
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+# See the License for the specific language governing permissions and
15
+# limitations under the License.
16
+
2
 import pnalib
17
 import pnalib
3
 import datetime
18
 import datetime
4
 import re
19
 import re

+ 14 - 0
pikante.py View File

1
+# Copyright 2018 Toni Fadjukoff. All Rights Reserved.
2
+#
3
+# Licensed under the Apache License, Version 2.0 (the "License");
4
+# you may not use this file except in compliance with the License.
5
+# You may obtain a copy of the License at
6
+#
7
+# http://www.apache.org/licenses/LICENSE-2.0
8
+#
9
+# Unless required by applicable law or agreed to in writing, software
10
+# distributed under the License is distributed on an "AS IS" BASIS,
11
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+# See the License for the specific language governing permissions and
13
+# limitations under the License.
14
+
1
 import pnalib
15
 import pnalib
2
 import html.parser
16
 import html.parser
3
 # Pikante does not have any student restaurants at the moment
17
 # Pikante does not have any student restaurants at the moment

+ 18 - 0
pna.html View File

1
 <?xml version="1.0" encoding="iso-8859-1"?>
1
 <?xml version="1.0" encoding="iso-8859-1"?>
2
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+<!--
4
+Copyright 2010 Timo Siiranen.
5
+Public Domain
6
+
7
+Copyright 2018 Toni Fadjukoff. All Rights Reserved.
8
+
9
+Licensed under the Apache License, Version 2.0 (the "License");
10
+you may not use this file except in compliance with the License.
11
+You may obtain a copy of the License at
12
+
13
+http://www.apache.org/licenses/LICENSE-2.0
14
+
15
+Unless required by applicable law or agreed to in writing, software
16
+distributed under the License is distributed on an "AS IS" BASIS,
17
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+See the License for the specific language governing permissions and
19
+limitations under the License.
20
+-->
3
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fi" lang="fi">
21
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fi" lang="fi">
4
 <head>
22
 <head>
5
   <title>PNA</title>
23
   <title>PNA</title>

+ 14 - 0
pnalib.py View File

1
+# Copyright 2018 Toni Fadjukoff. All Rights Reserved.
2
+#
3
+# Licensed under the Apache License, Version 2.0 (the "License");
4
+# you may not use this file except in compliance with the License.
5
+# You may obtain a copy of the License at
6
+#
7
+# http://www.apache.org/licenses/LICENSE-2.0
8
+#
9
+# Unless required by applicable law or agreed to in writing, software
10
+# distributed under the License is distributed on an "AS IS" BASIS,
11
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+# See the License for the specific language governing permissions and
13
+# limitations under the License.
14
+
1
 import os.path
15
 import os.path
2
 import urllib.request
16
 import urllib.request
3
 import urllib.error
17
 import urllib.error

+ 14 - 0
sodexo.py View File

1
+# Copyright 2018 Toni Fadjukoff. All Rights Reserved.
2
+#
3
+# Licensed under the Apache License, Version 2.0 (the "License");
4
+# you may not use this file except in compliance with the License.
5
+# You may obtain a copy of the License at
6
+#
7
+# http://www.apache.org/licenses/LICENSE-2.0
8
+#
9
+# Unless required by applicable law or agreed to in writing, software
10
+# distributed under the License is distributed on an "AS IS" BASIS,
11
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+# See the License for the specific language governing permissions and
13
+# limitations under the License.
14
+
1
 import pnalib
15
 import pnalib
2
 import datetime
16
 import datetime
3
 
17
 

+ 18 - 0
todo.html View File

1
 <?xml version="1.0" encoding="iso-8859-1"?>
1
 <?xml version="1.0" encoding="iso-8859-1"?>
2
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3
+<!--
4
+Copyright 2010 Timo Siiranen.
5
+Public Domain
6
+
7
+Copyright 2018 Toni Fadjukoff. All Rights Reserved.
8
+
9
+Licensed under the Apache License, Version 2.0 (the "License");
10
+you may not use this file except in compliance with the License.
11
+You may obtain a copy of the License at
12
+
13
+http://www.apache.org/licenses/LICENSE-2.0
14
+
15
+Unless required by applicable law or agreed to in writing, software
16
+distributed under the License is distributed on an "AS IS" BASIS,
17
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18
+See the License for the specific language governing permissions and
19
+limitations under the License.
20
+-->
3
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fi" lang="fi">
21
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fi" lang="fi">
4
 <head>
22
 <head>
5
   <title>TODO</title>
23
   <title>TODO</title>