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
CREATE DATABASE eleves; | |
Interclassement : Utf-8; | |
CREATE TABLE eleve | |
( | |
id integer NOT NULL AUTO_INCREMENT, | |
nom varchar(150), | |
prenom varchar(150), | |
age integer, |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Title</title> | |
</head> | |
<body> | |
<script> | |
var ask = confirm('Hey mon ami ! Tu aimes ça les patates ?'); |
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
<!doctype html> | |
<html lang="fr"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" | |
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css"> | |
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> | |
<title>Document</title> |
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
process.stdin.resume() | |
process.stdin.setEncoding('utf8') | |
console.log('How old are you? ') | |
var age = 0; | |
process.stdin.on('data', (age) => { | |
if(!isNaN(age) && age < 99 && age > 0){ | |
bothYear = 2017-age | |
console.log('You\'re both in ' + bothYear) | |
}else { | |
console.log('Please enter number when give you\'re age or check you entered a correct age') |
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 Sensiolabs | |
#2 Blackfire.IO / Twig | |
#3 Symfony / Laravel | |
#4 ~~Faux~~ -> Vrai | |
#5 Faux | |
#6 composer create-project <skeleton-de-ton-choix> <project-name> | |
#7 Faux | |
#8 Parce que c'est la partie visible de l'application | |
#9 Faux (ce n'est plus le cas sous SF4) | |
#10 7.1 |
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 and the Last Crusade"; | |
$date = new \DateTime('1989-05-24'); | |
$rank = 8.3; | |
$baseRank = 10; | |
$styles=['Action','Adventure','Fantasy']; | |
$rated = true, | |
echo $title; | |
echo $date->format('d-F-Y'); | |
echo $rank."/".$baseRank; |
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 echo leNomDuCoupable | |
2 echo "trop long à gérer cette quete" | |
3 history > mon_historique.log |
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
####~~~!!!! ici le lien vers le schéma de la résolution DNS !!!!~~~#### | |
https://drive.google.com/file/d/1_DnnP6BFMai1jIp_BmI79amc1aIRUKEL | |
####~~~!!!! ici le lien vers le schéma de la résolution DNS !!!!~~~#### | |
Tracing DNS delegation for "jeep.com": | |
Loading root server list (static data): | |
-> a.root-servers.net (198.41.0.4) | |
-> b.root-servers.net (192.228.79.201) |
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
<! DOCTYPE html> | |
<html lang=fr> | |
<head> | |
<meta charset="utf-8"/> | |
<title>findThePrecious.com - the mordor army</title> | |
</head> | |
<body> | |
<header> | |
<nav> | |
<a href="/home">findThePrecious.com</a> |
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 | |
$messages = ["0@sn9sirppa@#?ia'jgtvryko1", "q8e?wsellecif@#?sel@#?setuotpazdsy0*b9+mw@x1vj", "aopi?sgnirts@#?sedhtg+p9l!"]; | |
$results = []; | |
foreach ($messages as $key => $message) { | |
$results[$message]['keyNumber'] = strlen($message) / 2; | |
$results[$message]['subString'] = substr($message, 5, $results[$message]['keyNumber']); | |
$results[$message]['replacedString'] = str_replace('@#?', ' ', $results[$message]['subString']); | |
$results[$message]['decodedMessage'] = strrev($results[$message]['replacedString']); |