roebe 0.5.120 → 0.5.121

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.

Files changed (71) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +57 -34
  3. data/doc/README.gen +56 -33
  4. data/doc/add_ons_for_ruby/fxruby.md +14 -0
  5. data/doc/add_ons_for_ruby/prawn.md +12 -0
  6. data/doc/sinatra_tutorial/sinatra_tutorial.rb +52 -22
  7. data/lib/roebe/base/colours.rb +59 -50
  8. data/lib/roebe/classes/create_file_skeleton/generate_ruby_string.rb +1 -0
  9. data/lib/roebe/classes/current_monitor_resolution.rb +27 -9
  10. data/lib/roebe/classes/do_install.rb +1 -9
  11. data/lib/roebe/classes/done.rb +1 -9
  12. data/lib/roebe/classes/done_and_open.rb +2 -13
  13. data/lib/roebe/classes/email.rb +36 -26
  14. data/lib/roebe/classes/find_out_version_of.rb +1 -5
  15. data/lib/roebe/classes/find_static_libraries.rb +1 -18
  16. data/lib/roebe/classes/fluxbox/generate_fluxbox_apps_file.rb +1 -9
  17. data/lib/roebe/classes/generate_fstab_file/generate_fstab_file.rb +1 -9
  18. data/lib/roebe/classes/generate_master_shell_script.rb +1 -13
  19. data/lib/roebe/classes/generate_system_values.rb +1 -9
  20. data/lib/roebe/classes/get_dependencies.rb +1 -9
  21. data/lib/roebe/classes/good_night.rb +1 -5
  22. data/lib/roebe/classes/google_url_cleaner.rb +1 -9
  23. data/lib/roebe/classes/grant_superuser_rights.rb +0 -5
  24. data/lib/roebe/classes/run/run.rb +130 -105
  25. data/lib/roebe/classes/symlink_files_from_that_directory_to_the_current_directory/symlink_files_from_that_directory_to_the_current_directory.rb +10 -1
  26. data/lib/roebe/classes/time/current_time_in_singapore.rb +1 -5
  27. data/lib/roebe/classes/umlaut_converter.rb +1 -1
  28. data/lib/roebe/classes/use_jruby.rb +68 -0
  29. data/lib/roebe/documentation/prawn.md +0 -11
  30. data/lib/roebe/gui/gtk3/shell/misc.rb +94 -0
  31. data/lib/roebe/gui/gtk3/shell/shell.rb +690 -10
  32. data/lib/roebe/gui/libui/shell/shell.rb +107 -0
  33. data/lib/roebe/gui/shared_code/shell/shell_module.rb +0 -601
  34. data/lib/roebe/pdf/README.md +1 -0
  35. data/lib/roebe/pdf/prawn/all_in_one_showcasing_prawn.rb +160 -0
  36. data/lib/roebe/requires/require_the_run_class.rb +7 -0
  37. data/lib/roebe/shell/shell/class_methods.rb +25 -0
  38. data/lib/roebe/shell/shell/core/browser.rb +4 -1
  39. data/lib/roebe/shell/shell/core/cat.rb +34 -28
  40. data/lib/roebe/shell/shell/core/disable.rb +12 -1
  41. data/lib/roebe/shell/shell/core/esystem.rb +10 -1
  42. data/lib/roebe/shell/shell/core/help.rb +24 -21
  43. data/lib/roebe/shell/shell/core/queries.rb +7 -7
  44. data/lib/roebe/shell/shell/core/set.rb +15 -0
  45. data/lib/roebe/shell/shell/core/show_display_feedback_and_report.rb +11 -7
  46. data/lib/roebe/shell/shell/core/stat.rb +4 -1
  47. data/lib/roebe/shell/shell/menu.rb +231 -173
  48. data/lib/roebe/shell/shell/shell.rb +77 -77
  49. data/lib/roebe/toplevel_methods/unicode/popular_unicode_symbols.rb +9 -0
  50. data/lib/roebe/version/version.rb +2 -2
  51. data/lib/roebe/www/cancer/cancer.rb +10 -5
  52. data/lib/roebe/www/cellbiology/cellbiology.rb +4 -0
  53. data/lib/roebe/www/covid19/covid19.rb +32 -6
  54. data/lib/roebe/www/developmental_biology/developmental_biology.rb +16 -4
  55. data/lib/roebe/www/genomics/genomics.rb +27 -3
  56. data/lib/roebe/www/hardware/computersysteme/computersysteme.rb +25 -13
  57. data/lib/roebe/www/libreoffice/libreoffice.rb +22 -5
  58. data/lib/roebe/www/lighttpd/autogenerated_lighttpd.conf +1 -1
  59. data/lib/roebe/www/lighttpd/configuration/redirects.conf +1 -1
  60. data/lib/roebe/www/links/links.rb +1 -1
  61. data/lib/roebe/www/mathematics/mathematics.rb +48 -24
  62. data/lib/roebe/www/neurobiology/neurobiology.rb +13 -3
  63. data/lib/roebe/www/virology/virology.rb +81 -58
  64. data/lib/roebe/www/weechat/weechat.cgi +1 -1
  65. data/lib/roebe/www/weechat/weechat.rb +4 -5
  66. data/lib/roebe/www/wlan/wlan.rb +9 -3
  67. metadata +12 -7
  68. data/lib/roebe/classes/monitor_resolution.rb +0 -95
  69. data/lib/roebe/gui/gtk2/shell/shell.rb +0 -37
  70. data/lib/roebe/gui/shared_code/shell/connect_skeleton.rb +0 -53
  71. data/lib/roebe/gui/shared_code/shell/constants.rb +0 -82
