Skip to content

Instantly share code, notes, and snippets.

View MattCrl's full-sized avatar
:octocat:

Matt Control MattCrl

:octocat:
  • Keensaas
  • Orléans, France
View GitHub Profile
1 - Quelle est la société qui développe Symfony ?
SensionLabs
2 - Cite les autres produits développés par cette société ?
Blackfire.io / Twig
3 - Parmi ces outils, lesquels sont des frameworks
Symfony / Laravel
4 - Symfony 4 embarque la librairie Twig
const movieName = "Dikkenek";
const releasedYear = 2006;
const director = "Olivier Van Hoofstadt";
alert(`${movieName}, réalisé par ${director} est sorti en ${releasedYear}. Je viens d'me faire carjacker`);
Début calc_bonbon (argent, prix)
nb_bonbon = 0
prix_actuel = prix
Si argent ou prix <= 0, alors
retourner 0
Sinon
Tant que prix_actuel <= argent
nb_bonbon = nb_bonbon + 1
prix_actuel = prix_actuel + prix
Fin Tant que
process.stdin.resume()
process.stdin.setEncoding('utf8')
console.log('What\'s your age ?')
process.stdin.on('data', (age) => {
if (age <= 99 && age >= 0) {
let year = 2018 - age
console.log('Born in ' + year)
}
if (age > 99) {
matthieu@vostro1:~ $ ls
Bureau Images Musique RubyMine-2018.2.1 rubymine.txt Vidéos
Documents Modèles Public rubymine.sh Téléchargements
matthieu@vostro1:~ $ ls /home
fabien matthieu pgsql
matthieu@vostro1:~ $ ls ..
fabien matthieu pgsql
matthieu@vostro1:~ $ ls Images
421472.350.350.jpg bigfile.jpg imgtest.jpg
matthieu@vostro1:~ $ pwd
const address = {
city: "Orléans",
state: "FR",
zip: 45000
};
const sportList = ['Football', 'BasketBall']
const otherSportList = ['Boxe', 'Judo']
function display({city}, [...sports] = ['Course à pied', 'Vélo']) {
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<title>HTTP Request - JS Quest</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
</head>
<body>
<div class="container">
const user = {
name: 'Alex',
getName: function() {
return (() => this.name)();
}
};
console.log(user.getName());
Variables
nombreSaisi
DEBUT
Demander n
nombreSaisi <- n
Lire nombreSaisi
i <- 1
Pour i de Vi à VnombreSaisi
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>ES6 Partie 1</title>
</head>
<body>
<h1>Ouvrez votre console :)</h1>