Skip to content

Instantly share code, notes, and snippets.

Avatar

Ali LA LA1720

View GitHub Profile
@LA1720
LA1720 / 1.1. Les formulaires en PHP - Récupération BY L.A
Created Oct 15, 2020
1.1. Les formulaires en PHP - Récupération BY L.A
View 1.1. Les formulaires en PHP - Récupération BY L.A
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<form action="thanks.php" method="post">
<div>
@LA1720
LA1720 / Wizarding schools BY ALI(L.A)
Created Oct 11, 2020
Wizarding schools BY ALI(L.A)
View Wizarding schools BY ALI(L.A)
mysql> SHOW DATABASES;
+--------------------+
| Database |
+--------------------+
| information_schema |
| mydata |
| mysql |
| performance_schema |
| sys |
| wild_db_quest |
@LA1720
LA1720 / Récupération des sorciers Ali(L.A)
Created Oct 11, 2020
Récupération des sorciers By Ali(L.A)
View Récupération des sorciers Ali(L.A)
mysql> SHOW TABLES;
+-------------------------+
| Tables_in_wild_db_quest |
+-------------------------+
| school |
| wizard |
+-------------------------+
2 rows in set (0.00 sec)
mysql> SELECT * FROM wizard;
View Poings, fouet, pistolet by L.A
$weapons = ['fists', 'whip', 'gun'];
$opponentWeapon = $weapons[rand(0,2)];
switch($opponentWeapon) {
case 0:
$indyWeapon = ($weapons[2]);
break;
case 1:
$indyWeapon = ($weapons[0]);
break;
View Un message codé pour Indy by Ali
<?php
$message1 = "0@sn9sirppa@#?ia'jgtvryko1";
// var_dump($message1);
$messageKey = strlen($message1)/2;
// var_dump($messageKey);
$firstDecode = substr($message1, 5,$messageKey);
// var_dump($firstDecode);
$replaceDecode = str_replace('@#?',' ',$firstDecode);
// var_dump($replaceDecode);
$finalDecode = strrev($replaceDecode);
View Créer la filmographie d'Indiana by L.A
<?php
$films = ['Indiana Jones 5'=>2022,'Indiana Jhones et la royaume du crâne de cristal'=>2008,'Indiana Jhones et la Temples maudit'=>1984];
// // var_dump($films);
asort($films);
// var_dump($films);
foreach($films as $movieName => $date) {
var_dump($date.'-'.$movieName.' ');
View Créer la filmographie d'Indiana II by L.A
<?php
$films = [
'Indiana Jones et la temple maudit' => ['Harrison Ford','Karen Allen','Pail Freeman'],
"Les aventuriers de l'arche perdue" => ['Harrison Ford','Kate Capshaw','Ke Huy Quan'],
'Indiana Jones et la dernière croisade' => ['Harrison Ford','Sean Connery','Alison Doody']
];
// var_dump($films);
foreach($films as $movie_title => $name_of_the_actor){
View gist:840b3163aaacbb89c127f87a361b4235
wilder@wilder-ThinkPad-T430s:~$ cd
wilder@wilder-ThinkPad-T430s:~$ ls
Bureau Images Musique planets.zip style
Documents LA mv Public Téléchargements
examples.desktop L.A OK quests Vidéos
helloui Modèles planets real2
wilder@wilder-ThinkPad-T430s:~$ mkdir -p planets/real planets/fictional planets/inhabited
wilder@wilder-ThinkPad-T430s:~$ ls
Bureau Images Musique planets.zip style
Documents LA mv Public Téléchargements
View gist:f7499c75d45dd39d64d1456e88df07ba
wilder@wilder-ThinkPad-T430s:~$ pwd
/home/wilder
wilder@wilder-ThinkPad-T430s:~$ cd ..
wilder@wilder-ThinkPad-T430s:/home$ pwd
/home
wilder@wilder-ThinkPad-T430s:/home$ cd ..
wilder@wilder-ThinkPad-T430s:/$ pwd
/
You can’t perform that action at this time.