Skip to content

Instantly share code, notes, and snippets.

@Peregg
Peregg / findThePrecious.com
Last active February 15, 2018 11:54
findThePrecious
<!DOCTYPE html>
<html lang="zxx">
<head>
<meta charset="utf-8" />
<title>FindThePrecious.com</title>
</head>
@Peregg
Peregg / gandalf.css
Last active February 21, 2018 18:41
WCS integration
.fellowId {
width: 200px;
height: 240px;
background-image: url('http://images.innoveduc.fr/integration_gandalf.png');
background-size: 200px 240px;
opacity: 0.8;
display: flex;
font-family : sans-serif;
@Peregg
Peregg / Bootstrap.css
Last active February 25, 2018 15:39
Bootstrap quest
.free-row > [class*='col-']
{
padding-right:0;
padding-left:0;
margin-left:0;
margin-right:0;
border: 0.1vh solid white;
}
@Peregg
Peregg / MON_ALGO
Last active March 4, 2018 11:03
Odyssey Quest
Début MON_ALGO
Variables
ÂgeUtilisateur
AnnéeDeNaissance
Afficher ("Tapez vôtre âge:")
ÂgeUtilisateur <- LireEntier ()
AnnéeDeNaissance <- (2018 - ÂgeUtilisateur)
Afficher ("Vôtre année de naissance est :")
Afficher (AnnéeDeNaissance)
/journal/g
/Journal/g
/Journal/gi
/la/gi
/la/g
/la/
/cher/gi
/^cher/gi
/!/g
/!$/g
var nbPatates = "";
if (confirm("Est-ce que tu aimes les potates mon gars ?!"))
{
for (var i=0; i<7; i++)
{
@Peregg
Peregg / ageFinder.js
Last active March 11, 2018 20:04
WCS quest NodeJS
process.stdin.resume()
process.stdin.setEncoding('utf8')
console.log('Quel âge avez vous ?');
process.stdin.on('data', (anneeDeNaissance) => {
if (anneeDeNaissance >= 1 && anneeDeNaissance <=99){
console.log('Votre année de naissance est ' + (2018 - anneeDeNaissance))
@Peregg
Peregg / unix_quest
Created March 12, 2018 15:34
unix_quest
#Affiche l'acronyme BASH
echo BASH means Bourne-Again shell !
#Afficher le PATH
source /home/pierrick/.bashrc
# Set up the prompt
autoload -Uz promptinit
@Peregg
Peregg / ES6.html
Created March 12, 2018 16:35
ES quest
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>AppJS</title>
</head>
<script>
let city = 'Bordeaux';
const profile = {
name: 'Alex',
getName () {
return (this.name);
}};