@@ -1228,7 +1228,7 @@ class Shell < Base # === Roebe::Shell
1228
1228
  if i.is_a? Array
1229
1229
  i.map! {|entry| entry.strip }
1230
1230
  else
1231
- i.strip!
1231
+ i.strip! if i
1232
1232
  end
1233
1233
  end
1234
1234
 
@@ -1357,30 +1357,6 @@ class Shell < Base # === Roebe::Shell
1357
1357
  end; alias startup do_startup_related_tasks_via_a_thread # === startup
1358
1358
  alias do_startup_actions do_startup_related_tasks_via_a_thread # === do_startup_actions
1359
1359
 
1360
- # ========================================================================= #
1361
- # === prepare_the_case_parser_with_the_entries_from_the_menu_file
1362
- # ========================================================================= #
1363
- def prepare_the_case_parser_with_the_entries_from_the_menu_file
1364
- # ======================================================================= #
1365
- # We need to read this up only on startup of the roebe-shell.
1366
- # ======================================================================= #
1367
- _ = "#{::Roebe::Shell.project_base_directory?}shell/menu.rb"
1368
- if File.exist? _
1369
- if Object.const_defined? :CaseParser
1370
- Roebe::Shell.append_to_the_array_roebe_shell_case_options(
1371
- CaseParser.return_array(_)
1372
- )
1373
- else
1374
- # Else do nothing.
1375
- end
1376
- else
1377
- if ::Roebe.is_on_roebe?
1378
- puts "No file exists at #{_}"
1379
- end
1380
- Roebe::Shell.array_roebe_shell_case_options.clear
1381
- end
1382
- end
1383
-
1384
1360
  # ========================================================================= #
1385
1361
  # === do_not_report_the_version
1386
1362
  # ========================================================================= #
@@ -1757,16 +1733,6 @@ class Shell < Base # === Roebe::Shell
1757
1733
  YAML.load_file(file_lazy_load_these_components).sort
1758
1734
  end
1759
1735
 
1760
- # ========================================================================= #
1761
- # === process_the_user_input
1762
- # ========================================================================= #
1763
- def process_the_user_input(
1764
- i = user_input?
1765
- )
1766
- store_the_user_input_in_the_input_history(i)
1767
- analyse_the_user_input(i)
1768
- end; alias process_user_input process_the_user_input # === process_user_input
1769
-
1770
1736
  # ========================================================================= #
1771
1737
  # === obtain_user_input
1772
1738
  #
@@ -1834,39 +1800,6 @@ class Shell < Base # === Roebe::Shell
1834
1800
  $stdin.gets(delimiter_token).chomp
1835
1801
  end
1836
1802
 
1837
- # ========================================================================= #
1838
- # === set_user_input_and_decide_on_action
1839
- #
1840
- # This conglomerate method wraps over various other methods, such as
1841
- # set_user_input() or menu(). It will pass the first argument more or
1842
- # less straight into the menu() method. This allows the user to
1843
- # give specific commands to the roebe-shell instance. It also allows
1844
- # for scripted-use or batch-use, in principle.
1845
- #
1846
- # The first argument to this method here should naturally be the
1847
- # (new) user-input that you wish to use.
1848
- # ========================================================================= #
1849
- def set_user_input_and_decide_on_action(i)
1850
- set_original_user_input(i)
1851
- strip_user_input
1852
- set_user_input(i)
1853
- convert_the_user_input_into_an_array
1854
- user_input?.each {|use_this_as_user_input|
1855
- # ===================================================================== #
1856
- # We must also store the user input in the input-history, which
1857
- # comes next.
1858
- # ===================================================================== #
1859
- store_the_user_input_in_the_input_history(use_this_as_user_input)
1860
- clear_the_old_arguments # Always reset them onto a pristine state.
1861
- use_this_as_user_input = analyse_the_user_input(use_this_as_user_input) # This entry point will assign to the arguments as well.
1862
- # ===================================================================== #
1863
- # Next, delegate to the menu() interface.
1864
- # ===================================================================== #
1865
- menu(use_this_as_user_input)
1866
- register_last_command(use_this_as_user_input)
1867
- }
1868
- end; alias suiadoa set_user_input_and_decide_on_action # === suiadoa
1869
-
1870
1803
  # ========================================================================= #
