Module: Roebe::WWW
- Includes:
- Linux
- Defined in:
- lib/roebe/www/module_www.rb,
lib/roebe/www/std_linux.rb
Overview
Constant Summary
collapse
- INPUT_IMG =
'$IMG/NJOY/AriaGiovanni_03.png'
- INPUT_IMG1 =
INPUT_IMG
- IMG1 =
INPUT_IMG
- INPUT_IMG2 =
'$IMG/NJOY/StringTime.jpg'
- IMG2 =
INPUT_IMG2
- OUTPUT_IMG =
'/Depot/j/Output.png'
- OIMG =
OUTPUT_IMG
- BIG_MAIN_HEADER =
'FI firebrick FL120 marb0px wid92 s0_5em'
- COL_1 =
'background-color:#5682cb;'
- DUNKLERES_BLAU =
COL_1
- CMD =
#
If you have some gobolinux specific stuff, config stuff, then change it at the gobolinux stuff/section, not here.
#
'marl1em BO'
- CMD1 =
CMD
- CMD2 =
'marl2em BO'
- CMD3 =
'marl3em BO'
- CMD_grey =
CMD+' grey'
- COMMON_SUBSECTION_SIZE =
#
COMMON_SUBSECTION_SIZE
#
'FS0_9em marl1em mar3px'
- CFDG_ANSWER =
'martb0px mars1_5em'
- BG_COLOUR =
'background-color: midnightblue;'
- PARAGRAPH_BG_COLOUR =
'background-color:#648ad1;'
- KEYBOARD_COMMANDS =
'mars1em s1em martb6px BG_Gray1 BO bblack1'
- GREY_CMD =
'marl1em BG_Gray1 bblack1'
- GREY_CMD2 =
'marl2em BG_Gray1 bblack1'
Constants included
from Linux
Linux::ANSWER_CLASS, Linux::ANSWER_CLASS2, Linux::IMPORTANT
Instance Method Summary
collapse
Instance Method Details
#convert_css(i) ⇒ Object
56
57
58
|
# File 'lib/roebe/www/std_linux.rb', line 56
def convert_css(i)
e i, CONVERT_CSS
end
|
#head(input) ⇒ Object
20
21
22
|
# File 'lib/roebe/www/std_linux.rb', line 20
def head(input)
h3 dot(205)+input, 'FI'
end
|
#keyboard_cmd(i, use_linebreak = true) ⇒ Object
43
44
45
46
47
48
49
50
51
|
# File 'lib/roebe/www/std_linux.rb', line 43
def keyboard_cmd(
i, use_linebreak = true
)
if use_linebreak
e i, KEYBOARD_COMMANDS
else
s2 i, KEYBOARD_COMMANDS
end
end
|
#show_calvin_cycle(use_this_fancy_variant = :fancy2) ⇒ Object
#
show_calvin_cycle (calvin tag)
#
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
|
# File 'lib/roebe/www/module_www.rb', line 106
def show_calvin_cycle(
use_this_fancy_variant = :fancy2
)
send(use_this_fancy_variant, 'Der Calvin Zyklus')
p_default_le {
e 'The Calvin cycle transforms inorganic carbon in the form of carbon
dioxide (CO₂) into organic carbon in the form of carbohydrates.'
br
e 'Der Calvin-Zyklus synthetisiert <b>Hexosen</b>.'
br
e 'Das zentrale Input-Molekül für den Calvin-Zyklus
ist <b>CO₂</b>.'
br
e 'Die phototrophen <b>Cyanobakterien</b> verwenden den
Calvin-Zyklus.'
br
e 'Die Substrate des Calvin Zyklus sind:'
br; reset_the_counter
counter '3-Phosphoglycerat','mars3em' counter '1,3-Bisphosphoglycerat','mars3em' counter 'Glycerinaldehyd-3-phosphat','mars3em' counter 'Fructose-6-phosphat','mars3em' counter 'Ribulose-5-phosphat','mars3em' counter 'Ribulose-1,5-bisphosphat','mars3em' }
end
|
#show_glycolysis(use_this_fancy_variant = :fancy2) ⇒ Object
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
|
# File 'lib/roebe/www/module_www.rb', line 31
def show_glycolysis(
use_this_fancy_variant = :fancy2
)
send(use_this_fancy_variant, 'Glycolysis')
p_default_le {
e 'The glycolytic pathway has been described in detail since the
1940s. None of the reactions require oxygen - thus, the glycolytic
pathway works under <b>anaerobic conditions</b>.'
br
e 'The following two enzymes form ATP, as part of the glycolysis.'
br
e '<b>Phosphoglycerate kinase</b>:'
br
cmd " 1,3-bisphosphoglycerate + ADP ⇌ glycerate 3-phosphate
+ ATP"
br
e '<b><a href="https://en.wikipedia.org/wiki/Pyruvate_kinase">Pyruvate
kinase</a></b>:'
br
e '<b>Pyruvate kinase</b>:'
br
cmd 'PEP + ADP ⇌ pyruvate + ATP'
br
e 'All glycolytic enzymes are found in the cytosol of a cell; the
intermediate substances are passing to subsequent enzymes via
free diffusion.'
br
e 'Note that all intermediates that are part of the glycolytic
pathway have <b>a high group transfer potential</b>.'
br
e 'Some cells are totally dependent on blood-supplied
glucose - muscle cells, for instance. When the glucose
levels are low, Glucose preferentially is delivered to
the brain, though.'
br
e 'Most eukaryotic cells are able to take up D-Glucose very
quickly and efficiently. L-Glucose on the other hand is not
taken up at all. This thus clearly demonstrates the high
specificity of biological transport systems.'
br
e 'Glycolysis also yields NADH. One enzyme that synthesizes
NADH is <b>GAPDH</b> (<b>Glyceraldehyde-3-phosphate
dehydrogenase</b>).'
}
end
|
#show_glycolysis_enzymes ⇒ Object
#
show_glycolysis_enzymes
#
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
|
# File 'lib/roebe/www/module_www.rb', line 83
def show_glycolysis_enzymes
p_default_le {
e 'The following 10 enzymes are involved in glycolysis:'
br; reset_the_counter
counter 'Hexokinase','mars3em BOLD'
counter 'Glucose-6-phosphat-Isomerase','mars3em BOLD'
counter '<a href="https://en.wikipedia.org/wiki/Phosphofructokinase_1">Phosphofructokinase-1</a>','mars3em BOLD'
counter 'Aldolase','mars3em BOLD'
counter 'Triosephosphat-Isomerase','mars3em BOLD'
counter 'Glycerinaldehyd-3-phosphat-Dehydrogenase (GAPDH)','mars3em BOLD'
counter 'Phosphoglycerat-Kinase','mars3em BOLD'
counter 'Phosphoglycerat-Mutase','mars3em BOLD'
counter 'Enolase','mars3em BOLD'
counter 'Pyruvatkinase','mars3em BOLD'
}
end
|
#show_pentose_phosphate_pathway(use_this_fancy_variant = :fancy2) ⇒ Object
#
show_pentose_phosphate_pathway
#
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
|
# File 'lib/roebe/www/module_www.rb', line 139
def show_pentose_phosphate_pathway(
use_this_fancy_variant = :fancy2
)
send(use_this_fancy_variant, 'Pentose phosphate pathway')
p_default_le {
e 'Bacteria can typically metabolise pentose sugars, which
they obtain from hemicellulose breakdown.'
br
e 'These pentose sugars are passed into glycolysis via the
shunt mechanism known as the <b>Pentose Phosphate Pathway</b>'
br
e 'Why is this pathway necessary?'
br
e 'It is necessary due to the backbone of the nucleic acids.'
br
e 'The pentose phosphate pathway generates <b>NADPH</b> as well
as <b>ribose-5-phosphate</b>. <b>Ribose-5-phosphate</b> is
the key intermediate of this pathway. Note that Ribulose-5-phosphate
is also part of this pathway; it is synthesized right before
Ribose-5-phosphate, so do not mix up these two compounds.'
br
e 'Tissues most heavily involved in <b>fatty acid</b> and
<b>cholesterol biosynthesis</b> are rich in <b>pentose phosphate
pathways</b> enzymes.'
br
e 'Two important enzymes of this cycle are <b>transaldolase</b> and
<b>transketolase</b>.'
br
e 'The pathway is also important in that it generates a <b>variety
of sugars</b>: C₄, C₅, C₆ and C₇, during the non-oxidative phase.'
br
e 'The starting molecule for this pathway is
<b>Glucose 6-Phosphate</b>.'
br
e 'In eukaryotes this pathway occurs in the <b>cytosol</b>.'
br
e 'NADPH is generated during the first phase - the oxidative
phase.'
}
end
|