Skip to content

Instantly share code, notes, and snippets.

View Nocktiss's full-sized avatar
🏠
Working from home

Grupposo Anthony Nocktiss

🏠
Working from home
  • Wild Code School
  • Paris
View GitHub Profile
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title> FindThePrecious </title>
</head>
<body>
<header>
@Nocktiss
Nocktiss / gandalf.css
Created February 18, 2019 15:40
Gandalf + CSS
.hovering
{
position: absolute;
}
img
{
opacity: 0.6;
}
.col-1
{
border: 1px solid white;
padding-top: 8%;
}
.black
{
background : black;
}
#!/bin/bash
if [ $1 ]
then
echo "Bonjour $1"
else
echo "Bonjour $USER"
fi
Début compteur (reel argent, reel prix)
nombreDeBonbons = 0
si argent > 0 et que prix > 0
tant que prix <= argent
argent = argent - prix
nombreDeBonbons = nombreDeBonbons +1
fin tant que
retourner nombreDeBonbons
1 ls
2 mkdir Testex07
3 testex07
4 Testex07
5 ls
6 gitman
7 touch testex4.c
8 vim testex4.c
9 gcc testex4.c
10 fg
➜ ~ git:(master) ✗ ls
Bureau Images Musique Public Téléchargements
Documents kdbg ProjectWild PycharmProjects Vidéos
examples.desktop Modèles Projet42 snap
➜ ~ git:(master) ✗ ProjectWild
➜ ProjectWild git:(master) ✗ ls
bonjour.sh git-remote Mystery README.md wild.php
➜ ProjectWild git:(master) ✗ cd ..
➜ ~ git:(master) ✗ pwd
/home/nocktis
➜ planets git:(master) ✗ tree
.
├── fictional
│   ├── arrakis.jpeg
│   ├── coruscant.jpeg
│   └── cybertron.jpeg
├── inhabited
│   ├── arrakis.jpeg
│   ├── coruscant.jpeg
│   ├── cybertron.jpeg
@Nocktiss
Nocktiss / poo1.js
Created March 19, 2019 00:03
POO1_Wild
class Person {
constructor(name, age) {
this.name = name;
this.age = age;
}
tellMyName() {
console.log(`I am ${this.name}̀`);
}
tellMyAge() {
@Nocktiss
Nocktiss / app.js
Created March 19, 2019 09:24
Quete_NodeJS
process.stdin.resume()
process.stdin.setEncoding('utf8')
console.log('Quel âge as-tu ?')
process.stdin.on('data', (number, birth) => {
if (number > 0 && number < 99) {
birth = 2018 - number;
console.log('Tu es né(e) en ' + birth);
} else if (number > 99) {