1871
1804
  # === run (run tag)
1872
1805
  #
@@ -2033,15 +1966,6 @@ class Shell < Base # === Roebe::Shell
2033
1966
  alias show_the_main_prompt display_prompt # === show_the_main_prompt
2034
1967
  alias display_the_prompt display_prompt # === display_the_prompt
2035
1968
 
2036
- # ========================================================================= #
2037
- # === convert_the_user_input_into_an_array
2038
- # ========================================================================= #
2039
- def convert_the_user_input_into_an_array
2040
- @internal_hash[:user_input] = [
2041
- @internal_hash[:user_input]
2042
- ].flatten.map {|entry| entry.lstrip } # .lstrip to sanitize e. g. " cd foobar"
2043
- end
2044
-
2045
1969
  # ========================================================================= #
2046
1970
  # === enter_the_main_loop (loop tag)
2047
1971
  #
@@ -2126,6 +2050,82 @@ class Shell < Base # === Roebe::Shell
2126
2050
  return _
2127
2051
  end; alias process_user_input analyse_the_user_input # === process_user_input
2128
2052
 
2053
+ # ========================================================================= #
2054
+ # === convert_the_user_input_into_an_array
2055
+ # ========================================================================= #
2056
+ def convert_the_user_input_into_an_array
2057
+ @internal_hash[:user_input] = [
2058
+ @internal_hash[:user_input]
2059
+ ].flatten.map {|entry| entry.lstrip } # .lstrip to sanitize e. g. " cd foobar"
2060
+ end
2061
+
2062
+ # ========================================================================= #
2063
+ # === process_the_user_input
2064
+ # ========================================================================= #
2065
+ def process_the_user_input(
2066
+ i = user_input?
2067
+ )
2068
+ store_the_user_input_in_the_input_history(i)
2069
+ analyse_the_user_input(i)
2070
+ end; alias process_user_input process_the_user_input # === process_user_input
2071
+
2072
+ # ========================================================================= #
2073
+ # === prepare_the_case_parser_with_the_entries_from_the_menu_file
2074
+ # ========================================================================= #
2075
+ def prepare_the_case_parser_with_the_entries_from_the_menu_file
2076
+ # ======================================================================= #
2077
+ # We need to read this up only on startup of the roebe-shell.
2078
+ # ======================================================================= #
2079
+ _ = "#{::Roebe::Shell.project_base_directory?}shell/menu.rb"
2080
+ if File.exist? _
2081
+ if Object.const_defined? :CaseParser
2082
+ Roebe::Shell.append_to_the_array_roebe_shell_case_options(
2083
+ CaseParser.return_array(_)
2084
+ )
2085
+ else
2086
+ # Else do nothing.
2087
+ end
2088
+ else
2089
+ if ::Roebe.is_on_roebe?
2090
+ puts "No file exists at #{_}"
2091
+ end
2092
+ Roebe::Shell.array_roebe_shell_case_options.clear
2093
+ end
2094
+ end
2095
+
2096
+ # ========================================================================= #
2097
+ # === set_user_input_and_decide_on_action
2098
+ #
2099
+ # This conglomerate method wraps over various other methods, such as
2100
+ # set_user_input() or menu(). It will pass the first argument more or
2101
+ # less straight into the menu() method. This allows the user to
2102
+ # give specific commands to the roebe-shell instance. It also allows
2103
+ # for scripted-use or batch-use, in principle.
2104
+ #
2105
+ # The first argument to this method here should naturally be the
2106
+ # (new) user-input that you wish to use.
2107
+ # ========================================================================= #
2108
+ def set_user_input_and_decide_on_action(i)
2109
+ set_original_user_input(i)
2110
+ strip_user_input
2111
+ set_user_input(i)
2112
+ convert_the_user_input_into_an_array
2113
+ user_input?.each {|use_this_as_user_input|
2114
+ # ===================================================================== #
2115
+ # We must also store the user input in the input-history, which
2116
+ # comes next.
2117
+ # ===================================================================== #
2118
+ store_the_user_input_in_the_input_history(use_this_as_user_input)
2119
+ clear_the_old_arguments # Always reset them onto a pristine state.
2120
+ use_this_as_user_input = analyse_the_user_input(use_this_as_user_input) # This entry point will assign to the arguments as well.
2121
+ # ===================================================================== #
2122
+ # Next, delegate to the menu() interface.
2123
+ # ===================================================================== #
2124
+ menu(use_this_as_user_input)
2125
+ register_last_command(use_this_as_user_input)
2126
+ }
2127
+ end; alias suiadoa set_user_input_and_decide_on_action # === suiadoa
2128
+
2129
2129
  end
