roebe 0.5.191 → 0.6.3
Sign up to get free protection for your applications and to get access to all the features.
Potentially problematic release.
This version of roebe might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/README.md +23 -26
- data/bin/create_my_directories +2 -2
- data/bin/{ruby_dhcpcd → dhcpcd_wrapper} +1 -1
- data/doc/README.gen +12 -0
- data/doc/core/array.md +24 -23
- data/doc/core/gem_and_gemspec.md +12 -11
- data/doc/core/misc.md +23 -20
- data/doc/statistics/statistics.md +1 -0
- data/lib/roebe/actions/actions.rb +68 -0
- data/lib/roebe/base/misc.rb +14 -1
- data/lib/roebe/browser/output_url_then_open_in_browser.rb +8 -6
- data/lib/roebe/classes/alltagsgeschichte.rb +1 -1
- data/lib/roebe/classes/at.rb +2 -2
- data/lib/roebe/classes/auto_rename_file_based_on_its_creation_date.rb +24 -12
- data/lib/roebe/classes/books/books.rb +159 -117
- data/lib/roebe/classes/books/menu.rb +8 -7
- data/lib/roebe/classes/books/sanitize_this_book_path/sanitize_this_book_path.rb +0 -1
- data/lib/roebe/classes/check_yaml.rb +15 -11
- data/lib/roebe/classes/compile_kernel.rb +3 -1
- data/lib/roebe/classes/copy_kernel_config.rb +5 -3
- data/lib/roebe/classes/create_desktop_file.rb +1 -1
- data/lib/roebe/classes/create_my_directories.rb +12 -10
- data/lib/roebe/classes/dhcpcd/{dhcpcd.rb → dhcpcd_wrapper.rb} +137 -95
- data/lib/roebe/classes/dhcpcd/kill_dhcpcd.rb +2 -2
- data/lib/roebe/classes/do_install.rb +7 -6
- data/lib/roebe/classes/done.rb +1 -1
- data/lib/roebe/classes/downcase_extension.rb +4 -4
- data/lib/roebe/classes/email.rb +44 -40
- data/lib/roebe/classes/enable.rb +1 -1
- data/lib/roebe/classes/github.rb +1 -1
- data/lib/roebe/classes/kde/install_this_konsole_theme.rb +1 -1
- data/lib/roebe/classes/make_gem.rb +29 -27
- data/lib/roebe/classes/readme_generator/readme_generator.rb +597 -1
- data/lib/roebe/classes/report_how_many_files_are_in_this_directory.rb +83 -0
- data/lib/roebe/classes/set_background.rb +14 -0
- data/lib/roebe/classes/show_ten_aliases.rb +15 -3
- data/lib/roebe/classes/tales_from_the_crypt.rb +1 -1
- data/lib/roebe/classes/update.rb +2 -1
- data/lib/roebe/constants/array_install_these_gem_projects.rb +1 -1
- data/lib/roebe/constants/roebe.rb +2 -0
- data/lib/roebe/custom_methods/module.rb +16 -0
- data/lib/roebe/fonts/fonts.rb +39 -0
- data/lib/roebe/hello_world/hello_world.rb +0 -0
- data/lib/roebe/math/log10.rb +3 -3
- data/lib/roebe/math/the_collatz_problem.rb +104 -0
- data/lib/roebe/shell/shell/shell.rb +6 -6
- data/lib/roebe/shell_scripts/lfs/002_gcc_1.sh +13 -1
- data/lib/roebe/shell_scripts/lfs/003_linux_1.sh +1 -0
- data/lib/roebe/shell_scripts/lfs/007_ncurses_2.sh +4 -1
- data/lib/roebe/shell_scripts/lfs/020_xz_2.sh +5 -5
- data/lib/roebe/shell_scripts/lfs/021_binutils_2.sh +1 -0
- data/lib/roebe/shell_scripts/lfs/022_gcc_2.sh +12 -1
- data/lib/roebe/shell_scripts/lfs/025_ruby_2.sh +13 -0
- data/lib/roebe/shell_scripts/lfs/lfs_build_variables.sh +48 -8
- data/lib/roebe/toplevel_methods/to_mp3.rb +1 -1
- data/lib/roebe/version/version.rb +2 -2
- data/lib/roebe/wasm/README.md +7 -0
- data/lib/roebe/wasm/enable_simple_puts_output.rb +9 -0
- data/lib/roebe/wasm/wasm_examples.html +43 -0
- data/lib/roebe/www/RNA/RNA.cgi +42 -1
- data/lib/roebe/www/algorithms/algorithms.rb +22 -0
- data/lib/roebe/www/analytical_chemistry/content.md +3 -0
- data/lib/roebe/www/animals/animals.cgi +25 -0
- data/lib/roebe/www/bioanalytik/bioanalytik.cgi +90 -0
- data/lib/roebe/www/cellbiology/cellbiology.rb +16 -2
- data/lib/roebe/www/chemistry/S/303/244uren_Basen_und_der_pH_Wert/S/303/244uren_Basen_und_der_pH_Wert.cgi +242 -0
- data/lib/roebe/www/chemistry/chemistry.rb +10 -258
- data/lib/roebe/www/chemistry/css_rules.css +67 -0
- data/lib/roebe/www/chemistry/die_quantenzahlen/die_quantenzahlen.cgi +123 -0
- data/lib/roebe/www/chemistry/funktionelle_gruppen_in_der_chemie/funktionelle_gruppen_in_der_chemie.cgi +52 -0
- data/lib/roebe/www/erste_hilfe/erste_hilfe.cgi +212 -62
- data/lib/roebe/www/fonts/fonts.cgi +245 -0
- data/lib/roebe/www/hardware/computersysteme/computersysteme.rb +117 -102
- data/lib/roebe/www/hardware/netzteile/netzteile.cgi +94 -0
- data/lib/roebe/www/immunology/immunology.rb +101 -7
- data/lib/roebe/www/linux/antiX/antiX.rb +7 -4
- data/lib/roebe/www/linux/linux.rb +9 -11
- data/lib/roebe/www/linux/linuxmint/linuxmint.rb +33 -0
- data/lib/roebe/www/linux/slackware/slackware.rb +136 -27
- data/lib/roebe/www/lyrics/lyrics.rb +1 -1
- data/lib/roebe/www/microbiology/microbiology.rb +17 -2
- data/lib/roebe/www/mikrobielle_physiologie/mikrobielle_physiologie.cgi +1086 -2
- data/lib/roebe/www/mitochondria/mitochondria.cgi +16 -2
- data/lib/roebe/www/module_www.rb +2 -3
- data/lib/roebe/www/neurobiology/neurobiology.rb +20 -3
- data/lib/roebe/www/pdf/pdf.rb +13 -0
- data/lib/roebe/www/physics/physics.rb +20 -4
- data/lib/roebe/www/physiology/physiology.rb +5 -1
- data/lib/roebe/www/play_this_video_file/play_this_video_file.cgi +1 -1
- data/lib/roebe/www/programming_advice/programming_advice.cgi +36 -0
- data/lib/roebe/www/programming_advice/programming_advice.md +349 -0
- data/lib/roebe/www/psychologie/psychologie.rb +7 -1
- data/lib/roebe/www/science/science.rb +6 -0
- data/lib/roebe/www/sex_and_reproduction/sex_and_reproduction.cgi +18 -2
- data/lib/roebe/www/structural_biology/structural_biology.cgi +16 -0
- data/lib/roebe/www/the_cell_cycle/the_cell_cycle.cgi +27 -0
- data/lib/roebe/www/video/video.rb +1 -1
- data/lib/roebe/www/virology/virology.rb +12 -1
- data/lib/roebe/www/war_in_Ukraine_2022/war_in_Ukraine_2022.rb +26 -8
- data/lib/roebe/www/xorg/xorg.rb +3 -202
- data/lib/roebe/yaml/books/favourite_books.yml +6 -8
- data/lib/roebe/yaml/directory_structure.yml +1 -0
- metadata +26 -15
- data/lib/roebe/classes/readme_generator/constants.rb +0 -21
- data/lib/roebe/classes/readme_generator/initialize.rb +0 -38
- data/lib/roebe/classes/readme_generator/misc.rb +0 -548
- data/lib/roebe/classes/readme_generator/reset.rb +0 -28
- data/lib/roebe/classes/readme_generator/run.rb +0 -20
- data/lib/roebe/shell_scripts/lfs/lfs_variables.sh +0 -31
- data/lib/roebe/www/mikrobielle_physiologie/mikrobielle_physiologie.rb +0 -1055
- data/lib/roebe/www/programming_advice/programming_advice.yml +0 -31
@@ -2,74 +2,7 @@ english('Chemistry') {
|
|
2
2
|
created_on '16.03.2023' # Thursday.
|
3
3
|
autoextend
|
4
4
|
default_template '
|
5
|
-
|
6
|
-
a:link { color: #3C9C23; }
|
7
|
-
a:visited { color: #3C9C23; }
|
8
|
-
a:hover { color: #62F962; }
|
9
|
-
a:active { color: #98FB98; }
|
10
|
-
a {
|
11
|
-
text-decoration: none;
|
12
|
-
}
|
13
|
-
|
14
|
-
h1 {
|
15
|
-
font-size: 2.5em;
|
16
|
-
line-height: 1.25em;
|
17
|
-
margin-bottom: 0.1em;
|
18
|
-
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
19
|
-
font-weight: 700;
|
20
|
-
}
|
21
|
-
|
22
|
-
h2 {
|
23
|
-
color: lightblue;
|
24
|
-
margin-top: 5px;
|
25
|
-
margin-bottom: 0.8em;
|
26
|
-
}
|
27
|
-
|
28
|
-
h4 {
|
29
|
-
margin-bottom: 1px;
|
30
|
-
}
|
31
|
-
|
32
|
-
pre {
|
33
|
-
font-size:1.3em;
|
34
|
-
}
|
35
|
-
|
36
|
-
p {
|
37
|
-
margin: 4px;
|
38
|
-
padding: 12px;
|
39
|
-
}
|
40
|
-
|
41
|
-
p.default {
|
42
|
-
margin-top: 1em;
|
43
|
-
}
|
44
|
-
|
45
|
-
div.default {
|
46
|
-
padding: 10px;
|
47
|
-
padding-left: 0.8em;
|
48
|
-
padding-right: 0.8em;
|
49
|
-
padding-top: 0.65em;
|
50
|
-
margin-bottom: 2px;
|
51
|
-
margin-top: 2px;
|
52
|
-
border: 2px dotted lightblue;
|
53
|
-
border-radius: 10px;
|
54
|
-
}
|
55
|
-
|
56
|
-
#header h1 {
|
57
|
-
line-height: 2em;
|
58
|
-
height: 2.5em;
|
59
|
-
}
|
60
|
-
|
61
|
-
#header {
|
62
|
-
padding: 5px;
|
63
|
-
border-bottom: 2px solid #AAA;
|
64
|
-
background: #555 no-repeat 100% 5px fixed;
|
65
|
-
}
|
66
|
-
|
67
|
-
.alternative {
|
68
|
-
font-family: "Warnock Pro","Goudy Old Style","Palatino","Book Antiqua",Georgia,serif;
|
69
|
-
font-style: italic;
|
70
|
-
font-weight: normal;
|
71
|
-
}
|
72
|
-
|
5
|
+
#READ_FILE css_rules.css
|
73
6
|
'
|
74
7
|
favicon 'science/STRATEGEME/STRATEGEME_FAVICON.png'
|
75
8
|
body_css_class 'mar0 pad0px BG_Black White VERDANAs'
|
@@ -407,23 +340,6 @@ doc_smaller_width('mar0px BG_Black',
|
|
407
340
|
}
|
408
341
|
}
|
409
342
|
# ========================================================================= #
|
410
|
-
# === Alkansäuren.
|
411
|
-
# ========================================================================= #
|
412
|
-
# http://localhost/programming/ruby/src/roebe/lib/roebe/www/chemistry/chemistry.cgi#alkans%C3%A4uren
|
413
|
-
# ========================================================================= #
|
414
|
-
fancy2 'Alkansäuren',
|
415
|
-
'on_hover_grow marl1em lightblue mart1em'
|
416
|
-
div_default_le {
|
417
|
-
p_default_le {
|
418
|
-
dimg 'science/chemistry/ALKAN_SAUREN.jpg',
|
419
|
-
'mars3em'
|
420
|
-
brbr
|
421
|
-
abr 'https://www.seilnacht.com/Lexikon/carbons.html',
|
422
|
-
content: 'Guter Link zu Carbonsäuren',
|
423
|
-
css_class: 'mars3em BOLD'
|
424
|
-
}
|
425
|
-
}
|
426
|
-
# ========================================================================= #
|
427
343
|
# === Gase
|
428
344
|
# ========================================================================= #
|
429
345
|
# http://localhost/programming/ruby/src/roebe/lib/roebe/www/chemistry/chemistry.cgi#gase
|
@@ -589,115 +505,6 @@ doc_smaller_width('mar0px BG_Black',
|
|
589
505
|
dimg 'science/chemistry/GEFAHRENSYMBOLE.jpg'
|
590
506
|
}
|
591
507
|
# ========================================================================= #
|
592
|
-
# === Säuren und Basen tag (pH tag)
|
593
|
-
#
|
594
|
-
# Dieser Abschnitt behandelt pH-Berechnungen.
|
595
|
-
# ========================================================================= #
|
596
|
-
fancy2 'Säuren und Basen - pH-Berechnungen',
|
597
|
-
'on_hover_grow marl1em lightblue mart1em'
|
598
|
-
div_default_le {
|
599
|
-
p_default_le {
|
600
|
-
e 'Der pH Wert einer starken Säure kann nach folgender Formel berechnet
|
601
|
-
werden:'
|
602
|
-
br
|
603
|
-
le ' pH = - log [H+]'
|
604
|
-
br
|
605
|
-
e 'Sehen wir uns nun ein paar Beispiel hierzu an.'
|
606
|
-
}
|
607
|
-
# ======================================================================= #
|
608
|
-
# === Beispiel #1
|
609
|
-
# ======================================================================= #
|
610
|
-
p_default_le {
|
611
|
-
e 'Beispiel #1: Wie groß ist der pH-Wert eine 5.3 * 10⁻²
|
612
|
-
molaren Salzsäure-Lösung?'
|
613
|
-
br
|
614
|
-
cmd '[H3O+] = [HCl] = 5.3 * 10**-2'
|
615
|
-
cmd 'pH = - log [H3O]+ = -log ( 5.3 * 10**-2) = 1.28'
|
616
|
-
cmd 'Math.log10( 5.3 * (10**-2))'
|
617
|
-
}
|
618
|
-
fancy_spacer
|
619
|
-
# ======================================================================= #
|
620
|
-
# === Beispiel #2
|
621
|
-
# ======================================================================= #
|
622
|
-
p_default_le {
|
623
|
-
e 'Beispiel #2: Wie groß ist der pH-Wert einer 7.6 * 10**-3-molaren
|
624
|
-
Kaliumhydroxid-Lösung?'
|
625
|
-
}
|
626
|
-
fancy_spacer
|
627
|
-
# ======================================================================= #
|
628
|
-
# === Beispiel #3
|
629
|
-
#
|
630
|
-
# Ammoniak-Beispiel.
|
631
|
-
# ======================================================================= #
|
632
|
-
p_default_le {
|
633
|
-
e 'Beispiel #3: Wie groß ist der pH-Wert einer 0,1 M NH3-Lösung
|
634
|
-
(Kb = 1.8 ⋅10-5 M)?'
|
635
|
-
br
|
636
|
-
e 'Ammoniak ist eine schwache Base.'
|
637
|
-
br
|
638
|
-
e 'Der <b>Kb</b> ist 0.00018.'
|
639
|
-
br
|
640
|
-
cmd 'pKb = <b>3.755 - log(0.1)</b> = 4.744'
|
641
|
-
cmd 'Formel ist: pH = ½ (pKs - log cHA)'
|
642
|
-
br
|
643
|
-
e 'Ergibt pH = <b>11.12765</b>.'
|
644
|
-
}
|
645
|
-
# ======================================================================= #
|
646
|
-
# === Beispiel #4
|
647
|
-
#
|
648
|
-
# Essigsäure-Beispiel.
|
649
|
-
# ======================================================================= #
|
650
|
-
# http://localhost/programming/ruby/src/roebe/lib/roebe/www/chemistry/chemistry.cgi#beispiel_04
|
651
|
-
# ======================================================================= #
|
652
|
-
p_default_le(id: 'beispiel_04') {
|
653
|
-
e 'Beispiel #4: Wie groß ist der pH-Wert, wenn Sie zu einem
|
654
|
-
Essigsäure/Acetat-Puffer aus je 1,1 mol 2 mol HCl dazugeben?
|
655
|
-
KA (Essigsäure): 1,76 ·10⁻⁵'
|
656
|
-
br
|
657
|
-
e 'Wir gehen systematisch vor.'
|
658
|
-
br
|
659
|
-
e 'Wir haben es hier mit einer <b>Pufferreaktion</b> zu tun.'
|
660
|
-
br
|
661
|
-
e 'Puffer können pH-Änderungen abfedern, sprich, ihnen
|
662
|
-
<b>entgegenwirken</b>.'
|
663
|
-
br
|
664
|
-
e 'Berechnen können wir sie mit Hilfe der
|
665
|
-
<b>Henderson-Hasselbalch-Gleichung</b>.'
|
666
|
-
br
|
667
|
-
}
|
668
|
-
# ======================================================================= #
|
669
|
-
# === Beispiel #5
|
670
|
-
# ======================================================================= #
|
671
|
-
# http://localhost/programming/ruby/src/roebe/lib/roebe/www/chemistry/chemistry.cgi#beispiel_04
|
672
|
-
# ======================================================================= #
|
673
|
-
p_default_le(id: 'beispiel_05') {
|
674
|
-
e 'Beispiel #5: 1 g Ca(OH)₂ werden in 100 ml Wasser gelöst.
|
675
|
-
Welchen pH-Wert hat die Lösung?'
|
676
|
-
br
|
677
|
-
e 'Ca(OH)₂ ist eine <b>starke Base</b>. Der pKb beträgt von 1.37.'
|
678
|
-
br
|
679
|
-
e 'Die Molmasse von Ca(OH)₂ beträgt: 74.092. 1 Gramm bedeutet
|
680
|
-
daher nur 0.0134967 Mol. Dies verdoppeln wir nun:
|
681
|
-
0.0269934 mol. Log ergibt: -1.5687, dann + 14 = 12.431'
|
682
|
-
e 'Volumen V = 0.1L'
|
683
|
-
}
|
684
|
-
# ======================================================================= #
|
685
|
-
# === Beispiel #6
|
686
|
-
# ======================================================================= #
|
687
|
-
# http://localhost/programming/ruby/src/roebe/lib/roebe/www/chemistry/chemistry.cgi#beispiel_04
|
688
|
-
# ======================================================================= #
|
689
|
-
p_default_le(id: 'beispiel_06') {
|
690
|
-
e 'Beispiel #6: Wie groß ist der pH-Wert einer 0,1 M
|
691
|
-
Essigsäure-Lösung (pKs=4,75)?'
|
692
|
-
br
|
693
|
-
e 'Die Formel lautet:'
|
694
|
-
br
|
695
|
-
cmd ' pH = 0.5 * (pKs - log cHA)'
|
696
|
-
cmd ' pH = 0.5 * (4.75 - log(0.1))'
|
697
|
-
cmd ' pH = 0.5 * 5.75 = 2.875'
|
698
|
-
}
|
699
|
-
}
|
700
|
-
# ========================================================================= #
|
701
508
|
# === Stickstoffdioxid
|
702
509
|
# ========================================================================= #
|
703
510
|
# http://localhost/programming/ruby/src/roebe/lib/roebe/www/chemistry/chemistry.cgi#stickstoffdioxid
|
@@ -819,66 +626,6 @@ doc_smaller_width('mar0px BG_Black',
|
|
819
626
|
e "Die Avogadro'sche Zahl hat den Wert 6.022 * 10²³ mol⁻¹."
|
820
627
|
}
|
821
628
|
# ========================================================================= #
|
822
|
-
# === Quantenzahlen tag
|
823
|
-
# ========================================================================= #
|
824
|
-
fancy2 'Quantenzahlen',
|
825
|
-
'on_hover_grow marl1em lightblue mart1em'
|
826
|
-
div_default_le {
|
827
|
-
e 'Die Hauptquantenzahl N beschreibt die Schale, also
|
828
|
-
das Energieniveau, zu der der Zustand des Elektrons gehört.'
|
829
|
-
br
|
830
|
-
e 'Sie kann theoretisch beliebige, natürliche Zahlenwerte größer
|
831
|
-
als <b>null</b> annehmen:'
|
832
|
-
br
|
833
|
-
lem 'n = 1, 2, 3, 4','BOLD'
|
834
|
-
br
|
835
|
-
e 'Die Schalen werden auch der Reihe nach mit K-,L-,M-,N-...Schale
|
836
|
-
bezeichnet.'
|
837
|
-
br
|
838
|
-
e 'Die Nebenquantenzahl L kennzeichnet die Form des Atomorbitals
|
839
|
-
in einem Atom.'
|
840
|
-
br
|
841
|
-
e 'Sie kann Werte zwischen <b>l = 0</b> und <b>l = n - 1</b>
|
842
|
-
annehmen. Ist die Hauptquantenzahl also 3, so kann L die
|
843
|
-
Werte 0, 1 und 2 annehmen.'
|
844
|
-
div('table-container mars2em') {
|
845
|
-
ee '<dl class="caption">
|
846
|
-
</dl>
|
847
|
-
<table class="bblack1 pad0_5em results" border="0" cellpadding="0" cellspacing="4">
|
848
|
-
<tbody>
|
849
|
-
<tr>
|
850
|
-
<th>Schale</th>
|
851
|
-
<th>Hauptquantenzahl n</th>
|
852
|
-
<th>Nebenquantenzahl l</th>
|
853
|
-
<th>Magnetquantenzahl m</th>
|
854
|
-
<th>Orbital</th>
|
855
|
-
</tr>
|
856
|
-
<tr>
|
857
|
-
<td>K</td><td>1</td><td>0</td>
|
858
|
-
<td>0</td><td>s</td></tr><tr><td>L</td><td>2</td>
|
859
|
-
<td>0<br><span class="part">1</span></td>
|
860
|
-
<td>0<br><span class="part">-1, 0, +1</span></td>
|
861
|
-
<td>s<span class="part">p</span></td>
|
862
|
-
</tr>
|
863
|
-
<tr>
|
864
|
-
<td>M</td><td>3</td>
|
865
|
-
<td>0<br><span class="part">1</span>
|
866
|
-
<br><span class="part">2</span></td>
|
867
|
-
<td>0<br><span class="part">-1, 0, +1</span><br>
|
868
|
-
<span class="part">-2, -1, 0, +1, +2</span></td>
|
869
|
-
<td>s<span class="part">p</span><span class="part">d</span></td>
|
870
|
-
</tr>
|
871
|
-
<tr>
|
872
|
-
<td>...</td>
|
873
|
-
<td>...</td>
|
874
|
-
<td>...</td><td>...</td><td>...</td>
|
875
|
-
</tr>
|
876
|
-
</tbody>
|
877
|
-
'
|
878
|
-
ctable
|
879
|
-
}
|
880
|
-
}
|
881
|
-
# ========================================================================= #
|
882
629
|
# === Partialdruck tag
|
883
630
|
#
|
884
631
|
# rf chemistry partialdruck
|
@@ -1824,8 +1571,6 @@ Sie graphisch den pH-Wert (qualitativ).
|
|
1824
1571
|
für jedes Atom <b>Protonenzahl == Elektronenzahl</b>.'
|
1825
1572
|
e '- Oktaeder: Es gibt <b>Koordinationssphären</b>
|
1826
1573
|
bei der <b>Hydratisierung</b>.'
|
1827
|
-
e '- "Nie das Wasser in die Säure, sonst geschieht
|
1828
|
-
das Ungeheure!"'
|
1829
1574
|
e '- Reaction rates can be controlled if we understand the factors
|
1830
1575
|
that influence them.'
|
1831
1576
|
e '- The <b>rate</b> of a chemical reaction generally
|
@@ -1922,12 +1667,19 @@ Sie graphisch den pH-Wert (qualitativ).
|
|
1922
1667
|
clickable_h2 'Hilfreiche Links',
|
1923
1668
|
'martb1px'
|
1924
1669
|
div('mars0_5em mart4px') {
|
1670
|
+
# ===================================================================== #
|
1671
|
+
# === Lokale Links
|
1672
|
+
# ===================================================================== #
|
1925
1673
|
h4 sg(:dot102, 'marr6px')+
|
1926
1674
|
'Lokale Links',
|
1927
1675
|
'mart1px gold'
|
1928
1676
|
p('mars1em') {
|
1929
|
-
|
1930
|
-
|
1677
|
+
abr_self :bioruby
|
1678
|
+
abr_self :tu_studium
|
1679
|
+
abr 'funktionelle_gruppen_in_der_chemie/funktionelle_gruppen_in_der_chemie.cgi',
|
1680
|
+
description: 'Funktionelle Gruppen in der Chemie'
|
1681
|
+
abr 'die_quantenzahlen/die_quantenzahlen.cgi',
|
1682
|
+
description: 'Die Qzantenzahlen'
|
1931
1683
|
}
|
1932
1684
|
# ===================================================================== #
|
1933
1685
|
# === Externe Links
|
@@ -0,0 +1,67 @@
|
|
1
|
+
|
2
|
+
a:link { color: #3C9C23; }
|
3
|
+
a:visited { color: #3C9C23; }
|
4
|
+
a:hover { color: #62F962; }
|
5
|
+
a:active { color: #98FB98; }
|
6
|
+
a {
|
7
|
+
text-decoration: none;
|
8
|
+
}
|
9
|
+
|
10
|
+
h1 {
|
11
|
+
font-size: 2.5em;
|
12
|
+
line-height: 1.25em;
|
13
|
+
margin-bottom: 0.1em;
|
14
|
+
font-family: "Helvetica Neue", Arial, Helvetica, sans-serif;
|
15
|
+
font-weight: 700;
|
16
|
+
}
|
17
|
+
|
18
|
+
h2 {
|
19
|
+
color: lightblue;
|
20
|
+
margin-top: 5px;
|
21
|
+
margin-bottom: 0.8em;
|
22
|
+
}
|
23
|
+
|
24
|
+
h4 {
|
25
|
+
margin-bottom: 1px;
|
26
|
+
}
|
27
|
+
|
28
|
+
pre {
|
29
|
+
font-size:1.3em;
|
30
|
+
}
|
31
|
+
|
32
|
+
p {
|
33
|
+
margin: 4px;
|
34
|
+
padding: 12px;
|
35
|
+
}
|
36
|
+
|
37
|
+
p.default {
|
38
|
+
margin-top: 1em;
|
39
|
+
}
|
40
|
+
|
41
|
+
div.default {
|
42
|
+
padding: 10px;
|
43
|
+
padding-left: 0.8em;
|
44
|
+
padding-right: 0.8em;
|
45
|
+
padding-top: 0.65em;
|
46
|
+
margin-bottom: 2px;
|
47
|
+
margin-top: 2px;
|
48
|
+
border: 2px dotted lightblue;
|
49
|
+
border-radius: 10px;
|
50
|
+
}
|
51
|
+
|
52
|
+
#header h1 {
|
53
|
+
line-height: 2em;
|
54
|
+
height: 2.5em;
|
55
|
+
}
|
56
|
+
|
57
|
+
#header {
|
58
|
+
padding: 5px;
|
59
|
+
border-bottom: 2px solid #AAA;
|
60
|
+
background: #555 no-repeat 100% 5px fixed;
|
61
|
+
}
|
62
|
+
|
63
|
+
.alternative {
|
64
|
+
font-family: "Warnock Pro","Goudy Old Style","Palatino","Book Antiqua",Georgia,serif;
|
65
|
+
font-style: italic;
|
66
|
+
font-weight: normal;
|
67
|
+
}
|
@@ -0,0 +1,123 @@
|
|
1
|
+
#!/usr/bin/ruby -w
|
2
|
+
# Encoding: UTF-8
|
3
|
+
# frozen_string_literal: true
|
4
|
+
# =========================================================================== #
|
5
|
+
# http://localhost/programming/ruby/src/roebe/lib/roebe/www/chemistry/die_quantenzahlen/die_quantenzahlen.cgi
|
6
|
+
# =========================================================================== #
|
7
|
+
require 'cyberweb/autoinclude'
|
8
|
+
|
9
|
+
german('Die Quantenzahlen') {
|
10
|
+
created_on '04.02.2024' # Sunday.
|
11
|
+
autoextend
|
12
|
+
ruby_favicon
|
13
|
+
default_template '
|
14
|
+
#READ_FILE ../css_rules.css
|
15
|
+
'
|
16
|
+
body_css_class 'mar0px pad0px VERDANAs'
|
17
|
+
body_css_style 'background-color: black; color: white;'
|
18
|
+
default_font_size_and_hyperlinks
|
19
|
+
|
20
|
+
set_cmd1 'lightblue marl2em BOLD'
|
21
|
+
|
22
|
+
preferred_width('mar0px pad0px s0_8em') {
|
23
|
+
# =========================================================================== #
|
24
|
+
# === The main header (aka internal title)
|
25
|
+
# =========================================================================== #
|
26
|
+
h1 title?,
|
27
|
+
'mart0px alternative',
|
28
|
+
'header',
|
29
|
+
'color: palegreen;
|
30
|
+
font-weight: bold;
|
31
|
+
font-size: 100px;
|
32
|
+
padding: 5px;
|
33
|
+
border: 2px dotted gold;
|
34
|
+
padding-left: 10%;
|
35
|
+
margin-bottom: 5px;'
|
36
|
+
# ========================================================================= #
|
37
|
+
# === Quantenzahlen tag
|
38
|
+
# ========================================================================= #
|
39
|
+
fancy2 'Quantenzahlen',
|
40
|
+
'on_hover_grow marl1em lightblue mart1em'
|
41
|
+
div_default_le {
|
42
|
+
e 'Es gibt folgende Quantenzahlen:'
|
43
|
+
br
|
44
|
+
cmd ' Hauptquantenzahl n (oder N)'
|
45
|
+
cmd ' Nebenquantenzahl l (oder L)'
|
46
|
+
cmd ' Magnetische Quantenzahl m (oder M)'
|
47
|
+
cmd ' Spinquantenzahl s (oder S)'
|
48
|
+
br
|
49
|
+
e 'Mit Hilfe dieser Quantenzahlen werden bestimmte Eigenschaften
|
50
|
+
der Elektronen beschrieben.'
|
51
|
+
br
|
52
|
+
e 'Die <b class="lightgreen">Hauptquantenzahl N</b> beschreibt die
|
53
|
+
Schale, also das Energieniveau, zu der der Zustand des Elektrons gehört.'
|
54
|
+
br
|
55
|
+
e 'Sie kann theoretisch beliebige, natürliche Zahlenwerte größer als
|
56
|
+
<b>null</b> annehmen, wie zum Beispiel:'
|
57
|
+
br
|
58
|
+
cmd 'n = 1, 2, 3, 4'
|
59
|
+
br
|
60
|
+
anm 'Die Schalen werden auch der Reihe nach mit K-,L-,M-,N-...Schale
|
61
|
+
bezeichnet. Dies ist jedoch mittlerweile seltener, da die
|
62
|
+
Zahlen (1, 2, 3 etc ...) einfacher sind.'
|
63
|
+
brbr
|
64
|
+
e 'Die Nebenquantenzahl L kennzeichnet die Form des Atomorbitals
|
65
|
+
in einem Atom.'
|
66
|
+
br
|
67
|
+
e 'Sie kann Werte zwischen <b>l = 0</b> und <b>l = n - 1</b>
|
68
|
+
annehmen. Ist die Hauptquantenzahl also 3, so kann L die
|
69
|
+
Werte 0, 1 und 2 annehmen; also immer um 1 reduziert.'
|
70
|
+
br
|
71
|
+
div('table-container larger mars2em gold') {
|
72
|
+
ee '<dl class="caption">
|
73
|
+
</dl>
|
74
|
+
<table class="round_black2 pretty_table pad0_8em results">
|
75
|
+
<tbody>
|
76
|
+
<tr>
|
77
|
+
<th>Schale</th>
|
78
|
+
<th>Hauptquantenzahl n</th>
|
79
|
+
<th>Nebenquantenzahl l</th>
|
80
|
+
<th>Magnetquantenzahl m</th>
|
81
|
+
<th>Orbital</th>
|
82
|
+
</tr>
|
83
|
+
<tr>
|
84
|
+
<td>K</td><td>1</td><td>0</td>
|
85
|
+
<td>0</td><td>s</td></tr><tr><td>L</td><td>2</td>
|
86
|
+
<td>0<br><span class="part">1</span></td>
|
87
|
+
<td>0<br><span class="part">-1, 0, +1</span></td>
|
88
|
+
<td>s<span class="part">p</span></td>
|
89
|
+
</tr>
|
90
|
+
<tr>
|
91
|
+
<td>M</td><td>3</td>
|
92
|
+
<td>0<br><span class="part">1</span>
|
93
|
+
<br><span class="part">2</span></td>
|
94
|
+
<td>0<br><span class="part">-1, 0, +1</span><br>
|
95
|
+
<span class="part">-2, -1, 0, +1, +2</span></td>
|
96
|
+
<td>s<span class="part">p</span><span class="part">d</span></td>
|
97
|
+
</tr>
|
98
|
+
<tr>
|
99
|
+
<td>...</td>
|
100
|
+
<td>...</td>
|
101
|
+
<td>...</td><td>...</td><td>...</td>
|
102
|
+
</tr>
|
103
|
+
</tbody>
|
104
|
+
'
|
105
|
+
ctable
|
106
|
+
}
|
107
|
+
}
|
108
|
+
e 'Die Hauptquantenzahl n bestimmt auch welches Orbital wir betrachten.'
|
109
|
+
br
|
110
|
+
table2('marl1em pretty_table','','',
|
111
|
+
'1','s-Orbital',
|
112
|
+
'2','p-Orbital'
|
113
|
+
'3','d-Orbital'
|
114
|
+
'4','f-Orbital'
|
115
|
+
)
|
116
|
+
br
|
117
|
+
e 'Die Formel 2n² gibt an, wie viele Elektronen sich maximal in
|
118
|
+
einem Energieniveau befinden können. Für n=1 sind dies 2 Elektronen,
|
119
|
+
für n=2 8 Elektronen, für n=3 18 Elektronen, für n=4 32 Elektronen,
|
120
|
+
für n=5 50 Elektronen, für n=6 72 Elektronen und für n=7 98
|
121
|
+
Elektronen.'
|
122
|
+
nr
|
123
|
+
}}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
#!/usr/bin/ruby -w
|
2
|
+
# Encoding: UTF-8
|
3
|
+
# frozen_string_literal: true
|
4
|
+
# =========================================================================== #
|
5
|
+
# http://localhost/programming/ruby/src/roebe/lib/roebe/www/chemistry/funktionelle_gruppen_in_der_chemie/funktionelle_gruppen_in_der_chemie.cgi
|
6
|
+
# =========================================================================== #
|
7
|
+
require 'cyberweb/autoinclude'
|
8
|
+
require 'emoji_paradise/toplevel_methods/toplevel_methods.rb'
|
9
|
+
|
10
|
+
english('Funktionelle Gruppen in der Chemie') {
|
11
|
+
created_on '03.02.2024' # Saturday.
|
12
|
+
autoextend
|
13
|
+
ruby_favicon
|
14
|
+
default_template ''
|
15
|
+
body_css_class 'mar0px s2px padt2px VERDANAs'
|
16
|
+
body_css_style 'background-color: #d3d2d1;'
|
17
|
+
default_font_size_and_hyperlinks
|
18
|
+
|
19
|
+
checked = EmojiParadise.return_checkbox
|
20
|
+
checked_to_the_right = ' <span class="darkred">'+checked+'</span>' # And make it red here.
|
21
|
+
checked_to_the_left = '<span class="darkred">'+checked+'</span> ' # And make it red here as well.
|
22
|
+
|
23
|
+
preferred_width('mar0px pad0px s0_8em') {
|
24
|
+
h1 dot(106, 'marr8px')+
|
25
|
+
title?,
|
26
|
+
'mart1px marb0_5em'
|
27
|
+
p_default_le {
|
28
|
+
e 'Folgende Tabelle - alphabetisch geordnet - stellt die wichtigsten
|
29
|
+
Vertreter der funktionellen Gruppen vor:'
|
30
|
+
br
|
31
|
+
table3('mars2em pretty_table','','',
|
32
|
+
'<b class="FS1_5em">Stoffgruppe</b>',
|
33
|
+
'<b class="FS1_5em">Funktionelle Gruppe</b>',
|
34
|
+
'<b class="FS1_5em">Halbstrukturformel</b>',
|
35
|
+
'Aldehyd','Aldehydgruppe','R-COH',
|
36
|
+
checked_to_the_left+'Alkohol','Hydroxygruppe','R-OH'+checked_to_the_right,
|
37
|
+
checked_to_the_left+'Amin','Aminogruppe','R-NH₂'+checked_to_the_right,
|
38
|
+
'Carbonsäure','Carboxygruppe','R-COOH',
|
39
|
+
'Carbonsäureester','Estergruppe','R₁-COO-R₂',
|
40
|
+
checked_to_the_left+'Ether','Ethergruppe','R₁-O-R₂'+checked_to_the_right,
|
41
|
+
'Halogenkohlenwasserstoff','Halogenid','-F, -Br, -Cl, -I',
|
42
|
+
checked_to_the_left+'Keton','Ketogruppe','R₁-C=O-R₂'+checked_to_the_right,
|
43
|
+
'Nitril','Nitril-/Cyanogruppe','-C≡N',
|
44
|
+
'Peroxycarbonsäure','Peroxycarboxylgruppe','R-COOOH',
|
45
|
+
'Phenol','Hydroxygruppe','R-OH',
|
46
|
+
checked_to_the_left+'Thiol','Thiol-/Mercatogruppe','R-SH'+checked_to_the_right
|
47
|
+
)
|
48
|
+
}
|
49
|
+
p_default_le {
|
50
|
+
selfy :local_chemistry
|
51
|
+
}
|
52
|
+
}}
|