Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html>
<head>
<title>FindThePrecious/Join the army</title>
<meta charset="utf-8">
</head>
<body>
<header>
<h1>FindThePrecious.com</h1>
<nav>
@kuronana
kuronana / Ring
Last active August 23, 2018 13:09
<!DOCTYPE html>
<html lang="en">
<head>
<title>FindThePrecious.com/title>
<meta charset="utf-8">
</head>
<body>
<header>
<h1>FindThePrecious.com</h1>
<nav>
@kuronana
kuronana / css findtheprecious
Last active August 26, 2018 23:28
findtheprecious css+html
html {
background-color: grey;
font-family: cursive;
}
a {
text-decoration: none;
color: white;
}
/*!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! section head !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!*/
header {
.carrenoir {
background-color: black;
}
.noir {
background-color: black;
padding:4%;
border: 1px solid white;
}
.orange {
background-color: orange;
padding:4%;
border: 1px solid white;
}
1 cd /Telechargement
2 ls
3 cd Téléchargements/
4 ls
5 cd clmystery-master/
6 ls
7 cd mystery/
8 ls
9 ls -l
10 cat crimescene
<?php
$titleOfMovie = "Indiana Jones and the Last Crusade";
$score = 8.3;
$releaseDate = "1989";
$release = true;
echo "$titleOfMovie";
echo "<br/>";
echo "$score";
echo "<br/>";
echo "$releaseDate";
@kuronana
kuronana / php quete 2
Last active September 11, 2018 16:22
<?php
$msg = 'aopi?sgnirts@#?sedhtg+p9l!';
$nbTotal = mb_strlen($msg);
$chCles = $nbTotal / 2;
$rest = substr($msg, 5, $chCles);
$modif = str_replace('@#?', ' ', $rest);
/*
message 1 : aopi?sgnirts@#?sedhtg+p9l!
message 2 : q8e?wsellecif@#?sel@#?setuotpazdsy0*b9+mw@x1vj
<?php
$tab1 = [
'Indiana Jones and the Kingdom of the Crystal Skull' => ['Harrison Ford', 'Cate Blanchett', 'Karen Allen' ],
'Indiana Jones and the Last Crusade' => ['Harrison Ford', 'Sean Connery', 'Denholm Elliott' ],
'Indiana Jones and the Temple of Doom' => [' Harrison Ford', 'Kate Capshaw', 'Jonathan Ke Quan' ]
];
foreach ($tab1 as $film => $acteur) {
echo 'Dans le film '.$film.', les principaux acteurs sont : '.$acteur[0].', '.$acteur[1].', '.$acteur[2].'.<br/>';
}
<?php
$weapons = ['fists', 'whip', 'gun'];
$oppenentWeapon = $weapons[rand(0,2)];
$indyWeapon = '???';
switch ($oppenentWeapon) {
case 'fists':
$indyWeapon = $weapons[2];
break;
case 'whip':