Skip to content

Instantly share code, notes, and snippets.

View GuillaumeLoup's full-sized avatar

Guillaume GuillaumeLoup

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<link rel="stylesheet" href="style.css" />
<title>Gandalf</title>
</head>
<body>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous">
</head>
1 cat instructions
2 cheatsheet.md
3 nano cheatsheet.md
4 cat: instructions
5 cat: 'instructions'
6 cat instructions
7 find/clmystery-master
8 but
9 cd ~/C:/Users/Utilisateur/Desktop/clmystery-master
10 cd ~/Utilisateur/Desktop/clmystery-master
1 cat instructions
2 cheatsheet.md
3 nano cheatsheet.md
4 cat: instructions
5 cat: 'instructions'
6 cat instructions
7 find/clmystery-master
8 but
9 cd ~/C:/Users/Utilisateur/Desktop/clmystery-master
10 cd ~/Utilisateur/Desktop/clmystery-master
53 ls
54 ls Téléchargements
55 ls Downloads
56 ls Dearches
57 ls Searches
58 pwd
59 cd Desktop
60 pwd
61 cd ..
62 pwd
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">
<link rel="stylesheet" type="text/css" href="style.css">
<title>FindThePrecious.com</title>
</head>
// Define some variables
const movieName = "Les Affranchis";
const releaseYear = 1990;
const directorName = "Martin Scorsese"
const message = movieName + ", réalisé par " + directorName + " est sorti en " + releaseYear;
// Display a popup
alert(message);
class person {
constructor (name, age) {
this.name = name;
this.age = age;
}
tellMyName() {
return `I am ${this.name}`;
}
tellMyAge() {
return `I am ${this.age} years old`
process.stdin.resume()
process.stdin.setEncoding('utf8')
console.log('What\'s your age ? ')
process.stdin.on('data', (number) => {
if (number < 99 && number >= 1){
console.log("votre année de naissance est " + (2019 - number))
process.exit()
} else {
console.log("vous mentez!")
let cowsay = require ('cowsay');
console.log(cowsay.say({
text : "Hello boy",
e : "oO",
T : "U "
}));