This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Rätsel für Anfänger: | |
| $a = false; | |
| $b = true; | |
| $c = $a or $b; | |
| echo $c; | |
| Rätsel für fortgeschrittene: | |
| floor((0.1+0.7)*10); | |
| (Lösung: floor(bcadd(0.1, 0.7, 1) * 10); ) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| foreach (Yii::$app->session->getAllFlashes() as $message):; ?> | |
| <?php | |
| if ($message) { | |
| if (is_array($message)) | |
| echo \kartik\widgets\Growl::widget([ | |
| 'type' => (!empty($message['type'])) ? $message['type'] : 'danger', | |
| 'title' => (!empty($message['title'])) ? $message['title'] : 'Title Not Set!', | |
| 'icon' => (!empty($message['icon'])) ? $message['icon'] : 'fa fa-info', | |
| 'body' => (!empty($message['message'])) ? $message['message'] : 'Message Not Set!', | |
| 'showSeparator' => true, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| class Player | |
| def play_turn(warrior) | |
| if warrior.health < 20 && warrior.feel.empty? | |
| warrior.rest! | |
| elsif warrior.feel.enemy? | |
| warrior.attack! | |
| elsif | |
| warrior.walk! | |
| end | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Indem die Natur die Zahl der Weiber der der Männer nur | |
| knapp gleich machte und dennoch den Weibern eine nur halb | |
| so lange Zeit hindurch die Fähigkeit zur Zeugung und Tauglichkeit | |
| für den Genuß des Mannes verlieh, hat sie das menschliche | |
| Geschlechtsverhältnis schon in der Anlage derangiert. Durch | |
| die gleiche Zahl scheint sie auf Monogamie zu deuten: hingegen | |
| hat ein Mann an einem Weibe nur für die halbe Zeit seiner | |
| Zeugungsfähigkeit Befriedigung; er müsste also eine zweite | |
| nehmen, wenn die erste verblüht ist; aber es ist für jeden | |
| nur eine gerechnet worden. Was dem Weibe' an Dauer der |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Faust | |
| Siehst du den schwarzen Hund durch Saat und | |
| Stoppel streifen? | |
| Wagner | |
| Ich sah ihn lange schon, nicht wichtig schien er mir. | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Margarete | |
| Versprich mir, Heinrich! | |
| Faust | |
| Was ich kann! | |
| Margarete | |
| Nun sag, wie hast du's mit der Religion? |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Faust | |
| Mein schönes Fräulein, darf ich wagen, | |
| Meinen Arm und Geleit Ihr anzutragen? | |
| 2605 | |
| Margarete | |
| Bin weder Fräulein, weder schön, | |
| Kann ungeleitet nach Hause gehn. | |
| (Sie macht sich los und ab.) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Du mußt versteh’n! | |
| Aus Eins mach Zehn, | |
| Und Zwei laß geh’n, | |
| Und Drei mach gleich, | |
| So bist Du reich. | |
| Verlier die Vier! | |
| Aus Fünf und Sechs, | |
| So sagt die Hex’, | |
| Mach Sieben und Acht, | |
| So ist's vollbracht: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public function actionCreate() | |
| { | |
| $model=new Survey; | |
| // Uncomment the following line if AJAX validation is needed | |
| // $this->performAjaxValidation($model); | |
| if(isset($_POST['Survey'])) | |
| { | |
| $model->attributes=$_POST['Survey']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Der Welt Erbe gewänn’ ich zu eigen durch dich! | |
| Erzwäng’ ich nicht Liebe, | |
| doch listig erzwäng ich mir Lust? | |
| Das Licht lösch’ ich euch aus; | |
| entreiße dem Riff das Gold, | |
| schmiede den rächenden Ring: | |
| denn hör es die Flut – | |
| so verfluch’ ich die Liebe! |