From 08f4d63f450ccd96f5077bc60774d8f1fecec92c Mon Sep 17 00:00:00 2001 From: Wojtek Kosior Date: Wed, 16 Nov 2022 18:52:53 +0100 Subject: initial commit --- .../templates/en/__footer.html.jinja | 27 ++++ .../templates/en/__footer_for_qr.html.jinja | 19 +++ .../templates/en/__index.html.jinja | 160 +++++++++++++++++++++ .../templates/en/author.html.jinja | 33 +++++ src/koszko_org_website/templates/en/cv.html.jinja | 160 +++++++++++++++++++++ .../templates/en/koszko.html.jinja | 157 ++++++++++++++++++++ .../templates/en/prima_aprilis.html.jinja | 20 +++ src/koszko_org_website/templates/en/qr.html.jinja | 28 ++++ 8 files changed, 604 insertions(+) create mode 100644 src/koszko_org_website/templates/en/__footer.html.jinja create mode 100644 src/koszko_org_website/templates/en/__footer_for_qr.html.jinja create mode 100644 src/koszko_org_website/templates/en/__index.html.jinja create mode 100644 src/koszko_org_website/templates/en/author.html.jinja create mode 100644 src/koszko_org_website/templates/en/cv.html.jinja create mode 100644 src/koszko_org_website/templates/en/koszko.html.jinja create mode 100644 src/koszko_org_website/templates/en/prima_aprilis.html.jinja create mode 100644 src/koszko_org_website/templates/en/qr.html.jinja (limited to 'src/koszko_org_website/templates/en') diff --git a/src/koszko_org_website/templates/en/__footer.html.jinja b/src/koszko_org_website/templates/en/__footer.html.jinja new file mode 100644 index 0000000..5d1791f --- /dev/null +++ b/src/koszko_org_website/templates/en/__footer.html.jinja @@ -0,0 +1,27 @@ +{# +SPDX-License-Identifier: CC0-1.0 + +Footer text of the koszko.org website pages (english). + +Copyright (C) 2022 Wojtek Kosior +#} + +{% call para(ensure_containing_section=false) %} + This site utilizes styling from {{ link('https://purecss.io/', 'PureCSS') }} + and {{ link('https://github.com/necolas/normalize.css', 'Normalize CSS') }} + available under + {{ link('/static/yahoo-bsd-license.txt', 'Yahoo\'s BSD License') }} and + {{ link('/static/normalize-mit-license.txt', 'an X11-style license') }}, + respectively. +{% endcall %} + +{% block extra_footer_copyright_info %} +{% endblock %} + +{% call para(ensure_containing_section=false) %} + The rest is made by {{ link(same_lang_url('koszko.html'), 'Wojtek') }}, + available + {{ link('https://git.koszko.org/koszko-org-website/', 'here') }} + under the terms of + {{ link('/static/cc0-1.0.txt', 'CC0') }}. +{% endcall %} diff --git a/src/koszko_org_website/templates/en/__footer_for_qr.html.jinja b/src/koszko_org_website/templates/en/__footer_for_qr.html.jinja new file mode 100644 index 0000000..f06ea2f --- /dev/null +++ b/src/koszko_org_website/templates/en/__footer_for_qr.html.jinja @@ -0,0 +1,19 @@ +{# +SPDX-License-Identifier: CC0-1.0 + +Footer text of the koszko.org website qr page (english). + +Copyright (C) 2022 Wojtek Kosior +#} +{% extends 'en/__footer.html.jinja' %} + +{% block extra_footer_copyright_info %} + {% call para(ensure_containing_section=false) %} + The Easter eggs photo has been taken from + {% call link('https://commons.wikimedia.org/wiki/File:20110423_Easter_eggs_(3).jpg') -%} + Wikimedia Commons + {%- endcall %} + and is available under the terms of + {{ link('/static/cc-by-3.0.txt', 'CC BY 3.0 Unported') }}. + {% endcall %} +{% endblock %} diff --git a/src/koszko_org_website/templates/en/__index.html.jinja b/src/koszko_org_website/templates/en/__index.html.jinja new file mode 100644 index 0000000..480c4c4 --- /dev/null +++ b/src/koszko_org_website/templates/en/__index.html.jinja @@ -0,0 +1,160 @@ +{# +SPDX-License-Identifier: CC0-1.0 + +koszko.org website start page (english). + +Copyright (C) 2021,2022 Wojtek Kosior +#} +{% extends "__index.html.jinja" %} + +{% block title %} Libre programs {% endblock %} + +{% block content %} + {{ header(1, 'Campaign for libre software') }} + + {% call section('what-software') %} + {{ header(2, 'What software?') }} + + {% call para() %} + Libre program is one its user can use for any purpose, modify in the form + of source code and redistribute, including for commercial + purposes. Examples are GNU/Linux operating system, VLC media player, GIMP, + LibreOffice, WordPress and also (except for certain components): Firefox + browser, Android operating system and Chromium browser. A program user + cannot modify or redistribute for either legal or technical reasons is + called proprietary or nonfree. + {% endcall %} + {% endcall %} + + {% call section('who-needs-this') %} + {{ header(2, 'Who needs this?') }} + + {% call para() %} + Libre program gives user control. Computer is a useful device, yet is does + nothing by itself. To work it needs a program. Computer's owner is only + able to control it indirectly, through a program. If the software being + run is libre, the user has control over it and hence over the device. A + proprietary program, on the other hand, is controlled by its vendor (or + speaking 100% strictly - the party holding its cource code). Such program + only does what its vendor wants it to. As a result, the device also does + not what its owner wants but rather what program's vendor wants. Instead + of the desired situation where device user controls the device, we get a + reversed one: vendor, through program, controls the user and decides what + user can and cannot do. Of course, in practice we witness different levels + of users mistreatment. One edge case is an operating system only allowing + installation of applications approved by its vendor. + {% endcall %} + + {% call para() %} + Everyone should care about using libre programs simply because it is good + to have control over one's own devices. The issue is not, however, limited + to personal preferences. The more people in a society rely on proprietary, + incompatible tools, the harder life is for those willing to choose libre + ones. + {% endcall %} + + {% call para() %} + The problem is also worth looking at on a different scale. A state with + proprietary programs in widespread use is not fully independent - it + depends indirectly on vendors of these programs. For this reason a duty of + responsibility for one's state also means taking action to stop its + economy and education from relying on proprietary operating systems or + tools. + {% endcall %} + {% endcall %} + + {% call section('how-this-matters-to-non-programmers') %} + {{ header(2, 'How does all this matter to someone who cannot program?') }} + + {% call para() %} + One does not need to be a programmer in order to utilize the control libre + programs give. Quite often when a direction of some libre program is bad + (e.g. antifeatures are being added like telemetry in Firefox), independent + people come up with a version of that program without the original + drawbacks (example would be the + {{ link('https://librewolf-community.gitlab.io/', 'LibreWolf') }} + browser). All that's needed is a bit of demand for a modified version of + some program. Bussinessmen, on the other hand, might find it practical to + employ someone to adapt a libre program to company's needs. + {% endcall %} + {% endcall %} + + {% call section('how-is-moneymaking-affected') %} + {% call header(2) %} + Does it mean programmers shouldn't be paid for writing software? + {% endcall %} + + {% call para() %} + Equating libre program with gratis and proprietary with paid is a very + common misunderstanding. In reality proprietary programs often come for + free (Adobe Reader, Chrome browser, Google Docs) and libre tools can also + be made available for a fee (e.g. commercial GNU/Linux distrubutions). + Many people associate programming with a business model where a customer + is being sold a license for use of some proprietary program. Because such + model is less practical in case of libre programs, some think their + creation cannot be commercialized. However, most code - both libre and + nonfree - is not being written with the goal of selling licenses for its + use. Income often comes from different sources, such as selling services + or hardware the program works with. + {% endcall %} + {% endcall %} + + {% call section('how-it-started') %} + {{ header(2, 'Who came up with all this?') }} + + {% call para() %} + In 1983 + {% call link('https://en.wikipedia.org/wiki/Richard_Stallman') -%} + Richard Stallman + {%- endcall %}, + a + {% call link('https://en.wikipedia.org/wiki/Massachusetts_Institute_of_Technology') -%} + MIT + {%- endcall %} + scientist, started the + {{ link('https://www.gnu.org/', 'GNU project') }} with a goal of + developing a libre replacement for proprietary UNIX system. 2 years later + in Boston he founded the + {{ link('https://www.fsf.org/', 'Free Software Foundation (FSF)') }} which + still promotes and develops these ideals. + {% endcall %} + {% endcall %} + + {% call section('how-to-come-to-the-good-side') %} + {{ header(2, 'How to come to the good side?') }} + + {% call para() %} + You can help in many ways. For example by + {% endcall %} + + {% call unordered_list() %} + {% call list_entry() %} + using libre programs on daily basis, + {% endcall %} + {% call list_entry() %} + making others aware of the problem (you can link this site + or the {{ link('https://fsf.org', 'FSF\'s site') }}), + {% endcall %} + {% call list_entry() %} + refusing to use proprietary tools to the best of your ability, + {% endcall %} + {% call list_entry() %} + complaining to vendors of proprietary programs asking for their source + code to be released under some libre license, + {% endcall %} + {% call list_entry() %} + calling on people in charge of various organizations and educational + facilities to deploy a libre operating system and tools, + {% endcall %} + {% call list_entry() %} + calling on politicians to enact laws good for software freedom + (e.g. making code written for public money available under a libre + license) and + {% endcall %} + {% call list_entry() %} + {{ link('https://my.fsf.org/join', 'donating to the FSF') }} or various + projects developing libre programs. + {% endcall %} + {% endcall %} + {% endcall %} +{% endblock %} diff --git a/src/koszko_org_website/templates/en/author.html.jinja b/src/koszko_org_website/templates/en/author.html.jinja new file mode 100644 index 0000000..e3a01c3 --- /dev/null +++ b/src/koszko_org_website/templates/en/author.html.jinja @@ -0,0 +1,33 @@ +{# +SPDX-License-Identifier: CC0-1.0 + +koszko.org website "about author" page (english). + +Copyright (C) 2021,2022 Wojtek Kosior +#} +{% extends "__campaign_base.html.jinja" %} + +{% block title %} Campaign author {% endblock %} + +{% block content %} + {{ header(1, 'About campaign author') }} + + {% call section() %} + {% call para() %} + My name is Wojciech Kosior. I am (as one could easily guess) a software + freedom proponent and (as you might not yet know) a catholic. In 2021 I + {% call link('https://www.gnu.org/education/how-i-fought-to-graduate-without-using-non-free-software.html') -%} + successfully defended + {%- endcall %} + my BSc thesis in infomatics at + {{ link('https://en.wikipedia.org/wiki/AGH_University_of_Science_and_Technology', 'AGH') }} + in Kraków, Poland. I am now striving to make people care more about their + digital freedom. + {% endcall %} + + {% call para() %} + You can find more information on + {{ link(same_lang_url('koszko.html'), 'my personal page') }}. + {% endcall %} + {% endcall %} +{% endblock %} diff --git a/src/koszko_org_website/templates/en/cv.html.jinja b/src/koszko_org_website/templates/en/cv.html.jinja new file mode 100644 index 0000000..36f6d59 --- /dev/null +++ b/src/koszko_org_website/templates/en/cv.html.jinja @@ -0,0 +1,160 @@ +{# +SPDX-License-Identifier: CC0-1.0 + +koszko.org website CV page (english). + +Copyright (C) 2021,2022 Wojtek Kosior +#} +{% extends "cv.html.jinja" %} + +{% block lisp_entry_text %} + Lisp (bits from various dialects) +{% endblock %} + +{% block assembly_link_text %} + assembly (ARM, x86 in Intel syntax) +{% endblock %} + +{% block content %} + {% call section() %} + {% call aside() %} + The formal, PDF version of the Curriculum Vitae can be found + {{ link('/static/cv-formal-en.pdf', 'here') }}. + {% endcall %} + {% endcall %} + + {% call section('edu') %} + {{ header(2, 'Education') }} + + {% call descriptions() %} + {{ desc_term('2017-2021') }} + {% call desc_desc() -%} + Informatics, stationary studies, + {{ link('https://en.wikipedia.org/wiki/AGH_University_of_Science_and_Technology', 'AGH') }} + in Kraków, IEiT faculty + {%- endcall %} + {% endcall %} + {% endcall %} + + {% call section('achievements') %} + {{ header(2, 'Achievements') }} + + {% call descriptions() %} + {{ desc_term('2014') }} + {% call desc_desc() %} + {{ link('https://omj.edu.pl/laureaci-ix', 'Laureate') }} of the 9th + {% call link('https://om.edu.pl/omg/') -%} + Math Olympics for Secondary School Students + {%- endcall %} + {% endcall %} + + {{ desc_term('2017') }} + {% call desc_desc() %} + {{ link('https://www.kgof.edu.pl/archiwum/66/of66-3-laureaci.pdf', 'Laureate') }} + of the 66th {{ link('https://www.kgof.edu.pl/', 'Physics Olympics') }} + {% endcall %} + + {{ desc_term('2017') }} + {% call desc_desc() %} + {{ link('https://om.mimuw.edu.pl/previous_olympiads/68', 'Finalist') }} + of the 68th {{ link('https://om.edu.pl/', 'Math Olympics') }} + {% endcall %} + + {{ desc_term('2021') }} + {% call desc_desc() %} + {{ link('https://www.gnu.org/education/how-i-fought-to-graduate-without-using-non-free-software.html', 'Fight') }} + for the ability to study using libre software, concluded with successful + BSc thesis defence with a "very good" final grade + {% endcall %} + {% endcall %} + {% endcall %} + + {% call section('skills') %} + {{ header(2, 'Knowledge of technologies') }} + + {% call para() %} + Speaks (best learned towards the top) + {% endcall %} + + {{ speaks_list() }} + + {% call para() %} + I can also learn almost any programming language in ~20 minutes + {{ unicode(128521) }} + {% endcall %} + + {% call para() %} + I am experienced in + {% endcall %} + + {% call unordered_list() %} + {% call list_entry() %} + administering UNIX-like systems (e.g. Debian GNU/Linux) + {% endcall %} + + {% call list_entry() %} + low-level programming, bare-metal, embedded + systems{{ gitlink(*embeds_project_ids)}} + {% endcall %} + + {% call list_entry() %} + networking facilities offered by the Linux + kernel{{ gitlink(*networking_project_ids) }} + {% endcall %} + + {% call list_entry() %} + Make tool{{ gitlink(*make_project_ids) }} + {% endcall %} + + {% call list_entry() %} + Git tool + {% endcall %} + + {% call list_entry() %} + practical applications of cryptographic tools + {% endcall %} + + {% call list_entry() %} + crafting of lightweight, ethical websites + {% endcall %} + + {% call list_entry() %} + libre software licenses + {% endcall %} + + {% call list_entry() %} + cross-compilation{{ gitlink(*xcc_project_ids) }} + {% endcall %} + {% endcall %} + {% endcall %} + + {% call section('rest') %} + {{ header(2, 'Others') }} + + {% call unordered_list() %} + {% call list_entry() %} + english language at level C1 + {% endcall %} + {% call list_entry() %} + polish language (native) + {% endcall %} + {% endcall %} + {% endcall %} + + {% call section('freesw-only') %} + {{ header(2, 'Libre software at work') }} + + {% call para() %} + I am open for ethical contracts and job offers that do not involve + proprietary software development nor a non-disclosure agreement. In case + of doubt + {{ link('mailto:koszko@koszko.org', 'I am answering questions') }}. + {% endcall %} + {% endcall %} + + {% call section('contact') %} + {{ header(2, 'Contact') }} + + {{ contact_info() }} + {% endcall %} +{% endblock %} diff --git a/src/koszko_org_website/templates/en/koszko.html.jinja b/src/koszko_org_website/templates/en/koszko.html.jinja new file mode 100644 index 0000000..23bc321 --- /dev/null +++ b/src/koszko_org_website/templates/en/koszko.html.jinja @@ -0,0 +1,157 @@ +{# +SPDX-License-Identifier: CC0-1.0 + +koszko.org website personal page (english). + +Copyright (C) 2021,2022 Wojtek Kosior +#} +{% extends "koszko.html.jinja" %} + +{% block title %} Wojtek {% endblock %} + +{% block subheading_text %} personal site {% endblock %} + +{% set include_not_facebookd = true %} + +{% block to_freesw_hackers %} + {% call para() %} + You want people to appreciate libre software and choose it, for their own + good and society's? You consider hurtful that most people are very + irresponsible and in every field rely on proprietary tools, without showing + even a tiny bit of initiative to verify whether those are truly good for + them? Perhaps you also met with snubbing of logical argumentation? + {% endcall %} + {% call para() %} + Many catholics feel likewise seeing people leaving Church and dedicated + atheists responding to any miracle reports with conspiracy theories to + undermine them. And we just want good for you -{{ nbsp() }}so that you can + be truly happy and -{{ nbsp() }}put simply -{{ nbsp() }}eventually be + salvated. + {% endcall %} + {% call para() %} + Friends, show the life responsibility we expect from others and seriously + verify if, perhaps, what Church has been saying for 2000 years + is {{ bold('true') }}. + {% endcall %} +{% endblock %} + +{% block to_christians %} + {% call para() %} + As christians we strive to live well and responsibly. As christians we + consider sharing a good thing. Have you heard of free/libre software? It is + a concept that should be extremely popular among christians. But currently + this is not the case. Why most of us are not trying to build a responsible + society that would utilize technology in a sensible manner so that it is + being controlled by human and not the opposite? Why instead of encouraging + others to share code catholics so often release their own as proprietary, + resulting in its user being thrown on their mercy? + {% endcall %} + {% call para() %} + We don't like ignoring? Let's not ignore by ourselves. Snubbing is bad? Let + us not snub. We want the Church to be independent? Then shall we in the + first place stop relying on devices, software and services which take away + freedom. + {% endcall %} +{% endblock %} + +{% block use_internet_if_needed %} + {% call para() %} + I've been told the above is too general and someone who's not aware of what + I wrote about shall not understand it. If you indeed have no idea what I + wrote about, feel free to utilize a search engine and/or Wikipedia to learn + more. + {% endcall %} +{% endblock %} + +{% block content %} + {% call section('contact') %} + {{ header(2, 'Contact') }} + + {% call descriptions() %} + {{ desc_term('Tel.:') }} + {{ desc_desc('(+48) 12 350 64 74') }} + + {{ desc_term('Email:') }} + {% call desc_desc() -%} + {{ link('mailto:koszko@koszko.org', 'koszko@koszko.org') }} + {%- endcall %} + {% endcall %} + {% endcall %} + + {% call section('pubkeys') %} + {{ header(2, 'Public keys') }} + + {% call unordered_list() %} + {% call list_entry() %} + {{ link('/static/key.gpg', 'PGP') }} + + {% call unordered_list() %} + {% call list_entry() %} + {% call link('/static/key.gpg.sig') -%} + PGP key signature made with signify key + {%- endcall %} + {% endcall %} + {% endcall %} + {% endcall %} + + {% call list_entry() %} + {{ link('/static/key.pub', 'signify') }} + + {% call unordered_list() %} + {% call list_entry() %} + {% call link('/static/key.pub.asc') -%} + signify key signature made with PGP key + {%- endcall %} + {% endcall %} + {% endcall %} + {% endcall %} + {% endcall %} + {% endcall %} + + {% call section('portal') %} + {{ header(2, 'Portal') }} + + {% call para() %} + This portal of mine is online since april 2021. Sites comprising it are + listed below. + {% endcall %} + + {% call descriptions() %} + {% call desc_term() -%} + {{ link(same_lang_url('koszko.html'), 'koszko.org/koszko.html') }} + {%- endcall %} + - + {{ desc_desc('my personal website (you\'re viewing it)') }} + + {% call desc_term() -%} + {{ link('https://pray.koszko.org', 'pray.koszko.org') }} + {%- endcall %} + - + {{ desc_desc('prayer sheets website') }} + + {% call desc_term() -%} + {{ link('https://sheets.koszko.org', 'sheets.koszko.org') }} + {%- endcall %} + - + {{ desc_desc('world changing sheets website') }} + + {% call desc_term() -%} + {{ link('https://haketilo.koszko.org', 'haketilo.koszko.org') }} + {%- endcall %} + - + {{ desc_desc('Haketilo proxy website') }} + + {% call desc_term() -%} + {{ link('https://git.koszko.org', 'git.koszko.org') }} + {%- endcall %} + - + {{ desc_desc('my repositories') }} + {% endcall %} + {% endcall %} + + {% call section('request') %} + {{ header(2, 'Personal statement') }} + + {{ request_table() }} + {% endcall %} +{% endblock %} diff --git a/src/koszko_org_website/templates/en/prima_aprilis.html.jinja b/src/koszko_org_website/templates/en/prima_aprilis.html.jinja new file mode 100644 index 0000000..d361f4f --- /dev/null +++ b/src/koszko_org_website/templates/en/prima_aprilis.html.jinja @@ -0,0 +1,20 @@ +{# +SPDX-License-Identifier: CC0-1.0 + +koszko.org website Prima Aprilis page (polish). + +Copyright (C) 2022 Wojtek Kosior +#} +{% extends "__koszko_base.html.jinja" %} + +{% block title %} April Fools! {% endblock %} + +{% block header %} + {{ header(1, 'April Fools!') }} +{% endblock %} + +{% block content %} + {% call para() %} + {{ unicode(128521) }} + {% endcall %} +{% endblock %} diff --git a/src/koszko_org_website/templates/en/qr.html.jinja b/src/koszko_org_website/templates/en/qr.html.jinja new file mode 100644 index 0000000..1fe1545 --- /dev/null +++ b/src/koszko_org_website/templates/en/qr.html.jinja @@ -0,0 +1,28 @@ +{# +SPDX-License-Identifier: CC0-1.0 + +koszko.org website QR code easter egg page (english). + +Copyright (C) 2021,2022 Wojtek Kosior +#} +{% extends "__campaign_base.html.jinja" %} + +{% block title %} Easter eggs {% endblock %} + +{% block content %} + {{ header(1, 'QR code') }} + + {% call section() %} + {% call para() %} + So you scanned the QR code? You'll see something cool then. + {% endcall %} + + {% set alt_text = 'photo of Easter eggs lying on the grass' %} + {{ img('/static/easter-eggs.jpg', alt_text) }} + + {% call para() %} + You can now move to {{ link(same_lang_url(''), 'the target page') }} + {{ unicode(128578) }} + {% endcall %} + {% endcall %} +{% endblock %} -- cgit v1.2.3