Skip to content

Instantly share code, notes, and snippets.

View maylisdoucet's full-sized avatar

Maylis maylisdoucet

View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Find the precious</title>
</head>
<body>
<header>
<h1>Find the precious</h1>
<html>
<head>
<meta charset="utf-8" />
<link rel="stylesheet" href="style.css" />
<title>Gandalf</title>
</meta>
</head>
<body>
.container
{
background-color: white;
}
.col-1
{
width: 10vw;
height: 10vh;
Last login: Tue Feb 27 15:55:43 on ttys000
You have new mail.
MacBook-Pro-de-Maylis:~ maylisdoucet$ echo jeremy
jeremy
MacBook-Pro-de-Maylis:~ maylisdoucet$ history
1 head instructions
2 cat instructions
3 cd mystery
4 grep "CLUE" crimescene
5 grep "Annabel" people
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" >
<!-- Un site typique optimisé pour les mobiles contient cette meta. -->
<meta name="viewport" content="width=device-width, initial-scale=1">
@maylisdoucet
maylisdoucet / variables.txt
Last active March 13, 2018 10:50
pseudocode.txt
Variables
var = age
var = anneenaissance
var = anneeactuelle
Début
Afficher la question "Quel age as tu svp ?"
Lire age
/La/g
/[0-9]{2}\/[0-9]{2}\/[0-9]{1,4}/g
/9\/[0-1]{1,2}/g
/format[a-z]{1,4}/g
/\([\w ]*\)/g
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Patates</title>
</head>
#1 - Instataller zsh sur mac :brew install zsh
#2 - Remplacer les fichiers de configurations
# maylisdoucet$ cd ~ /config
# maylisdoucet$ vim ~/.zshrc
#3 - Aller dans https://explainshell.com/explain?cmd=bash .
# Taper "Bash" dans la barre de recherche.
# Afficher la signification trouver : "GNU Bourne-Again SHell"
@maylisdoucet
maylisdoucet / app.js
Last active March 13, 2018 10:49
app.js
process.stdin.resume()
process.stdin.setEncoding('utf8')
console.log('Quel est ton âge ?')
process.stdin.on('data', function( monAge ) {
if ( ( monAge < 99 ) && ( monAge > 0) ) {
console.log( 'Je suis née en:' + ( 2018 - monAge ) )
} else if ( monAge > 99 ) {