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
| <?php | |
| $nom = ''; | |
| $prenom = ''; | |
| $email = ''; | |
| $phone = ''; | |
| $selected1 = ''; | |
| $selected2 = ''; | |
| $message = ''; | |
| $is_invalid_nom = ''; |
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
| <?php | |
| function writeSecretSentence(string $param1, string $param2) | |
| { | |
| return $param1.' s\'incline face à '.$param2; | |
| } | |
| $animaux = array('vache', 'tortue', 'chien'); | |
| $object = array('mur', 'lune', 'pierre'); |
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
| <?php | |
| $weapons = ['fists', 'whip', 'gun']; | |
| $opponentWeapon = $weapons[rand(0, 2)]; // Cela permet de choisir une arme de manière aléatoire. | |
| // TODO | |
| switch ($opponentWeapon) | |
| { | |
| case 'fists': |
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
| <?php | |
| $tableau = array( | |
| (object) array('title' => 'Indiana Jones et le Royaume du Crâne de Cristal', | |
| 'acteurs' => array('Harrison Ford', 'Cate Blanchett', 'Karen Allen'), | |
| ), | |
| (object) array('title' => 'Indiana Jones et la Dernière Croisade', | |
| 'acteurs' => array('Harrison Ford', 'Sean Connery', 'Denholm Elliott'), | |
| ), | |
| (object) array('title' => 'Indiana Jones et le Temple maudit', |
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
| <?php | |
| $a = array('@', '#', '?'); | |
| $b = array(' ', ' ', ' '); | |
| $message1 = "0@sn9sirppa@#?ia'jgtvryko1"; | |
| $message2 = 'q8e?wsellecif@#?sel@#?setuotpazdsy0*b9+mw@x1vj'; | |
| $message3 = 'aopi?sgnirts@#?sedhtg+p9l!'; | |
| $msg1 = strlen($message1) / 2; |
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
| <?php | |
| $title = 'Indiana Jones et la dernière croisade'; | |
| $vu = true; | |
| $sortie = 1989; | |
| $note = 8.2; | |
| echo $title; | |
| echo '<br>'; | |
| echo $vu; |
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
| #!/bin/bash | |
| if [[ -z $1 ]]; then | |
| echo Bonjour $(whoami) ! | |
| fi | |
| if [[ $1 ]]; then | |
| echo "Bonjour $1 $2 !" | |
| fi |
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
| C:\laragon\www | |
| λ ls | |
| index.php | |
| C:\laragon\www | |
| λ pwd | |
| /c/laragon/www | |
| C:\laragon\www | |
| λ cd |
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
| 1 cd .. | |
| 2 ls | |
| 3 nano hint1 | |
| 4 cd mystery/ | |
| 5 ls | |
| 6 head -n 20 people | |
| 7 grep "CLUE" crimescene | |
| 8 grep "Annabel" people | |
| 9 head -n 173 streets/Mattapan_Street | tail -n 1 | |
| 10 cd interviews/ |
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
| .container-fluid { | |
| padding-top: 5%; | |
| padding-bottom: 5%; | |
| } | |
| .row, | |
| .no-gutters, | |
| .col-1, | |
| .col-2 | |
| .col-3, | |
| .col-4 |