2130
2130
 
2131
2131
  # =========================================================================== #
@@ -78,6 +78,15 @@ module Roebe
78
78
  end; self.instance_eval { alias snowman_dude return_unicode_snowman } # === Roebe.snowman_dude
79
79
  self.instance_eval { alias snowman return_unicode_snowman } # === Roebe.snowman
80
80
 
81
+ # ========================================================================= #
82
+ # === Roebe.return_natürliche_zahl
83
+ #
84
+ # This will be "ℕ".
85
+ # ========================================================================= #
86
+ def self.return_natürliche_zahl
87
+ "\u{2115}"
88
+ end; self.instance_eval { alias natürliche_zahl return_natürliche_zahl } # === Roebe.natürliche_zahl
89
+
81
90
  # ========================================================================= #
82
91
  # === Roebe.black_right_pointing_triangle
83
92
  # ========================================================================= #
@@ -11,7 +11,7 @@ module Roebe
11
11
  # ========================================================================= #
12
12
  # === VERSION
13
13
  # ========================================================================= #
14
- VERSION = '0.5.120'
14
+ VERSION = '0.5.121'
15
15
 
16
16
  # ========================================================================= #
17
17
  # === Roebe.report_version
@@ -29,7 +29,7 @@ module Roebe
29
29
  # too much - it is more a "hint" as to when a last important updated
30
30
  # happened.
31
31
  # ========================================================================= #
32
- LAST_UPDATE = '30.07.2022'
32
+ LAST_UPDATE = '06.08.2022'
33
33
 
34
34
  # ========================================================================= #
35
35
  # === URL_TO_THE_DOCUMENTATION
@@ -5,6 +5,11 @@ body_css_class 'mar0px s2px padt2px VERDANAs'
5
5
  body_css_style 'background-color: #d3d2d1;'
6
6
  font_size 'def'
7
7
 
