Compare commits

...

12 commits

Author SHA1 Message Date
Sebastian Wendel a19cc5d650 somehow finished 2024-04-17 11:04:05 +02:00
Sebastian Wendel d8d80ce1f2 finished movie title 2024-04-11 12:22:59 +02:00
Sebastian Wendel a1820a5d70 add movie title 2024-04-11 11:07:53 +02:00
Sebastian Wendel 36db3e0f65 fixed iframe title 2024-04-11 11:06:39 +02:00
Sebastian Wendel b287190ec8 fixed iframe arguments 2024-04-11 11:05:07 +02:00
Sebastian Wendel 54d67b0a84 added movie page example 2024-04-11 11:04:34 +02:00
Sebastian Wendel 7f13d7be65 added paragraphs and menu section 2024-04-10 12:03:28 +02:00
Sebastian Wendel bc16b58ea3 added id based section links 2024-04-10 11:10:43 +02:00
Sebastian Wendel eb6e74c90b added html5 validator 2024-04-10 10:24:36 +02:00
Sebastian Wendel d814e978b5 fixed html closing tag 2024-04-10 10:23:17 +02:00
Sebastian Wendel 13a181acf6 fixed html skeleton 2024-04-10 09:49:31 +02:00
Sebastian Wendel 925be02db5 added basic exercise_1_html 2024-04-09 12:25:39 +02:00
16 changed files with 339 additions and 228 deletions

View file

@ -9,6 +9,7 @@
"mblode.pretty-formatter",
"mikestead.dotenv",
"ms-vscode.live-server",
"ritwickdey.LiveServer",
"stylelint.vscode-stylelint",
],
"unwantedRecommendations": []

View file

@ -6,16 +6,15 @@
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"[css]": {
"editor.defaultFormatter": "vscode.css-language-features"
},
"[jsonc]": {
"editor.defaultFormatter": "mblode.pretty-formatter"
"editor.defaultFormatter": "vscode.json-language-features"
},
"[nix]": {
"editor.defaultFormatter": "kamadorueda.alejandra",
"editor.defaultFormatter": "brettm12345.nixfmt-vscode",
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.tabSize": 2,
@ -23,5 +22,4 @@
},
"nix.serverPath": "nil",
"nix.enableLanguageServer": true,
"alejandra.program": "alejandra"
}
}

54
css/mains.css Normal file
View file

@ -0,0 +1,54 @@
@font-face {
font-family: Roboto;
src: url("/fonts/Roboto-Regular.woff2") format("woff2");
}
body {
margin: auto;
max-width: 1100px;
font-family: "Roboto", sans-serif;
}
.menu {
text-align: right;
font-size: 120%;
}
h1 {
font-size: 250%;
font-weight: bold;
}
h2 {
font-size: 150%;
font-weight: bold;
}
a:link {
color: black;
text-decoration: none;
}
a:link:hover {
text-decoration: underline overline;
color: #aaa;
}
.link:after {
content: '|';
padding: 0 10px;
}
.info {
font-size: 12px;
color: #9b9b9b;
}
.center {
display: block;
margin-left: auto;
margin-right: auto;
width: 100%;
}

View file

@ -1,90 +0,0 @@
:root {
--c_dark: #191919;
--c_light: #fff;
--c_scheme_bg: var(--c_dark);
--c_scheme_el: var(--c_light);
}
::selection {
background-color: #fece30;
color: var(--c_light);
}
@media (prefers-color-scheme: light) {
:root {
--c_scheme_bg: var(--c_light);
--c_scheme_el: var(--c_dark);
--c_scheme_filter: grayscale(0);
}
}
@font-face {
font-family: 'workbench';
src: url('../font/WORKBENCH-REGULAR.ttf') format('truetype');
}
.p-uppercase {
text-transform: uppercase;
letter-spacing: 0.2rem;
}
.p-bold {
font-weight: 500;
letter-spacing: 0.3rem;
}
.p-text-style {
font-weight: 300;
letter-spacing: 0.05rem;
}
.p-separator {
width: 7rem;
border: 1px solid var(--c_scheme_el);
margin: 1.8rem auto 1.4rem;
}
.figure {
width: 50%;
margin: 0 auto 2rem;
}
.figure__img {
width: 100%;
height: auto;
filter: var(--c_scheme_filter);
transition: filter 0.3s ease-in;
}
.figure__caption {
width: 80%;
font-size: 0.9rem;
line-height: 1.8;
margin: 0 auto;
}
.article {
max-width: 54rem;
text-align: center;
font-family: "Oswald", sans-serif;
margin: 0 auto;
padding: 1.5rem 8vmin 0;
}
.article__headline {
color: var(--c_scheme_el);
font: inherit;
font-family: workbench;
font-size: 2rem;
font-weight: 200;
margin: 0;
}
body {
width: 100%;
min-width: 20rem;
background-color: var(--c_scheme_bg);
color: var(--c_scheme_el);
margin: 0;
}

