This file contains 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
.image { | |
opacity: 0.7; | |
width: 100%; | |
height: auto; | |
} | |
.bloc { | |
transition: .5s ease; | |
opacity: 0.7; | |
position: absolute; |
This file contains 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> | |
<head> | |
<meta charset="utf-8" > | |
<title>oeil de sauron</title> | |
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap-grid.css"> | |
<link rel="stylesheet" href="style.css"> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
</head> | |
<body> |
This file contains 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
#!/bin/bash | |
echo "Bonjour $1" |
This file contains 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
2047 cat instructions | |
2048 ls | |
2049 cd .. | |
2050 ls | |
2051 cat instructions | |
2052 cd mystery/ | |
2053 ls | |
2054 cat crimescene | |
2055 cat crimescene | grep CLUE | |
2056 grep Annabel people |
This file contains 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
#initialisation des variables | |
Age <=0 | |
année_naissance <= 0 | |
année_cours <= année_actuelle de l’OS | |
Début | |
Demander âge | |
année_naissance = année_actuelle de l’OS - age | |
Retourner année_naissance |
This file contains 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
Trouve l’expression régulière qui cherche la seule occurrence de La : | |
/La/ | |
Trouve l’expression régulière qui cherche la date contenue dans le document. Attention, il ne s’agit pas de juste chercher le texte 04/09/2017, | |
mais de chercher deux chiffres et un slash, suivi de deux chiffres et d’un slash, suivi de quatre chiffres. | |
/[0-9]{2}\/[0-9]{2}\/[0-9]{4}/ | |
Trouve l’expression qui cherche la note contenue dans le texte, sans pour autant sélectionner une partie de la date | |
(tu peux t’aider du caractère espace avant la note). | |
Attention, il ne s’agit pas de juste chercher le texte 9/10, mais de chercher un chiffre et un slash, suivi de deux chiffres. |
This file contains 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
var repuser = prompt("Hey mon ami ! Tu aimes ça les patates ? (Y/N)"); | |
var patate= '#'; | |
if(repuser=='Y'){ | |
for(var i=0; i<7; i++){ | |
console.log(patate) | |
patate += '#'; | |
} | |
}else if(repuser=='N'){ | |
alert("Dommage la tartiflette c'est bon!") | |
} |
This file contains 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
/* | |
Profil utilisateur | |
Imaginez que vous construisez une application pour gérer le profil d'un utilisateur. Un profil peut avoir une 'city' | |
(qui peut changer), 'age' (qui change tous les ans) et 'dateOfBirth' (qui ne change pas). | |
Déclarer trois variables avec ces mêmes noms puis une quatrième variable nommée sentence qui concatène l'ensemble des variables ville, | |
age et date de naissance dans une jolie phrase. | |
Critéres de validation | |
Le code est sur un GIST et en ES6. |
This file contains 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') | |
const now = new Date() | |
let year = now.getFullYear() | |
const onData = (age) => { |
This file contains 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
/* | |
for this quest open your terminal. and write this on the current file : | |
npm init | |
npm install -g cowsay | |
after that create a file .js and put the code below and enjoy | |
*/ | |
const cowSay = require('cowsay') | |
console.log(cowSay.say({text : 'hello boy' })) |
OlderNewer