8
+ # =========================================================================== #
9
+ # === LINK_IMAGE
10
+ # =========================================================================== #
11
+ LINK_IMAGE = dot(105, 'marr8px')
12
+
8
13
  doc('mar0px pad0px s0_5em') {
9
14
  h1 dot(106, 'marr8px')+
10
15
  'Cancer',
@@ -27,11 +32,11 @@ doc('mar0px pad0px s0_5em') {
27
32
  # ========================================================================= #
28
33
  # === Capecitabin
29
34
  # ========================================================================= #
30
- div {
31
- e 'Mediziner berichtet von unerwarteter Nebenwirkung des Zytostatikums
35
+ div(id: 'capecitabin') {
36
+ e 'Mediziner berichtet von unerwarteter Nebenwirkung des Cytostatikums
32
37
  Capecitabin und gibt Reisewarnung aus.'
33
38
  br
34
- e 'Ein krebskranker Mann wurde bei der Einreise in die USA vier Stunden
39
+ e 'Ein <b>krebskranker Mann</b> wurde bei der Einreise in die USA vier Stunden
35
40
  lang festgehalten, weil er keinen Fingerabdruck geben konnte.'
36
41
  br
37
42
  e 'Die Ursache: Das Krebsmedikament Xeloda hatte die Fingerrillen des
@@ -68,8 +73,8 @@ doc('mar0px pad0px s0_5em') {
68
73
  e '- Cancer cells typically have higher densities than normal
69
74
  cells.'
70
75
  br
71
- e 'In mehr als 80% der menschlichen Tumorzellen findet man
72
- aktive Telomerasen.'
76
+ e 'In mehr als <b>80%</b> der menschlichen Tumorzellen findet man
77
+ <b>aktive Telomerasen</b>.'
73
78
  br
74
79
  }
75
80
  # ========================================================================= #
@@ -351,6 +351,10 @@ doc('pad5px s0_5em mar1px mart0px') {
351
351
  blob.'
352
352
  e '- A typical cell contains billions of protein
353
353
  molecules.'
354
+ e '- Mitochondria are the power generators, ribosomes are
355
+ protein factories, lysosomes act as waste-disposal units,
356
+ and the endoplasmic reticulum labels, sorts and
357
+ transports molecules.'
354
358
  }
355
359
  # ========================================================================= #
356
360
  # === Salmonella versus Listeria
@@ -1657,12 +1657,14 @@ doc('mar0px pad0px s0_4em') {
1657
1657
  # ========================================================================= #
1658
1658
  datumg '23.05.2022', BG_FOR_DATUM
1659
1659
  p_default {
1660
- e 'Das nationale Impfgremium hat am heutigen Tag posaunt, das derzeit
1661
- keine Empfehlung für vierte Corona-Impfung (für alle ab zwölf Jahren)
1662
- in Österreich geplant sei.'
1660
+ e 'Das <b>nationale Impfgremium</b> in Österreich hat am heutigen Tag
1661
+ posaunt, das <b>derzeit keine Empfehlung für eine vierte Corona-Impfung</b>
1662
+ (für alle ab zwölf Jahren) in Österreich geplant sei.'
1663
1663
  br
1664
1664
  e 'Kommentar hierzu aus dem Forum:'
1665
1665
  br
1666
+ equote 'Den Beitrag muss ich speichern für November.'
1667
+ br
1666
1668
  abr_self 'https://www.derstandard.at/story/2000135960734/generelle-empfehlung-fuer-vierten-stich-derzeit-nicht-in-sicht#posting-1092778982',
1667
1669
  css_class: 'mars2em BOLD'
1668
1670
  }
@@ -1673,7 +1675,7 @@ doc('mar0px pad0px s0_4em') {
1673
1675
  # ========================================================================= #
1674
1676
  datumg '16.06.2022', BG_FOR_DATUM
1675
1677
  p_default {
1676
- e 'Ein Beratergremium der US-Arzneimittelbehörde FDA empfiehlt
1678
+ e 'Ein <b>Beratergremium</b> der US-Arzneimittelbehörde FDA empfiehlt
1677
1679
  eine Covid-Impfung für Babies ab 6 Monaten.'
1678
1680
  br
1679
1681
  e 'Kommentar hierzu aus dem Forum:'
@@ -1682,9 +1684,33 @@ doc('mar0px pad0px s0_4em') {
1682
1684
  css_class: 'mars2em BOLD'
1683
1685
  }
1684
1686
  # ========================================================================= #
1687
+ # === 02.08.2022
1688
+ # ========================================================================= #
1689
+ # https://www.derstandard.at/story/2000137962269/ausnahmen-fuer-kirchen-in-covid-verordnung-laut-vfgh-gleichheitswidrig
1690
+ # ========================================================================= #
1691
+ datumg '16.06.2022', BG_FOR_DATUM
1692
+ p_default {
1693
+ e 'Die Ausnahmen für Kirchen in der Covid-Verordnung waren laut VfGH
1694
+ gleichheitswidrig.'
1695
+ br
1696
+ e 'VfGH stellt fest das die Liste an Grundbedürfnisse auch die
1697
+ Dauer einer Beschränkung berücksichtigen muss - so fallen dann
1698
+ Friseure in diese Liste an Grundbedürfnisse, wenn die
1699
+ Ausgangsbeschränkung wochen- oder gar monatelang dauert.'
1700
+ br
1701
+ e 'Hier gilt dann ebenso die gesetzlich vorgesehenen Ausnahme
1702
+ der Grundbedürfnisse des <b>täglichen Lebens</b>.'
1703
+ br
1704
+ e 'Auch die Ausnahmen für Kirchen und Religionsgemeinschaften
1705
+ waren <b>gleichheitswidrig</b>.'
1706
+ br
1707
+ abr_self 'https://www.derstandard.at/story/2000137962269/ausnahmen-fuer-kirchen-in-covid-verordnung-laut-vfgh-gleichheitswidrig',
1708
+ css_class: 'mars2em BOLD'
1709
+ }
1710
+ # ========================================================================= #
1685
1711
  # === Slogans (slogans tag, slogan tag)
1686
1712
  # ========================================================================= #
1687
- h2 sg(:blume, 'marr8px')+
1713
+ h2 sg(:blume, 'marr8px', 'drag_blume')+
1688
1714
  'Slogans'
1689
1715
  p_default {
1690
1716
  e '„Dies ist die Regierung der verirrten Seelen.“','italic'
@@ -1709,7 +1735,7 @@ doc('mar0px pad0px s0_4em') {
1709
1735
  was er will, sondern darin, dass er nicht tun muss, was er nicht
1710
1736
  will.“','italic'
1711
1737
  br
1712
- e '– Jean-Jacques Rousseau'
1738
+ e '– Jean-Jacques Rousseau', 'BOLD mars5em'
1713
1739
  }
1714
1740
  # ========================================================================= #
1715
1741
  # === Einspruch gegen die Zwangsvakzinierung
@@ -1,6 +1,15 @@
1
1
  english('Developmental Biology') {
2
+ autoextend
2
3
  ruby_favicon
3
- css_template1
4
+
5
+ template1 '
6
+
7
+ p.default {
8
+ padding-left: 0.8em;
9
+ padding-right: 0.8em;
10
+ }
11
+
12
+ '
4
13
  body_css_class 'mar0px s2px padt2px VERDANAs'
5
14
  body_css_style 'background-color: #d3d2d1;'
6
15
  font_size 'def'
@@ -25,7 +34,8 @@ doc('mar0px pad0px s0_8em') {
25
34
  embed_remote_image 'https://i.imgur.com/BdjUFYQ.jpg',
26
35
  css_class: 'bblack2 mars2em',
27
36
  id: 'drag_klonschaf_dolly'; drag_for :drag_klonschaf_dolly
28
- e 'Im Jahre 1997 wurde das Schaf Dolly geklont.'
37
+ br
38
+ e 'Im Jahre <b>1997</b> wurde das Schaf Dolly geklont.'
29
39
  br
30
40
  e 'Das Ei wurde hierbei von einem <b>scottisch blackface</b> Schaf
31
41
  geliefert. Der Nucleus hingegen stammte von einem <b>Finn-Dorset</b>
@@ -50,8 +60,10 @@ doc('mar0px pad0px s0_8em') {
50
60
  e '- The mRNAs stored in an unfertilized egg are templates
51
61
  for proteins synthesized during early stages of development.'
52
62
  br
53
- e '- Hox proteins orchestrate the establishment of the
54
- correct body plan.'
63
+ e '- Hox proteins orchestrate the establishment of the correct
64
+ body plan. Interestingly the chromosomal order of homeobox
65
+ genes exactly reflects their temporal expression patterns
66
+ during embryonic development.'
55
67
  br
56
68
  e '- Polycomb group proteins (Pc-G) perpetuate a state
57
69
  of repression through cell division.'
@@ -1,12 +1,21 @@
1
1
  english('Genomics') {
2
2
  autoextend
3
3
  ruby_favicon
4
- css_template1
4
+ template1 '
5
+
6
+ p.default {
7
+ margin-left: 1em;
8
+ padding: 12px;
9
+ }
10
+
11
+ '
5
12
  body_css_class 'mar0px s2px padt2px VERDANAs'
6
13
  body_css_style 'background-color: #d3d2d1;'
7
14
  font_size 'def'
8
15
 
9
16
  doc('mar0px pad0px s0_5em') {
17
+ dimg 'science/biology/nucleotides/GENOMICS_LOGO.jpg',
18
+ 'center bblack1 FLR mar5px'
10
19
  h1 dot(106, 'marr8px')+
11
20
  'Genomics',
12
21
  'mart1px marb0_5em'
@@ -15,8 +24,9 @@ doc('mar0px pad0px s0_5em') {
15
24
  # ========================================================================= #
16
25
  h3 dot107?+
17
26
  'Slogans'
18
- p {
19
- e 'Repetitive DNA sequences constitute 30% of the human genome.'
27
+ p_default {
28
+ e 'Repetitive DNA sequences constitute about
29
+ <b>30% of the human genome</b>.'
20
30
  br
21
31
  e 'One goal of sequencing the human genome is to identify genes
22
32
  that play a role in disease.'
@@ -45,5 +55,19 @@ doc('mar0px pad0px s0_5em') {
45
55
  e 'The genes coding for histones and for interferon appear to
46
56
  contain no introns.'
47
57
  br
58
+ e 'Most human repetitive sequences appear to have arisen as
59
+ the result of the generation and movement of transpoable
60
+ genetic elements.'
61
+ br
62
+ e 'The sequencing efforts in 1998 led to publicly funded
63
+ sequencing efforts, in order to avoid Celera trying to
64
+ establish a monopoly on human genetic information.'
65
+ br
66
+ e 'The human genetic script - that is, its genome - is
67
+ <b>the most important book ever to be read</b>.'
68
+ }
69
+ p_default {
70
+ abr_self :local_genetics
71
+ abr_self :local_cellbiology
48
72
  }
49
73
  }}
@@ -1,7 +1,7 @@
1
1
  german('Computersysteme') {
2
2
  autoextend
3
3
  ruby_favicon
4
- css_style '
4
+ template1 '
5
5
 
6
6
  a {
7
7
  text-decoration: none;
@@ -11,7 +11,7 @@ a {
11
11
  display: inline-block;
12
12
  }
13
13
 
14
- '+TEMPLATE1
14
+ '
15
15
  body_css_class 'mar0px s2px padt2px VERDANAs'
16
16
  body_css_style 'background-color: #d3d2d1;'
17
17
  font_size 'def'
@@ -204,6 +204,18 @@ doc('mar0px pad0px s0_7em') {
204
204
  werden.'
205
205
  }
206
206
  # ========================================================================= #
207
+ # === Gehäuse
208
+ # ========================================================================= #
209
+ h2 'Gehäuse'
210
+ p {
211
+ e 'Eine wichtige Eigenschaft eines Gehäuse ist es die einzelnen
212
+ Komponenten vor mechanischen Beschädigungen durch Stöße, Stürze
213
+ und Erschütterungen zu bewahren.'
214
+ br
215
+ e 'In einem größeren Gehäuse ist es einfacher Hardware ein- und
216
+ auszubauen.'
217
+ }
218
+ # ========================================================================= #
207
219
  # === Formfaktoren
208
220
  # ========================================================================= #
209
221
  # http://localhost/programming/ruby/src/roebe/lib/roebe/www/hardware/computersysteme.cgi#formfaktors
@@ -282,8 +294,8 @@ doc('mar0px pad0px s0_7em') {
282
294
  br
283
295
  e '<b>Socket A</b> ist <b>kompatibel</b> mit AMD Prozessoren.'
284
296
  br
285
- e 'Intel Sockel 1151 verwendet einen andere Stromversorgung
286
- als <b>Sockel 1150</b>.'
297
+ e 'Intel Sockel 1151 verwendet eine andere Stromversorgung als
298
+ <b>Sockel 1150</b>.'
287
299
  br
288
300
  e 'Intel der 10ten und 11ten Generation passen in die
289
301
  <b>LGA 1200 sockets</b>.'
@@ -292,12 +304,12 @@ doc('mar0px pad0px s0_7em') {
292
304
  # === Welche Komponenten ich im Jahre 2021 benötigen werde
293
305
  # ========================================================================= #
294
306
  h2 'Welche Komponenten ich im Jahre 2021 benötigen werde:'
295
- div('s1em mar5px mart1em','','border: 2px dotted steelblue') {
296
- table2('','','border-spacing: 15px; border-collapse: separate;',
307
+ div('pad0_5em s1em mar5px mart1em','','border: 3px dotted steelblue') {
308
+ table2('','','border-spacing: 25px; border-collapse: separate;',
297
309
  'Prozessor (CPU) Intel - Celeron G5900 Prozessor','Preis: <b>51.76 Euro</b>',
298
- 'Arbeitsspeicher (8GB RAM)','Preis: <b>36.25 Euro</b>',
299
310
  'Motherboard','Preis: <b>80.9 Euro</b>',
300
- 'Graphikkarte','Preis: <b>90.0 Euro</b>',
311
+ 'Arbeitsspeicher (8GB RAM)','Preis: <b>36.25 Euro</b>',
312
+ 'Graphikkarte ASUS GeForce GT 710 Silent 1GB GDDR5','Preis: <b>90.0 Euro</b>',
301
313
  'Festplatte','Preis: <b>54.9 Euro</b>',
302
314
  'Gehäuse','Preis: <b>50.24 Euro</b>'
303
315
  )
@@ -310,19 +322,19 @@ doc('mar0px pad0px s0_7em') {
310
322
  # === Welche Komponenten ich im Jahre 2022 benötigen werde
311
323
  # ========================================================================= #
312
324
  h2 'Welche Komponenten ich im Jahre 2022 benötigen werde:'
313
- div('s1em mar5px mart1em','','border: 2px dotted steelblue') {
314
- table2('','','border-spacing: 15px; border-collapse: separate;',
325
+ div('pad0_5em s1em mar5px mart1em','','border: 3px dotted steelblue') {
326
+ table2('','','border-spacing: 25px; border-collapse: separate;',
315
327
  'Prozessor (CPU) AMD Ryzen 5 5500, 6C/12T, 3.60-4.20GHz, boxed','Preis: <b>122.42 Euro</b>',
316
- 'Arbeitsspeicher (xGB RAM)','Preis: <b>xx.xx Euro</b>',
317
328
  'Motherboard','Preis: <b>xx.x Euro</b>',
329
+ 'Arbeitsspeicher (32GB RAM)','Preis: <b>88.88 Euro</b>',
318
330
  'Graphikkarte','Preis: <b>xx.x Euro</b>',
319
331
  'Festplatte','Preis: <b>xx.x Euro</b>',
320
332
  'Gehäuse','Preis: <b>xx.xx Euro</b>'
321
333
  )
322
334
  br
323
335
  e '<b>Summe</b>:
324
- 36.25+80.9+55.24+90+54.9+50.24 = <b>
325
- '+(36.25+80.9+55.24+90+54.9+50.24).to_s+' Euro</b>' # Since 367.53 Euro an Kosten.
336
+ 122.42+88.88 = <b>
337
+ '+(122.42+88.88).to_s+' Euro</b>' # Summe: 367.53 Euro an Kosten.
326
338
  }
327
339
  # ========================================================================= #
328
340
  # === Links
@@ -11,9 +11,8 @@ font_size 'def'
11
11
  Cyberweb.cmd1 = 'marl1em'
12
12
 
13
13
  doc('pad2px s0_5em mart1px') {
14
- h2 'Libreoffice','mart1px'
15
- frage 'Wie füge ich Seitennummern hinzu?'
16
- brcmd ' View→Header and Footer'
14
+ h2 'Libreoffice',
15
+ 'mart1px'
17
16
  frage 'Wie verwende ich <b>intralinks</b>?'
18
17
  brcmd '(<b>1</b>) Zuerst ein Bookmark setzen mittels
19
18
  <b>Insert→Bookmarks</b>'
@@ -37,8 +36,26 @@ doc('pad2px s0_5em mart1px') {
37
36
  # === Macros
38
37
  # ========================================================================= #
39
38
  h3 'Macros'
40
- frage 'Wie lassen wir ein macro laufen?'
41
- brcmd 'Mittels der <b>F5</b> Taste.'
39
+ p_default {
40
+ frage 'Wie lassen wir ein macro laufen?'
41
+ brcmd 'Mittels der <b>F5</b> Taste.'
42
+ }
43
+ # ========================================================================= #
44
+ # === Seitennummern in LibreOffice
45
+ # ========================================================================= #
46
+ h3 'Seitennummern in LibreOffice'
47
+ p_default {
48
+ frage 'Wie füge ich Seitennummern hinzu?'
49
+ brcmd ' View→Header and Footer'
50
+ }
51
+ # ========================================================================= #
52
+ # === Einfügen von Page Number und Page Count
53
+ # ========================================================================= #
54
+ h3 'Einfügen von Page Number und Page Count'
55
+ p_default {
56
+ e 'Dies bewerkstelligt man über Insert→Field, und dann
57
+ Page Number sowie Page Count.'
58
+ }
42
59
  # ========================================================================= #
43
60
  # === Verändern des Browsers für LibreOffice Writer
44
61
  # ========================================================================= #
@@ -319,7 +319,7 @@ $HTTP["host"] =~ "localhost" {
319
319
  "^audio$" => "/home/x/programming/ruby/src/multimedia_paradise/lib/multimedia_paradise/www/audio/audio.cgi",
320
320
  "^admin$" => "/home/x/data/personal/admin/admin.cgi",
321
321
  "^analytische_chemie$" => "/home/x//studium/TU_WIEN/ANALYTISCHE_CHEMIE/ANALYTISCHE_CHEMIE.cgi",
322
- "^bioinformatik$" => "https://ufind.univie.ac.at/de/course.html?lv=301080&semester=2018S",
322
+ "^bioinformatik$" => "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=328529",
323
323
  "^bioinf$" => "bioinf",
324
324
  "^colours$" => "data/PC/STD/STD_COLOURS.cgi",
325
325
  "^cols$" => "data/PC/STD/STD_COLOURS.cgi",
@@ -5,7 +5,7 @@ $HTTP["host"] =~ "localhost" {
5
5
  "^audio$" => "/home/x/programming/ruby/src/multimedia_paradise/lib/multimedia_paradise/www/audio/audio.cgi",
6
6
  "^admin$" => "/home/x/data/personal/admin/admin.cgi",
7
7
  "^analytische_chemie$" => "/home/x//studium/TU_WIEN/ANALYTISCHE_CHEMIE/ANALYTISCHE_CHEMIE.cgi",
8
- "^bioinformatik$" => "https://ufind.univie.ac.at/de/course.html?lv=301080&semester=2018S",
8
+ "^bioinformatik$" => "https://campus.meduniwien.ac.at/med.campus/wbLv.wbShowLVDetail?pStpSpNr=328529",
9
9
  "^bioinf$" => "bioinf",
10
10
  "^colours$" => "data/PC/STD/STD_COLOURS.cgi",
11
11
  "^cols$" => "data/PC/STD/STD_COLOURS.cgi",
@@ -170,7 +170,7 @@ div('bblack3 wid85 Z6 rounded_corners10','main2'){
170
170
  'LINKS/EXTROPIA_LOGO.png',
171
171
  'Extropia Tutorials')
172
172
  # ======================================================================= #
173
- # NAMIYUKI'S SEITE - removed here in February 2016.
173
+ # === NAMIYUKI'S SEITE - removed here in February 2016.
174
174
  # ======================================================================= #
175
175
  # create_link_to('
176
176
  # http://members.chello.at/playground/