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
@@ -7543,7 +7543,7 @@ Tipps:
|
|
7543
7543
|
div('pad8px mart5px',
|
7544
7544
|
'video_collection',
|
7545
7545
|
'border:1px solid orange') {
|
7546
|
-
require 'multimedia_paradise/constants/
|
7546
|
+
require 'multimedia_paradise/constants/constants.rb'
|
7547
7547
|
video_sammlung = MultimediaParadise.file_video_collection
|
7548
7548
|
video_sammlung = video_sammlung.first if video_sammlung.is_a? Array
|
7549
7549
|
h2 sg(:hanging_monkey,'marr4px')+
|
@@ -205,6 +205,18 @@ smaller_width('pad2px mar0px') {
|
|
205
205
|
e '<b>Nigeria</b> is a reservoir of wild poliovirus.'
|
206
206
|
}
|
207
207
|
# ========================================================================= #
|
208
|
+
# === HIV
|
209
|
+
# ========================================================================= #
|
210
|
+
# http://localhost/programming/ruby/src/roebe/lib/roebe/www/virology/virology.cgi#HIV
|
211
|
+
# ========================================================================= #
|
212
|
+
fancy2 'HIV'
|
213
|
+
p_default_le {
|
214
|
+
e 'One reason HIV persists in the human body is that <b>it has
|
215
|
+
a very high mutation rate</b>.'
|
216
|
+
br
|
217
|
+
e 'HIV rapidly evolves drug resistance.'
|
218
|
+
}
|
219
|
+
# ========================================================================= #
|
208
220
|
# === Archaeal viruses
|
209
221
|
# ========================================================================= #
|
210
222
|
# http://localhost/programming/ruby/src/roebe/lib/roebe/www/virology/virology.cgi#archaeal_viruses_the_archaeoviruses
|
@@ -574,7 +586,6 @@ EOF
|
|
574
586
|
entities on planet Earth.'
|
575
587
|
earrow 'Multidrug therapies have, for some patients, transformed
|
576
588
|
HIV from fatal to treatable.'
|
577
|
-
earrow 'HIV rapidly evolves drug resistance.'
|
578
589
|
earrow 'The HMG-B domain of the mammalian sex-determining protein Sry
|
579
590
|
is homologous to the RNA-binding domain of a viral protein.'
|
580
591
|
earrow 'A virus is '+
|
@@ -22,7 +22,7 @@ default_font_size_and_hyperlinks
|
|
22
22
|
# =========================================================================== #
|
23
23
|
COMMON_CSS_CLASS_FOR_THE_HYPERLINKS = 'mars2em BOLD'
|
24
24
|
|
25
|
-
|
25
|
+
smaller_width('mar0px pad0px s0_6em') {
|
26
26
|
# ========================================================================= #
|
27
27
|
# === War in Ukraine 2022
|
28
28
|
# ========================================================================= #
|
@@ -120,6 +120,7 @@ doc_preferred_width('mar0px pad0px s0_6em') {
|
|
120
120
|
br
|
121
121
|
selfy 'https://derstandard.at/permalink/rc/1000283189/context?ref=live_red_content',
|
122
122
|
css_class: COMMON_CSS_CLASS_FOR_THE_HYPERLINKS
|
123
|
+
br
|
123
124
|
}
|
124
125
|
# ========================================================================= #
|
125
126
|
# === 09.11.2022
|
@@ -140,7 +141,8 @@ doc_preferred_width('mar0px pad0px s0_6em') {
|
|
140
141
|
e "Let's see about that."
|
141
142
|
br
|
142
143
|
selfy 'https://www.derstandard.at/jetzt/livebericht/2000140660609/1000285393/erdogan-gibt-noch-kein-gruenes-licht-bei-nato-norderweiterung?ref=live_red_content',
|
143
|
-
|
144
|
+
css_class: COMMON_CSS_CLASS_FOR_THE_HYPERLINKS
|
145
|
+
br
|
144
146
|
}
|
145
147
|
# ========================================================================= #
|
146
148
|
# === 25.01.2023
|
@@ -151,13 +153,14 @@ doc_preferred_width('mar0px pad0px s0_6em') {
|
|
151
153
|
equote 'Ja, die Ukraine kann diesen Krieg gewinnen.','marl1em'
|
152
154
|
br
|
153
155
|
e 'Diese Einschätzung vertrat <b>Mark Hertling</b>, der frühere
|
154
|
-
Oberkommandierende der US-Armee in Europa. "[...] Als
|
156
|
+
Oberkommandierende der US-Armee in Europa. "[...] <i>Als
|
155
157
|
Außenstehender wäre meine Definition eines Sieges die
|
156
|
-
Rückeroberung aller besetzten Gebiete - inklusive der
|
157
|
-
meinte Hertling.'
|
158
|
+
Rückeroberung aller besetzten Gebiete - inklusive der
|
159
|
+
Krim</i>", meinte Hertling.'
|
158
160
|
br
|
159
161
|
selfy 'https://derstandard.at/permalink/rc/1000294477/context?ref=live_red_content',
|
160
|
-
|
162
|
+
css_class: COMMON_CSS_CLASS_FOR_THE_HYPERLINKS
|
163
|
+
br
|
161
164
|
}
|
162
165
|
# ========================================================================= #
|
163
166
|
# === 05.02.2023
|
@@ -170,7 +173,8 @@ doc_preferred_width('mar0px pad0px s0_6em') {
|
|
170
173
|
rote Linie überquert.'
|
171
174
|
br
|
172
175
|
selfy 'https://www.youtube.com/watch?v=w8ICxUVmrio',
|
173
|
-
|
176
|
+
css_class: COMMON_CSS_CLASS_FOR_THE_HYPERLINKS
|
177
|
+
br
|
174
178
|
}
|
175
179
|
# ========================================================================= #
|
176
180
|
# === 16.02.2023
|
@@ -196,7 +200,8 @@ doc_preferred_width('mar0px pad0px s0_6em') {
|
|
196
200
|
nation"','mars3em'
|
197
201
|
br
|
198
202
|
selfy 'https://zd39b0-c97-org.cdn.ampproject.org/c/s/zd39b0.c97.org/en/news/2023/2/16/536502/',
|
199
|
-
|
203
|
+
css_class: COMMON_CSS_CLASS_FOR_THE_HYPERLINKS
|
204
|
+
br
|
200
205
|
}
|
201
206
|
# ========================================================================= #
|
202
207
|
# === 10.04.2023
|
@@ -247,5 +252,18 @@ doc_preferred_width('mar0px pad0px s0_6em') {
|
|
247
252
|
selfy 'https://www.washingtonpost.com/world/2023/06/02/ben-wallace-nato-secretary-general/',
|
248
253
|
css_class: COMMON_CSS_CLASS_FOR_THE_HYPERLINKS
|
249
254
|
}
|
255
|
+
# ========================================================================= #
|
256
|
+
# === 20.02.2024
|
257
|
+
# ========================================================================= #
|
258
|
+
# https://www.stern.de/politik/deutschland/ukraine--taurus-kehrtwende--ampel-fraktionen-erhoehen-druck-auf-scholz-34473170.html
|
259
|
+
# ========================================================================= #
|
260
|
+
datume '20.04.2023',
|
261
|
+
'BG_Black pad0_5em gold martb2px'
|
262
|
+
p_default_le {
|
263
|
+
e 'Will <b>Scholz</b> soon be forced to soon send Taurus to the Ukraine?'
|
264
|
+
br
|
265
|
+
selfy 'https://www.stern.de/politik/deutschland/ukraine--taurus-kehrtwende--ampel-fraktionen-erhoehen-druck-auf-scholz-34473170.html',
|
266
|
+
css_class: COMMON_CSS_CLASS_FOR_THE_HYPERLINKS
|
267
|
+
}
|
250
268
|
br
|
251
269
|
}}
|
data/lib/roebe/www/xorg/xorg.rb
CHANGED
@@ -46,7 +46,7 @@ end
|
|
46
46
|
# Xserver tag, xclient tag xserv res tag, grafik tag graphic tag
|
47
47
|
# x-serv tag xserv tag, x tag xtag,popup tag, xorg tag x11 tag.
|
48
48
|
# =========================================================================== #
|
49
|
-
|
49
|
+
smaller_width('pad4px mar0px','xorg_server') {
|
50
50
|
h1 'Der Xorg-Server',
|
51
51
|
'martb1px'
|
52
52
|
div('FS1em mart0px','LinuxGrafik'){
|
@@ -921,36 +921,10 @@ doc_preferred_width('pad4px mar0px','xorg_server') {
|
|
921
921
|
}
|
922
922
|
# ========================================================================= #
|
923
923
|
# FONTS TAG FONT TAG
|
924
|
-
# rf xorg fonts
|
925
924
|
# ========================================================================= #
|
926
925
|
div('s1_5em ind1em mart2em marb4px pad5px FS1em FW5','fonts',
|
927
|
-
'background-color:#fffaff;
|
928
|
-
h1
|
929
|
-
dot(112)+'Fonts und Bildschirmdarstellung unter Linux','BO'
|
930
|
-
e 'Ein Point (pt) entspricht 1/72 Zoll. Folglich gilt das
|
931
|
-
wenn man eine Monitordarstellung von 72 DPI hat, ein point
|
932
|
-
auch genau <b>einem Pixel</b> entspricht.'
|
933
|
-
br
|
934
|
-
e 'Man kann sich die Pixel Info mittels
|
935
|
-
<b class="s1em">xdpyinfo | grep resol</b>
|
936
|
-
anzeigen lassen, das Ergebnis ist dann zb:'
|
937
|
-
br
|
938
|
-
cmd3 ' <b>resolution</b>: 85x86 dots per inch'
|
939
|
-
cmd3 ' <b>resolution</b>: 100x100 dots per inch'
|
940
|
-
cmd3 ' <b>resolution</b>: 99x98 dots per inch # Benq Monitor'
|
941
|
-
br
|
942
|
-
dimg 'PC/FONTS/FONTS_CONVENTION.png','marl3em'
|
943
|
-
p_default_le {
|
944
|
-
e 'Der Xorg-Server arbeitet die FontPath Einträge der Reihe nach
|
945
|
-
durch - bessere Fonts (oder Fonts die man als wichtiger empfindet)
|
946
|
-
sollte man oben einordnen.'
|
947
|
-
br
|
948
|
-
e 'Auch sollte man auf die <b>DPI Einträge</b> achten.'
|
949
|
-
}
|
950
|
-
p_default_le {
|
951
|
-
e 'Fonts lassen sich grob in <b class="ud">zwei Kategorien</b>
|
952
|
-
unterteilen.'
|
953
|
-
}
|
926
|
+
'background-color:#fffaff;'){
|
927
|
+
h1 'Fonts'
|
954
928
|
p('s1_5em mart1px marb1em ind0px'){
|
955
929
|
e dot(102, 'marr8px')+'<b class="ud">Bitmap fonts</b> werden in einem
|
956
930
|
<b>bit field</b> enkodiert, so wie auch ein Bild. Sie sind schwer
|
@@ -961,22 +935,6 @@ doc_preferred_width('pad4px mar0px','xorg_server') {
|
|
961
935
|
bestimmen. Die schauen immer gut aus (theoretisch zumindest).'
|
962
936
|
}
|
963
937
|
p_default_le {
|
964
|
-
e 'Weiters kann noch unterschieden werden zwischen:'
|
965
|
-
br
|
966
|
-
lem2 '(<b>1</b>) <b>TTF</b>: <b>TrueType Fonts</b>'
|
967
|
-
lem2 '(<b>2</b>) <b>OTF</b>: <b>OpenType Fonts</b>'
|
968
|
-
}
|
969
|
-
p_default_le {
|
970
|
-
e 'Die <b>typische Darstellung</b> eines Fonts unter Linux geschieht
|
971
|
-
in dieser, etwas hässlichen, Variante:'
|
972
|
-
br
|
973
|
-
cmd2 '-foundry-family-weight-slant-stretch-style-pixels-points-xres-yres-spacing-avgwidth-registry-encoding'
|
974
|
-
}
|
975
|
-
p_default_le {
|
976
|
-
e 'Es ist prinzipiell insofern eine <b>Erleichterung</b>, da alle
|
977
|
-
Merkmale eines Fonts in einem einzigen, langen String gespeichert
|
978
|
-
werden.'
|
979
|
-
br
|
980
938
|
e 'Andererseits ist es nicht gerade Benutzerfreundlich, und schon
|
981
939
|
über 16 Jahre alt. Es wird auch als <b class="ud">core X font
|
982
940
|
subsystem</b> bezeichnet.'
|
@@ -991,170 +949,13 @@ doc_preferred_width('pad4px mar0px','xorg_server') {
|
|
991
949
|
cmd2 ' -misc-fixed-bold-r-normal--10-100-75-75-c-90-iso8859-*'
|
992
950
|
}
|
993
951
|
# ======================================================================= #
|
994
|
-
# DIE SIND ZUM TESTEN, NOCH NIT FIX!!
|
995
|
-
# ======================================================================= #
|
996
|
-
p_default_le {
|
997
|
-
e 'Zum Testen ...'
|
998
|
-
br
|
999
|
-
cmd2 ' -arial-fixed-medium-r-normal--10-100-75-75-c-60-iso8859-*'
|
1000
|
-
br
|
1001
|
-
e 'Diese Fonts kann man mittels Aufruf von <b class="italic">xfontsel</b>
|
1002
|
-
ersehen.'
|
1003
|
-
br
|
1004
|
-
e 'Es folgt ein <b>Bild</b>, das die Sachlage erklärt:'
|
1005
|
-
}
|
1006
|
-
p_default_le {
|
1007
|
-
dimg 'PC/OS/LINUX/FONT_INFO.png','marl6em martb1em bblack1'
|
1008
|
-
}
|
1009
|
-
p_default_le {
|
1010
|
-
e 'Dieses alte System wurde übrigens von <b class="id">fontconfig</b>
|
1011
|
-
abgelöst. Nach Möglichkeit sollte man <b>immer Fontconfig verwenden</b>.'
|
1012
|
-
e 'Bei Xorg ist gibt es einen eigenen Font Server, der sich
|
1013
|
-
um die Schriften kümmert: <b>xfs</b>','smaller'
|
1014
|
-
}
|
1015
|
-
# ======================================================================= #
|
1016
952
|
# Grundlagen zu Fonts
|
1017
953
|
# ======================================================================= #
|
1018
954
|
h3 'Grundlagen zu Fonts'
|
1019
|
-
e 'Allgemein wird empfohlen TrueType fonts zu verwenden. Im
|
1020
|
-
Vergleich zum PostScript-Type1-Format sind TrueType fonts gut für die
|
1021
|
-
Bildschirmdarstellung geeignet. Deshalb sind TrueType-Fonts der
|
1022
|
-
dominierende Standard für Systemfonts auf den meisten Betriebssystemen,
|
1023
|
-
z.B. auch unter Windows und Mac OS.'
|
1024
|
-
br
|
1025
|
-
e 'TrueType-Schrift-Dateien haben die Endung <b>.ttf</b>.'
|
1026
|
-
br
|
1027
|
-
e 'Bei den meisten Linux Distributionen findet man TrueType fonts im
|
1028
|
-
Verzeichnis:'
|
1029
|
-
br
|
1030
|
-
boldbr '/usr/share/fonts/truetype','marl1em'
|
1031
|
-
boldbr 'cd /usr/share/fonts/truetype','marl1em'
|
1032
|
-
br
|
1033
|
-
e 'Es gibt auch PostScript Type Fonts, die im Vergleich zu TrueType
|
1034
|
-
jedoch eine schlechtere Bildschirmoptimierung (auch "Hinting" genannt)
|
1035
|
-
aufweisen.'
|
1036
|
-
br
|
1037
|
-
e 'Ein weiteres Problem mag die fehlende Unicode-Unterstützung sein.'
|
1038
955
|
br
|
1039
956
|
e 'Immer häufiger werden sie daher durch den Nachfolger OpenType
|
1040
957
|
abgelöst. PostScript Type 1 Fonts bestehen im Gegensatz zu
|
1041
958
|
TrueType-Schriften aus mehreren Dateien.'
|
1042
|
-
br
|
1043
|
-
e dot(102, 'marr8px')+'Allgemein sind <b>sans serif</b> Fonts besser als
|
1044
|
-
<b>serif</b> Fonts.'
|
1045
|
-
br
|
1046
|
-
e '* DejaVu Fonts Rating:4 (Zumindest unter Firefox)'
|
1047
|
-
br
|
1048
|
-
e 'Folgende ausführbare Programme mögen einem helfen, fonts
|
1049
|
-
unter Linux zu finden:'
|
1050
|
-
br
|
1051
|
-
div('s3em ind0'){
|
1052
|
-
e 'xlsfonts','BO'
|
1053
|
-
e 'fontsel','BO'
|
1054
|
-
e 'fc-list','BO'
|
1055
|
-
e 'xfontsel','BO'
|
1056
|
-
e 'man xmodmap','BO'
|
1057
|
-
}
|
1058
|
-
# ======================================================================= #
|
1059
|
-
# === Wo können wir Fonts finden
|
1060
|
-
# ======================================================================= #
|
1061
|
-
p_default_le {
|
1062
|
-
cmd 'Wo finde ich Fonts unter Linux?'
|
1063
|
-
br
|
1064
|
-
e 'Generell findet man sie unter'
|
1065
|
-
br
|
1066
|
-
abr '/usr/share/fonts/',
|
1067
|
-
content: 'cd /usr/share/fonts/',
|
1068
|
-
css_class: 'BO marl1em'
|
1069
|
-
br
|
1070
|
-
cmd ' cat /etc/X11/fs/config'
|
1071
|
-
br
|
1072
|
-
e ' /usr/share/fonts/bitstream-vera/*.ttf'
|
1073
|
-
e ' /usr/X11R6/lib/X11/fonts/TTF/*.ttf'
|
1074
|
-
br
|
1075
|
-
e 'Am besten man aktualisiert die Liste an Fonts die
|
1076
|
-
verwendet werden können, wie folgt:'
|
1077
|
-
br
|
1078
|
-
cmd ' fc-list'
|
1079
|
-
br
|
1080
|
-
e 'Man kann auch fonts in das eigene Verzeichnis ($HOME)
|
1081
|
-
ablegen, zum Beispiel unter:'
|
1082
|
-
e
|
1083
|
-
cmd ' /root/.fonts/'
|
1084
|
-
e
|
1085
|
-
e 'Einfach die .ttf oder .otf dort hineingeben.'
|
1086
|
-
}
|
1087
|
-
# ======================================================================= #
|
1088
|
-
# Font Installation
|
1089
|
-
# INSTALLATION VON FONTS
|
1090
|
-
# rf xorg font_installation
|
1091
|
-
# ======================================================================= #
|
1092
|
-
div('','font_installation'){
|
1093
|
-
h2 'Installation von Fonts - Wie installiere
|
1094
|
-
ich Fonts unter Linux?'
|
1095
|
-
e sg(:yel_dot,'marr4px bblack1')+
|
1096
|
-
'Wie installiere ich Fonts unter Linux?'
|
1097
|
-
p_default_le {
|
1098
|
-
e 'Ich beschreibe dies hier anhand <b>/System/Fonts</b>'
|
1099
|
-
br
|
1100
|
-
cmd ' cd /System/Fonts # es ginge auch in <b>~/.fonts</b>'
|
1101
|
-
cmd ' cp $SRC/FONTS/*ttf /System/Fonts'
|
1102
|
-
cmd ' cp $SRC/FONTS/*ttf ~/.fonts'
|
1103
|
-
br
|
1104
|
-
e 'Zu den neuen Schriften müssen die Dateien fonts.{scale,dir}
|
1105
|
-
erzeugt werden, da diese nötige Verwaltungsinformationen für
|
1106
|
-
den X-Server bzw für Xfs bereitstellen.'
|
1107
|
-
br
|
1108
|
-
cmd ' ttmkfdir -o fonts.dir # erstellt einen Index, mit dem
|
1109
|
-
Xorg die Schriften korrekt einbinden kann'
|
1110
|
-
cmd ' ttmkfdir > fonts.scale'
|
1111
|
-
cmd ' mkfontdir'
|
1112
|
-
cmd ' chkfontpath -a /System/Fonts'
|
1113
|
-
}
|
1114
|
-
p('marb2px'){
|
1115
|
-
e 'Bei aktuellen Linux-Systemen geht dies zum Beispiel über
|
1116
|
-
<b>kcontrol</b> - sofern man KDE nutzt.'
|
1117
|
-
br
|
1118
|
-
e 'Danach sollte man noch eventuell dies hier laufen lassen:'
|
1119
|
-
br
|
1120
|
-
cmd ' fc-cache'
|
1121
|
-
br
|
1122
|
-
e 'Zum regenerieren des Font-Cache hilft dies hier:'
|
1123
|
-
br
|
1124
|
-
cmd ' fc-cache -fv'
|
1125
|
-
}
|
1126
|
-
p('mars0px') {
|
1127
|
-
e 'Mittels mkfontdir erstellt man die Fonts im aktuellen
|
1128
|
-
Verzeichnis'
|
1129
|
-
br
|
1130
|
-
cmd ' cd /System/Fonts; mkfontdir'
|
1131
|
-
}
|
1132
|
-
}
|
1133
|
-
# ================================================================== #
|
1134
|
-
# FONTCONFIG TAG. rf xorg fontconfig
|
1135
|
-
# ================================================================== #
|
1136
|
-
div('marb1em','fontconfig'){
|
1137
|
-
h2 'Fontconfig'
|
1138
|
-
e 'You might be in need to issue a "fc-cache" command.'
|
1139
|
-
br
|
1140
|
-
e 'The command builds cache files that are read by fontconfig.'
|
1141
|
-
br
|
1142
|
-
e 'Maybe they are missing from your system.'
|
1143
|
-
br
|
1144
|
-
e 'Die wichtigen Information findet man in fonts.conf Datei.'
|
1145
|
-
}
|
1146
|
-
# ======================================================================= #
|
1147
|
-
# FONTS IN FIREFOX
|
1148
|
-
# ======================================================================= #
|
1149
|
-
div {
|
1150
|
-
h2 'Fonts in Firefox'
|
1151
|
-
e 'Ich liste nur gute Fonts. Getrennt werden sie, da ich nicht weiss,
|
1152
|
-
ob sie mit dem System etwas zu tun haben. Die Firefox Fonts sind
|
1153
|
-
übrigens Fonts, die man in FIREFOX einstellt.'
|
1154
|
-
# e 'Courier Pitch 10'
|
1155
|
-
e 'URW Bookman'
|
1156
|
-
e 'Luxi Sans'
|
1157
|
-
}
|
1158
959
|
}
|
1159
960
|
spacer
|
1160
961
|
# ========================================================================= #
|
@@ -1,11 +1,9 @@
|
|
1
1
|
---
|
2
|
-
- "/home/x/books/Honored_Enemy_by_Raymond_Feist_Legends_of_the_Riftawar_1_2006/Honored_Enemy_by_Raymond_Feist_Legends_of_the_Riftawar_1_2006.pdf"
|
3
|
-
- "/home/x/books/Introduction_to_Modern_Virology_by_Dimmock_2016/Introduction_to_Modern_Virology_by_Dimmock_2016.pdf"
|
4
|
-
- "/home/x/books/Cancer_virus_hunters_a_history_of_tumor_virology_by_Gregory_Morgan_2022/Cancer_virus_hunters_a_history_of_tumor_virology_by_Gregory_Morgan_2022.pdf"
|
5
|
-
- "/home/x/books/Principles_of_Virology_by_Jane_Flint_2020/Principles_of_Virology_by_Jane_Flint_2020.pdf"
|
6
|
-
- "/home/x/books/Virus_Detection_by_Charles_Wick_2023/Virus_Detection_by_Charles_Wick_2023.pdf"
|
7
|
-
- "/home/x/books/Coffee_House_Notes_on_Virology_by_Tim_Skern_2009/Coffee_House_Notes_on_Virology_by_Tim_Skern_2009.pdf"
|
8
|
-
- "/home/x/books/Protein_Families_Relating_Protein_Sequence_Structure_and_Function_2014/Protein_Families_Relating_Protein_Sequence_Structure_and_Function_2014.pdf"
|
9
|
-
- "/home/x/books/Structural_Proteomics_by_Raymond_Owens_2021/Structural_Proteomics_by_Raymond_Owens_2021.pdf"
|
10
2
|
- "/home/x/books/Introduction_to_GUI_with_Swing_by_Paul_Fischer_2005/Introduction_to_GUI_with_Swing_by_Paul_Fischer_2005.pdf"
|
11
3
|
- "/home/x/books/The_Pragmatic_Programmer_20th_Anniversary_Edition_by_David_Thomas_Andrew_Hunt_2020/The_Pragmatic_Programmer_20th_Anniversary_Edition_by_David_Thomas_Andrew_Hunt_2020.pdf"
|
4
|
+
- "/home/x/books/The_Secret_Syllbus_A_Guide_to_the_Unwritten_Rules_of_College_Success_by_Jay_Phelan_2022/The_Secret_Syllbus_A_Guide_to_the_Unwritten_Rules_of_College_Success_by_Jay_Phelan_2022.pdf"
|
5
|
+
- "/home/x/books/Java_Swing_Western_Islands_by_Robert_Eckstein_1998/Java_Swing_Western_Islands_by_Robert_Eckstein_1998.pdf"
|
6
|
+
- "/home/x/books/Introduction_to_Programming_using_Java_by_David_J._Eck_2022/Introduction_to_Programming_using_Java_by_David_J._Eck_2022.pdf"
|
7
|
+
- "/home/x/books/BASICS_Erste_Hilfe_by_Tobias_Matreitz_2013/BASICS_Erste_Hilfe_by_Tobias_Matreitz_2013.pdf"
|
8
|
+
- "/home/x/studium/TU_WIEN/185.A92_Einführung_in_die_Programmierung_2/2024S/Skriptum_Java2_2024_ep2-24s-1seitig.pdf"
|
9
|
+
- "/home/x/books/Datenbanksysteme_eine_Einführung_by_Alfons_Kemper_2009/Datenbanksysteme_eine_Einführung_by_Alfons_Kemper_2009.pdf"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: roebe
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robert A. Heiler
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-03-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: colours
|
@@ -74,6 +74,7 @@ files:
|
|
74
74
|
- bin/create_zip
|
75
75
|
- bin/custom_invoke
|
76
76
|
- bin/delete_empty_files
|
77
|
+
- bin/dhcpcd_wrapper
|
77
78
|
- bin/display_gcc_version
|
78
79
|
- bin/do_a_google_search
|
79
80
|
- bin/extract_gem_file
|
@@ -120,7 +121,6 @@ files:
|
|
120
121
|
- bin/roebe_documentation
|
121
122
|
- bin/roebeshell
|
122
123
|
- bin/ruby_cat
|
123
|
-
- bin/ruby_dhcpcd
|
124
124
|
- bin/run
|
125
125
|
- bin/rxinitrc
|
126
126
|
- bin/set_alias_1
|
@@ -432,6 +432,7 @@ files:
|
|
432
432
|
- examples/rmagick/foobar.png
|
433
433
|
- examples/tty_box/all_in_one.rb
|
434
434
|
- lib/roebe.rb
|
435
|
+
- lib/roebe/actions/actions.rb
|
435
436
|
- lib/roebe/autoinclude.rb
|
436
437
|
- lib/roebe/autoinclude_encoding.rb
|
437
438
|
- lib/roebe/autoinclude_open.rb
|
@@ -565,7 +566,7 @@ files:
|
|
565
566
|
- lib/roebe/classes/delete_empty_directories.rb
|
566
567
|
- lib/roebe/classes/delete_empty_files.rb
|
567
568
|
- lib/roebe/classes/dhcpcd/README.md
|
568
|
-
- lib/roebe/classes/dhcpcd/
|
569
|
+
- lib/roebe/classes/dhcpcd/dhcpcd_wrapper.rb
|
569
570
|
- lib/roebe/classes/dhcpcd/kill_dhcpcd.rb
|
570
571
|
- lib/roebe/classes/differences_between_two_directories.rb
|
571
572
|
- lib/roebe/classes/disable.rb
|
@@ -787,12 +788,7 @@ files:
|
|
787
788
|
- lib/roebe/classes/random_open.rb
|
788
789
|
- lib/roebe/classes/rbashrc.rb
|
789
790
|
- lib/roebe/classes/rdate.rb
|
790
|
-
- lib/roebe/classes/readme_generator/constants.rb
|
791
|
-
- lib/roebe/classes/readme_generator/initialize.rb
|
792
|
-
- lib/roebe/classes/readme_generator/misc.rb
|
793
791
|
- lib/roebe/classes/readme_generator/readme_generator.rb
|
794
|
-
- lib/roebe/classes/readme_generator/reset.rb
|
795
|
-
- lib/roebe/classes/readme_generator/run.rb
|
796
792
|
- lib/roebe/classes/remote_gems.rb
|
797
793
|
- lib/roebe/classes/remove_bad_fluxbox_styles.rb
|
798
794
|
- lib/roebe/classes/remove_comments/autoinclude.rb
|
@@ -814,6 +810,7 @@ files:
|
|
814
810
|
- lib/roebe/classes/replace_space_with_underscore/replace_space_with_underscore.rb
|
815
811
|
- lib/roebe/classes/replace_what_with.rb
|
816
812
|
- lib/roebe/classes/report_how_many_classes_exist_for_this_directory.rb
|
813
|
+
- lib/roebe/classes/report_how_many_files_are_in_this_directory.rb
|
817
814
|
- lib/roebe/classes/report_same_named_files.rb
|
818
815
|
- lib/roebe/classes/require_everything.rb
|
819
816
|
- lib/roebe/classes/return_aliases/return_n_aliases.rb
|
@@ -1019,6 +1016,7 @@ files:
|
|
1019
1016
|
- lib/roebe/emoji/emoji_table.rb
|
1020
1017
|
- lib/roebe/encoding/encoding.rb
|
1021
1018
|
- lib/roebe/extensions.rb
|
1019
|
+
- lib/roebe/fonts/fonts.rb
|
1022
1020
|
- lib/roebe/gemrc/gemrc
|
1023
1021
|
- lib/roebe/gui/cgi/interactive_caesar_cipher/interactive_caesar_cipher.cgi
|
1024
1022
|
- lib/roebe/gui/cgi/md5_comparer/md5_comparer.cgi
|
@@ -1179,6 +1177,7 @@ files:
|
|
1179
1177
|
- lib/roebe/math/regel_von_sarrus.rb
|
1180
1178
|
- lib/roebe/math/sphere.rb
|
1181
1179
|
- lib/roebe/math/steigung.rb
|
1180
|
+
- lib/roebe/math/the_collatz_problem.rb
|
1182
1181
|
- lib/roebe/math/traurige_oder_fröhliche_zahl.rb
|
1183
1182
|
- lib/roebe/math/traurige_oder_glückliche_zahl.rb
|
1184
1183
|
- lib/roebe/math/zylinder.rb
|
@@ -1395,9 +1394,9 @@ files:
|
|
1395
1394
|
- lib/roebe/shell_scripts/lfs/022_gcc_2.sh
|
1396
1395
|
- lib/roebe/shell_scripts/lfs/023_gettext_2.sh
|
1397
1396
|
- lib/roebe/shell_scripts/lfs/024_bison_2.sh
|
1397
|
+
- lib/roebe/shell_scripts/lfs/025_ruby_2.sh
|
1398
1398
|
- lib/roebe/shell_scripts/lfs/README.md
|
1399
1399
|
- lib/roebe/shell_scripts/lfs/lfs_build_variables.sh
|
1400
|
-
- lib/roebe/shell_scripts/lfs/lfs_variables.sh
|
1401
1400
|
- lib/roebe/shell_scripts/lfs/libstdc++_2.sh
|
1402
1401
|
- lib/roebe/shell_scripts/lfs/ruby_2.sh
|
1403
1402
|
- lib/roebe/shell_scripts/list_colours.sh
|
@@ -1642,6 +1641,9 @@ files:
|
|
1642
1641
|
- lib/roebe/validation/README.md
|
1643
1642
|
- lib/roebe/validation/validate_roeberia_environment_variables.rb
|
1644
1643
|
- lib/roebe/version/version.rb
|
1644
|
+
- lib/roebe/wasm/README.md
|
1645
|
+
- lib/roebe/wasm/enable_simple_puts_output.rb
|
1646
|
+
- lib/roebe/wasm/wasm_examples.html
|
1645
1647
|
- lib/roebe/windows/bat/README.md
|
1646
1648
|
- lib/roebe/windows/bat/compile_gtk_application_hello_world_example.bat
|
1647
1649
|
- lib/roebe/windows/bat/screenCapture.bat
|
@@ -1805,6 +1807,7 @@ files:
|
|
1805
1807
|
- lib/roebe/www/best_voices/best_voices.cgi
|
1806
1808
|
- lib/roebe/www/best_voices/best_voices.rb
|
1807
1809
|
- lib/roebe/www/best_voices/best_voices.sinatra
|
1810
|
+
- lib/roebe/www/bioanalytik/bioanalytik.cgi
|
1808
1811
|
- lib/roebe/www/biobricks/biobricks.cgi
|
1809
1812
|
- lib/roebe/www/biobricks/biobricks.rb
|
1810
1813
|
- lib/roebe/www/biobricks/biobricks.sinatra
|
@@ -1858,9 +1861,13 @@ files:
|
|
1858
1861
|
- lib/roebe/www/cellulose/cellulose.cgi
|
1859
1862
|
- lib/roebe/www/cellulose/cellulose.rb
|
1860
1863
|
- lib/roebe/www/cellulose/cellulose.sinatra
|
1864
|
+
- lib/roebe/www/chemistry/Säuren_Basen_und_der_pH_Wert/Säuren_Basen_und_der_pH_Wert.cgi
|
1861
1865
|
- lib/roebe/www/chemistry/chemistry.cgi
|
1862
1866
|
- lib/roebe/www/chemistry/chemistry.rb
|
1863
1867
|
- lib/roebe/www/chemistry/chemistry.sinatra
|
1868
|
+
- lib/roebe/www/chemistry/css_rules.css
|
1869
|
+
- lib/roebe/www/chemistry/die_quantenzahlen/die_quantenzahlen.cgi
|
1870
|
+
- lib/roebe/www/chemistry/funktionelle_gruppen_in_der_chemie/funktionelle_gruppen_in_der_chemie.cgi
|
1864
1871
|
- lib/roebe/www/chromatography/content.md
|
1865
1872
|
- lib/roebe/www/chrome_and_chromium/chrome_and_chromium.cgi
|
1866
1873
|
- lib/roebe/www/chrome_and_chromium/chrome_and_chromium.rb
|
@@ -2013,6 +2020,7 @@ files:
|
|
2013
2020
|
- lib/roebe/www/firefox/mozconfig
|
2014
2021
|
- lib/roebe/www/flexible_foto_gallery/README.md
|
2015
2022
|
- lib/roebe/www/flexible_foto_gallery/flexible_foto_gallery.cgi
|
2023
|
+
- lib/roebe/www/fonts/fonts.cgi
|
2016
2024
|
- lib/roebe/www/food/food.cgi
|
2017
2025
|
- lib/roebe/www/food/food.rb
|
2018
2026
|
- lib/roebe/www/food/food.sinatra
|
@@ -2097,6 +2105,7 @@ files:
|
|
2097
2105
|
- lib/roebe/www/hardware/kabel_und_adaptoren/kabel_und_adaptoren.cgi
|
2098
2106
|
- lib/roebe/www/hardware/kabel_und_adaptoren/kabel_und_adaptoren.rb
|
2099
2107
|
- lib/roebe/www/hardware/kabel_und_adaptoren/kabel_und_adaptoren.sinatra
|
2108
|
+
- lib/roebe/www/hardware/netzteile/netzteile.cgi
|
2100
2109
|
- lib/roebe/www/hardware/schrauben_muttern_und_nägel/schrauben_muttern_und_nägel.cgi
|
2101
2110
|
- lib/roebe/www/hardware/schrauben_muttern_und_nägel/schrauben_muttern_und_nägel.rb
|
2102
2111
|
- lib/roebe/www/hardware/schrauben_muttern_und_nägel/schrauben_muttern_und_nägel.sinatra
|
@@ -2276,6 +2285,7 @@ files:
|
|
2276
2285
|
- lib/roebe/www/linux/linux.cgi
|
2277
2286
|
- lib/roebe/www/linux/linux.rb
|
2278
2287
|
- lib/roebe/www/linux/linux.sinatra
|
2288
|
+
- lib/roebe/www/linux/linuxmint/linuxmint.rb
|
2279
2289
|
- lib/roebe/www/linux/manjaro/content.md
|
2280
2290
|
- lib/roebe/www/linux/mxlinux
|
2281
2291
|
- lib/roebe/www/linux/neptune/neptune.cgi
|
@@ -2367,7 +2377,6 @@ files:
|
|
2367
2377
|
- lib/roebe/www/microsoft/microsoft.sinatra
|
2368
2378
|
- lib/roebe/www/midi/al_adagi.mid
|
2369
2379
|
- lib/roebe/www/mikrobielle_physiologie/mikrobielle_physiologie.cgi
|
2370
|
-
- lib/roebe/www/mikrobielle_physiologie/mikrobielle_physiologie.rb
|
2371
2380
|
- lib/roebe/www/mikrobielle_physiologie/mikrobielle_physiologie.sinatra
|
2372
2381
|
- lib/roebe/www/military/military.cgi
|
2373
2382
|
- lib/roebe/www/military/military.rb
|
@@ -2531,7 +2540,8 @@ files:
|
|
2531
2540
|
- lib/roebe/www/problems_of_the_european_union/problems_of_the_european_union.cgi
|
2532
2541
|
- lib/roebe/www/problems_of_the_european_union/problems_of_the_european_union.rb
|
2533
2542
|
- lib/roebe/www/problems_of_the_european_union/problems_of_the_european_union.sinatra
|
2534
|
-
- lib/roebe/www/programming_advice/programming_advice.
|
2543
|
+
- lib/roebe/www/programming_advice/programming_advice.cgi
|
2544
|
+
- lib/roebe/www/programming_advice/programming_advice.md
|
2535
2545
|
- lib/roebe/www/programming_bible/programming_bible.cgi
|
2536
2546
|
- lib/roebe/www/programming_bible/programming_bible.rb
|
2537
2547
|
- lib/roebe/www/programming_bible/programming_bible.sinatra
|
@@ -2658,6 +2668,7 @@ files:
|
|
2658
2668
|
- lib/roebe/www/test/README.md
|
2659
2669
|
- lib/roebe/www/test/database.sql
|
2660
2670
|
- lib/roebe/www/test/test.cgi
|
2671
|
+
- lib/roebe/www/the_cell_cycle/the_cell_cycle.cgi
|
2661
2672
|
- lib/roebe/www/the_linux_kernel/the_linux_kernel.cgi
|
2662
2673
|
- lib/roebe/www/the_linux_kernel/the_linux_kernel.rb
|
2663
2674
|
- lib/roebe/www/the_linux_kernel/the_linux_kernel.sinatra
|
@@ -2978,7 +2989,7 @@ post_install_message: |2+
|
|
2978
2989
|
|
2979
2990
|
For more documentation, have a look at:
|
2980
2991
|
|
2981
|
-
https://www.rubydoc.info/gems/roebe/0.
|
2992
|
+
https://www.rubydoc.info/gems/roebe/0.6.3
|
2982
2993
|
|
2983
2994
|
Thank you and have fun.
|
2984
2995
|
|
@@ -2994,9 +3005,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
2994
3005
|
requirements:
|
2995
3006
|
- - ">="
|
2996
3007
|
- !ruby/object:Gem::Version
|
2997
|
-
version: 3.5.
|
3008
|
+
version: 3.5.6
|
2998
3009
|
requirements: []
|
2999
|
-
rubygems_version: 3.5.
|
3010
|
+
rubygems_version: 3.5.6
|
3000
3011
|
signing_key:
|
3001
3012
|
specification_version: 4
|
3002
3013
|
summary: 'What is the purpose of this project? This project essentially bundles together
|
@@ -1,21 +0,0 @@
|
|
1
|
-
#!/usr/bin/ruby -w
|
2
|
-
# Encoding: UTF-8
|
3
|
-
# frozen_string_literal: true
|
4
|
-
# =========================================================================== #
|
5
|
-
# require 'roebe/classes/readme_generator/constants.rb'
|
6
|
-
# =========================================================================== #
|
7
|
-
module Roebe
|
8
|
-
|
9
|
-
class ReadmeGenerator < Base # === Roebe::ReadmeGenerator
|
10
|
-
|
11
|
-
# ========================================================================= #
|
12
|
-
# === FILE_DOC_README_GEN
|
13
|
-
# ========================================================================= #
|
14
|
-
FILE_DOC_README_GEN = 'doc/README.gen'
|
15
|
-
|
16
|
-
# ========================================================================= #
|
17
|
-
# === NAME_OF_THE_FILE_THAT_IS_AUTOGENERATED
|
18
|
-
# ========================================================================= #
|
19
|
-
NAME_OF_THE_FILE_THAT_IS_AUTOGENERATED = 'README.md'
|
20
|
-
|
21
|
-
end; end
|
@@ -1,38 +0,0 @@
|
|
1
|
-
#!/usr/bin/ruby -w
|
2
|
-
# Encoding: UTF-8
|
3
|
-
# frozen_string_literal: true
|
4
|
-
# =========================================================================== #
|
5
|
-
# require 'roebe/classes/readme_generator/initialize.rb'
|
6
|
-
# =========================================================================== #
|
7
|
-
require 'roebe/classes/readme_generator/constants.rb'
|
8
|
-
|
9
|
-
module Roebe
|
10
|
-
|
11
|
-
class ReadmeGenerator < Base # === Roebe::ReadmeGenerator
|
12
|
-
|
13
|
-
# ========================================================================= #
|
14
|
-
# === initialize
|
15
|
-
# ========================================================================= #
|
16
|
-
def initialize(
|
17
|
-
input_gen_file = FILE_DOC_README_GEN,
|
18
|
-
run_already = true
|
19
|
-
)
|
20
|
-
reset
|
21
|
-
set_input_gen_file(input_gen_file)
|
22
|
-
# ======================================================================= #
|
23
|
-
# === Handle blocks next
|
24
|
-
# ======================================================================= #
|
25
|
-
if block_given?
|
26
|
-
yielded = yield
|
27
|
-
case yielded
|
28
|
-
# ===================================================================== #
|
29
|
-
# === :do_not_open_in_the_browser
|
30
|
-
# ===================================================================== #
|
31
|
-
when :do_not_open_in_the_browser
|
32
|
-
@open_in_browser = false
|
33
|
-
end
|
34
|
-
end
|
35
|
-
run if run_already
|
36
|
-
end
|
37
|
-
|
38
|
-
end; end
|