Skip to content

Instantly share code, notes, and snippets.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Findtheprecious</title>
</head>
<body>
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="http://fr.allfont.net/allfont.css?fonts=ringbearer-medium" />
<meta charset="UTF-8" />
<link rel="stylesheet" href="lemagicien.css" />
<title>FindThePrecious.com</title>
</head>
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" type="text/css" href="http://fr.allfont.net/allfont.css?fonts=ringbearer-medium" />
<meta charset="UTF-8" />
<link rel="stylesheet" href="lemagicien.css" />
<title>FindThePrecious.com</title>
</head>
@Jules59
Jules59 / sauron.html
Last active February 25, 2018 12:33
The home of my choupinette Sauron
<!Doctype html>
<html>
<head>
<meta charset="utf-8" >
<title>La tour de ma choupinette Sauron</title>
<link rel="stylesheet" href="css/bootstrap.css">
<link rel="stylesheet" href="css/style.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
@Jules59
Jules59 / mon_historique.log
Created February 27, 2018 17:08
Enquête
1 pwd
2 list
3 cd ls
4 cd -ls
5 ls -l
6 cd clymystery-master
7 cd clmystery-master
8 ls -l
9 cd ..
10 pwd
<!DOCTYPE html>
<html>
<head>
</head>
<body>
<?php
$namemovie = 'Indiana Jones and the Last Crusade';
echo "The name of this famous movie is $namemovie";
@Jules59
Jules59 / monpremier.php
Created March 8, 2018 12:52
challenge Junior Jones
<?php
$message = "0@sn9sirppa@#?ia'jgtvryko1";
$message2 = substr($message, 5, 13);
$message3 = str_replace('@#?', ' ', $message2);
$message4 = strrev($message3);
@Jules59
Jules59 / array.php
Last active March 10, 2018 13:38
array for Indiana Jones
<?php
//first Solution
$movieindy = array("Les Aventuriers de l'Arche Perdu" => 'Harrison Ford , Paul Freeman , Karen Allen' , "Indiana Jones et le Temple Maudit" => 'Harrison Ford , Kate Capshaw , Jonathan Ke Quan' , "Indiana Jones et la Diernières Croisade" => 'Harrison Ford , Sean Connery, Denholm Elliott');
foreach($movieindy as $key => $value) {
echo "Dans $key les acteurs principaux sont: $value. <br>";
}
echo"<br>";
//Or Second Solution
@Jules59
Jules59 / formulaire.php
Last active March 12, 2018 15:59
Les formulaires
<?php
if ($_POST)
{
$errors = array();
//Part Lastname
if(empty($_POST["lastname"])) {
$errors['lastname'] = "lastname is required";
}
@Jules59
Jules59 / conditions.php
Created March 12, 2018 22:05
les conditions
<?php
$weapons = ['fists', 'whip', 'gun'];
$opponentWeapon = $weapons[rand(0,2)];
if ($opponentWeapon === 'gun') {
$indyWeapon = 'whip';
}
elseif ($opponentWeapon === 'whip') {
$indyWeapon = 'fists';