Skip to content

Instantly share code, notes, and snippets.

View MkLHX's full-sized avatar
🤓
Focusing

Mickael Lehoux MkLHX

🤓
Focusing
View GitHub Profile
CREATE DATABASE eleves;
Interclassement : Utf-8;
CREATE TABLE eleve
(
id integer NOT NULL AUTO_INCREMENT,
nom varchar(150),
prenom varchar(150),
age integer,
<!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 ?');
<!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>
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')
#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
<?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;
1 echo leNomDuCoupable
2 echo "trop long à gérer cette quete"
3 history > mon_historique.log
@MkLHX
MkLHX / dns_quest
Last active November 9, 2018 10:44
####~~~!!!! 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)
<! 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>
<?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']);