This file contains 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
To run a command as administrator (user "root"), use "sudo <command>". | |
See "man sudo_root" for details. | |
orianne@orianne-SVF1521B6E:~$ ls | |
Bureau examples.desktop Musique Téléchargements | |
Documents Images Public Vidéos | |
Downloads Modèles snap | |
orianne@orianne-SVF1521B6E:~$ ls Téléchargements | |
orianne@orianne-SVF1521B6E:~$ pwd | |
/home/orianne |
This file contains 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
<!DOCTYPE html> | |
<html lang="fr"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>FindThePrevious.com</title> | |
</head> | |
<body> | |
<h1>FindThePrevious</h1> |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<title>FindThePrevious.com</title> | |
</head> | |
<body> | |
<header> |
This file contains 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
orianne@orianne-SVF1521B6E:~/quetes$ tree | |
. | |
└── shell | |
├── planets | |
│ ├── fictional | |
│ │ ├── arrakis.jpeg | |
│ │ ├── coruscant.jpeg | |
│ │ └── cybertron.jpeg | |
│ ├── inhabited | |
│ │ ├── arrakis.jpeg |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Find the precious!</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> |
This file contains 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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>Find the precious!</title> | |
<link rel="stylesheet" href="style.css"> | |
</head> | |
<body> |
This file contains 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 | |
$titleMovie = "Indiana Jones and the last crusade"; | |
echo $titleMovie; | |
echo '<br>'; | |
$movieSeen = false; | |
if ($movieSeen == false) { | |
echo "non"; | |
} else { | |
echo "oui"; | |
} ; |
This file contains 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 | |
$message1 = '0@sn9sirppa@#?ia\'jgtvryko1'; | |
$message2 = 'q8e?wsellecif@#?sel@#?setuotpazdsy0*b9+mw@x1vj'; | |
$message3= 'aopi?sgnirts@#?sedhtg+p9l!'; | |
$cle1 = strlen($message1) /2; | |
$cle2 = strlen($message2) /2; | |
$cle3 = strlen($message3) /2; |
This file contains 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 | |
$movie = [ | |
'Indiana Jones and the Kingdom of the Crystal Skull,' => ['Harrison Ford,', 'Karen Allen,', 'Cate Blanchett.'], | |
'Jones and the Temple of Doom,' => ['Harrison Ford,', 'Kate Capshaw,', 'Jonathan Ke Quan.'], | |
'Raiders of the Lost Ark,' => ['Harrison Ford,', 'Paul Freeman,','Karen Allen.'] | |
]; | |
foreach ($movie as $movie2[0] => $actor) { | |
echo 'Dans le film ' . $movie2[0] . ' les principaux acteurs sont ', implode(' ', $actor), "<br>"; |
This file contains 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. | |
echo "The opponent weapon is $opponentWeapon, " ; | |
if ($opponentWeapon == 'fists') { | |
$indyWeapon = 'gun'; | |
} | |
elseif ($opponentWeapon =='gun') { | |
$indyWeapon = 'whip'; |
OlderNewer