View file

@ -6,18 +6,11 @@
flake-parts.url = "github:hercules-ci/flake-parts";
};
outputs = inputs @ {flake-parts, ...}:
flake-parts.lib.mkFlake {inherit inputs;} {
systems = ["x86_64-linux" "aarch64-darwin" "x86_64-darwin"];
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [ "x86_64-linux" "aarch64-darwin" "x86_64-darwin" ];
perSystem = {
pkgs,
config,
system,
inputs',
self',
...
}: {
perSystem = { pkgs, config, system, inputs', self', ... }: {
devShells.default = pkgs.mkShell {
nativeBuildInputs = with pkgs; [
# ide
@ -25,6 +18,7 @@
# formater
alejandra
nixfmt
nodePackages_latest.prettier
# lsp
@ -36,6 +30,11 @@
# node
nodePackages_latest.nodejs
nodePackages_latest.yarn
# html
html5validator
vscode-extensions.ritwickdey.liveserver
];
};
};

Binary file not shown.

202
fonts/LICENSE.txt Normal file
View file

@ -0,0 +1,202 @@
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
1. Definitions.
"License" shall mean the terms and conditions for use, reproduction,
and distribution as defined by Sections 1 through 9 of this document.
"Licensor" shall mean the copyright owner or entity authorized by
the copyright owner that is granting the License.
"Legal Entity" shall mean the union of the acting entity and all
other entities that control, are controlled by, or are under common
control with that entity. For the purposes of this definition,
"control" means (i) the power, direct or indirect, to cause the
direction or management of such entity, whether by contract or
otherwise, or (ii) ownership of fifty percent (50%) or more of the
outstanding shares, or (iii) beneficial ownership of such entity.
"You" (or "Your") shall mean an individual or Legal Entity
exercising permissions granted by this License.
"Source" form shall mean the preferred form for making modifications,
including but not limited to software source code, documentation
source, and configuration files.
"Object" form shall mean any form resulting from mechanical
transformation or translation of a Source form, including but
not limited to compiled object code, generated documentation,
and conversions to other media types.
"Work" shall mean the work of authorship, whether in Source or
Object form, made available under the License, as indicated by a
copyright notice that is included in or attached to the work
(an example is provided in the Appendix below).
"Derivative Works" shall mean any work, whether in Source or Object
form, that is based on (or derived from) the Work and for which the
editorial revisions, annotations, elaborations, or other modifications
represent, as a whole, an original work of authorship. For the purposes
of this License, Derivative Works shall not include works that remain
separable from, or merely link (or bind by name) to the interfaces of,
the Work and Derivative Works thereof.
"Contribution" shall mean any work of authorship, including
the original version of the Work and any modifications or additions
to that Work or Derivative Works thereof, that is intentionally
submitted to Licensor for inclusion in the Work by the copyright owner
or by an individual or Legal Entity authorized to submit on behalf of
the copyright owner. For the purposes of this definition, "submitted"
means any form of electronic, verbal, or written communication sent
to the Licensor or its representatives, including but not limited to
communication on electronic mailing lists, source code control systems,
and issue tracking systems that are managed by, or on behalf of, the
Licensor for the purpose of discussing and improving the Work, but
excluding communication that is conspicuously marked or otherwise
designated in writing by the copyright owner as "Not a Contribution."
"Contributor" shall mean Licensor and any individual or Legal Entity
on behalf of whom a Contribution has been received by Licensor and
subsequently incorporated within the Work.
2. Grant of Copyright License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
copyright license to reproduce, prepare Derivative Works of,
publicly display, publicly perform, sublicense, and distribute the
Work and such Derivative Works in Source or Object form.
3. Grant of Patent License. Subject to the terms and conditions of
this License, each Contributor hereby grants to You a perpetual,
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
(except as stated in this section) patent license to make, have made,
use, offer to sell, sell, import, and otherwise transfer the Work,
where such license applies only to those patent claims licensable
by such Contributor that are necessarily infringed by their
Contribution(s) alone or by combination of their Contribution(s)
with the Work to which such Contribution(s) was submitted. If You
institute patent litigation against any entity (including a
cross-claim or counterclaim in a lawsuit) alleging that the Work
or a Contribution incorporated within the Work constitutes direct
or contributory patent infringement, then any patent licenses
granted to You under this License for that Work shall terminate
as of the date such litigation is filed.
4. Redistribution. You may reproduce and distribute copies of the
Work or Derivative Works thereof in any medium, with or without
modifications, and in Source or Object form, provided that You
meet the following conditions:
(a) You must give any other recipients of the Work or
Derivative Works a copy of this License; and
(b) You must cause any modified files to carry prominent notices
stating that You changed the files; and
(c) You must retain, in the Source form of any Derivative Works
that You distribute, all copyright, patent, trademark, and
attribution notices from the Source form of the Work,
excluding those notices that do not pertain to any part of
the Derivative Works; and
(d) If the Work includes a "NOTICE" text file as part of its
distribution, then any Derivative Works that You distribute must
include a readable copy of the attribution notices contained
within such NOTICE file, excluding those notices that do not
pertain to any part of the Derivative Works, in at least one
of the following places: within a NOTICE text file distributed
as part of the Derivative Works; within the Source form or
documentation, if provided along with the Derivative Works; or,
within a display generated by the Derivative Works, if and
wherever such third-party notices normally appear. The contents
of the NOTICE file are for informational purposes only and
do not modify the License. You may add Your own attribution
notices within Derivative Works that You distribute, alongside
or as an addendum to the NOTICE text from the Work, provided
that such additional attribution notices cannot be construed
as modifying the License.
You may add Your own copyright statement to Your modifications and
may provide additional or different license terms and conditions
for use, reproduction, or distribution of Your modifications, or
for any such Derivative Works as a whole, provided Your use,
reproduction, and distribution of the Work otherwise complies with
the conditions stated in this License.
5. Submission of Contributions. Unless You explicitly state otherwise,
any Contribution intentionally submitted for inclusion in the Work
by You to the Licensor shall be under the terms and conditions of
this License, without any additional terms or conditions.
Notwithstanding the above, nothing herein shall supersede or modify
the terms of any separate license agreement you may have executed
with Licensor regarding such Contributions.
6. Trademarks. This License does not grant permission to use the trade
names, trademarks, service marks, or product names of the Licensor,
except as required for reasonable and customary use in describing the
origin of the Work and reproducing the content of the NOTICE file.
7. Disclaimer of Warranty. Unless required by applicable law or
agreed to in writing, Licensor provides the Work (and each
Contributor provides its Contributions) on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
implied, including, without limitation, any warranties or conditions
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
PARTICULAR PURPOSE. You are solely responsible for determining the
appropriateness of using or redistributing the Work and assume any
risks associated with Your exercise of permissions under this License.
8. Limitation of Liability. In no event and under no legal theory,
whether in tort (including negligence), contract, or otherwise,
unless required by applicable law (such as deliberate and grossly
negligent acts) or agreed to in writing, shall any Contributor be
liable to You for damages, including any direct, indirect, special,
incidental, or consequential damages of any character arising as a
result of this License or out of the use or inability to use the
Work (including but not limited to damages for loss of goodwill,
work stoppage, computer failure or malfunction, or any and all
other commercial damages or losses), even if such Contributor
has been advised of the possibility of such damages.
9. Accepting Warranty or Additional Liability. While redistributing
the Work or Derivative Works thereof, You may choose to offer,
and charge a fee for, acceptance of support, warranty, indemnity,
or other liability obligations and/or rights consistent with this
License. However, in accepting such obligations, You may act only
on Your own behalf and on Your sole responsibility, not on behalf
of any other Contributor, and only if You agree to indemnify,
defend, and hold each Contributor harmless for any liability
incurred by, or claims asserted against, such Contributor by reason
of your accepting any such warranty or additional liability.
END OF TERMS AND CONDITIONS
APPENDIX: How to apply the Apache License to your work.
To apply the Apache License to your work, attach the following
boilerplate notice, with the fields enclosed by brackets "[]"
replaced with your own identifying information. (Don't include
the brackets!) The text should be enclosed in the appropriate
comment syntax for the file format. We also recommend that a
file or class name and description of purpose be included on the
same "printed page" as the copyright notice for easier
identification within third-party archives.
Copyright [yyyy] [name of copyright owner]
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

BIN
fonts/Roboto-Regular.woff2 Normal file

Binary file not shown.

BIN
images/a380.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

BIN
images/a380_2.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

BIN
images/favicon.ico Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

1
images/logo_cnn.svg Normal file
View file

@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="65" height="65" viewBox="0 0 65 65"><g fill="none" fill-rule="evenodd"><path fill="#C00" d="M0 65h65V0H0z"/><g fill="#FEFEFE"><path d="M54.278 22.374v18.221c0 .723-.453 1.333-1.127 1.517a1.547 1.547 0 0 1-.397.053c-.514 0-1.106-.257-1.533-.982-.023-.039-1.714-2.957-4.295-7.404l-4.276-7.37c-.236-.404-.568-.594-.885-.508-.269.074-.444.321-.444.63v14.064c0 .723-.452 1.333-1.126 1.517-.576.158-1.387-.006-1.93-.929l-3.919-6.754-4.65-8.02c-.24-.405-.574-.595-.896-.507-.206.057-.447.255-.447.629v13.757c0 .906-.796 1.7-1.703 1.7h-6.984c-4.646 0-8.426-3.779-8.426-8.426 0-4.646 3.78-8.425 8.426-8.425h3.627v-2.763H19.67c-6.18 0-11.189 5.009-11.189 11.188 0 6.18 5.01 11.19 11.19 11.19h7.05c2.681.001 4.405-1.569 4.401-4.468v-6.381s4.5 7.749 4.706 8.1c2.855 4.851 8.252 2.846 8.252-1.329v-6.771s4.498 7.749 4.704 8.1c2.855 4.851 8.252 2.846 8.252-1.329v-18.3h-2.757z"/><path d="M12.162 33.563c0 4.137 3.367 7.504 7.504 7.504h6.985c.439 0 .78-.419.78-.778l.002-13.759c0-.724.452-1.333 1.126-1.517.577-.158 1.386.004 1.93.928l4.655 8.025 3.916 6.75c.237.405.572.594.893.506.207-.056.449-.254.449-.628V26.53c0-.725.45-1.335 1.122-1.517.573-.157 1.379.006 1.92.928l4.28 7.375 4.292 7.4c.238.405.572.595.894.506.207-.056.448-.254.448-.628v-18.22h-2.77v10.848s-4.498-7.75-4.705-8.1c-2.854-4.852-8.252-2.847-8.252 1.33v6.77s-4.498-7.75-4.703-8.1c-2.856-4.852-8.252-2.847-8.252 1.33v11.095a.738.738 0 0 1-.745.757h-4.234a4.742 4.742 0 1 1 0-9.483h3.597v-2.763h-3.628c-4.137 0-7.504 3.368-7.504 7.505"/></g></g></svg>

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 227 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 281 KiB

View file

@ -1,77 +1,86 @@
<!doctype html>
<html lang="en">
<html lang="de">
<head>
<title>What is Magnetic-core memory?</title>
<title>Airbus to use A380 to test hydrogen-fueled engine | CNN Travel</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="description" content="HTML & CSS Course Examples.">
<meta name="description" content="HTML & CSS Course exercise.">
<meta name="author" content="Sebastian Wendel" />
<meta name="created" content="2024-02-09T14:14:22.450262740" />
<!-- TODO: Checkout the full list of Open Graph Data tags -->
<meta property="og:title" content="What is Magnetic-core memory?" />
<meta property="og:description" content="HTML & CSS Course Examples." />
<meta property="og:image" content="/image.png" />
<script src="./js/tailwindcss.js?plugins=forms,typography,aspect-ratio,line-clamp"></script>
<link rel="stylesheet" href="./css/srx.css">
<meta name="created" content="2024-04-17T09:30:00.450262740" />
<link rel="icon" type="image/x-icon" href="/images/favicon.ico">
<link rel="stylesheet" href="/css/mains.css">
</head>
<main>
<article class="article">
<body>
<a href="https://www.cnn.com/">
<img src="/images/logo_cnn.svg" alt="CNN Logo">
</a>
<h1 class="article__headline">
What is Magnetic-core <span class="p-uppercase">memory?</span>
</h1>
<div class="menu">
<a class="link" href="/destinations/">DESTINATIONS</a>
<a class="link" href="/food_drink/">FOOD & DRINK</a>
<a class="link" href="/news/">NEWS</a>
<a class="link" href="/stay/">STAY</a>
<a class="link" href="/video/">VIDEO</a>
</div>
<hr class="p-separator" />
<h1>Airbus to test hydrogen-fueled engine on A380 jet</h1>
<p class="p-text-style">Core memory uses
<a href="https://en.wikipedia.org/wiki/Toroid">toroids</a>
(rings) of a
<a href="https://en.wikipedia.org/wiki/Hard_magnetic_material">hard
magnetic material</a>
(usually a
<a href="https://en.wikipedia.org/wiki/Ferrite_(magnet)#Semi-hard_ferrites">semi-hard
ferrite</a>). Each core stores one
<a href="https://en.wikipedia.org/wiki/Bit">bit</a>
of information. Two or more wires pass through each core, forming an
X-Y array of cores. When an electrical current above a certain
threshold is applied to the wires, the core will become magnetized.
The core to be written is selected by powering one X and one Y wire
to half of the required power, such that only the single core at the
intersection is written. Depending on the direction of the currents,
the core will pick up a clockwise or counterclockwise magnetic field,
storing a 1 or 0.
<div class="info">Tamara Hardingham-Gill, CNN • Published 25th February 2022</div>
This writing process also causes electricity to be
<a href="https://en.wikipedia.org/wiki/Electromagnetic_induction">induced</a>
into nearby wires. If the new pulse being applied in the X-Y wires is
the same as the last applied to that core, the existing field will do
nothing, and no induction will result. If the new pulse is in the
opposite direction, a pulse will be generated. This is normally
picked up in a separate &quot;sense&quot; wire, allowing the system
to know whether that core held a 1 or 0. As this readout process
requires the core to be written, this process is known as destructive
readout, and requires additional circuitry to reset the core to
its original value if the process flipped it.
</p>
<img class="center" src="/images/a380.jpg" alt="A380 side view">
<figure class="figure">
<img class="" src="./img/IMG_20240205_00.webp"
alt="A Core memory Module showing the detailed structure of ferrite cores and copper wires.">
</figure>
<strong>(CNN)</strong> — Airbus just moved one step closer to launching the world's first zero-emission commercial
aircraft by 2035.
<footer class="footer">
<p>
<small class="footer_small">
Source: <a href="https://en.wikipedia.org/wiki/Magnetic-core_memory">Wikipedia:
Magnetic-Core-Memory</a>
</small>
</p>
</footer>
</article>
The French aircraft maker has announced plans to test hydrogen fuel technology using a modified version of one of
its A380 jetliners, which were discontinued last year.
</main>
Airbus has partnered with CFM International, a joint venture between GE and Safran Aircraft Engines, on the hugely
significant hydrogen demonstration program.
The plane manufacturer will use an "A380 flying testbed fitted with liquid hydrogen tanks" to trial propulsion
technology for its future hydrogen aircraft.
<h2>'Flight laboratory'</h2>
"Our ambition is to take this (A380) aircraft and add a stub in between the rear doors at the upper level," says
Glenn Llewellyn, vice president for zero emission aircraft at Airbus, in a video posted on the Airbus YouTube
channel. "That stub will have on the end of it a hydrogen powered gas turbine."
Related content - How close are we to guilt-free flying?
He goes on to explain that the aircraft will be fitted with hydrogen storage and hydrogen distribution, which will
feed its engine with the chemical element.
According to Llewellyn, the aim of the "flight laboratory" is to learn more about hydrogen propulsion systems in
real ground and flight conditions, thus enabling Airbus to press on with its plans for a zero-emission aircraft in
just over a decade.
Test flights are currently estimated to take place in 2026, provided everything goes to plan. The news comes over a
year after Airbus unveiled three hydrogen-based concepts under the ZEROe banner.
<img class="center" src="/images/a380_2.jpg"
alt="A rendering of the A380 flight test platform, which will put hydrogen combustion technology to the test.">
"This is the most significant step undertaken at Airbus to usher in a new era of hydrogen-powered flight since the
unveiling of our ZEROe concepts back in September 2020," Sabine Klauke, chief technical officer for Airbus, said in
a statement.
"By leveraging the expertise of American and European engine manufacturers to make progress on hydrogen combustion
technology, this international partnership sends a clear message that our industry is committed to making
zero-emission flight a reality."
<h2>Guilt-free flying?</h2>
Aviation generates 2.8% of global CO2 emissions, and the global fuel consumption by commercial airlines reached 95
billion gallons in 2019.
The global aviation industry has pledged to slash emissions to half their 2005 levels by 2050.
CNN's Paul Sillers also contributed to this report
</body>
</html>

File diff suppressed because one or more lines are too long