Skip to content

Instantly share code, notes, and snippets.

View par38's full-sized avatar

par38 par38

View GitHub Profile
@par38
par38 / findThePrecious.html
Last active August 21, 2018 15:21
findThePrecious
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<title>Find the precious</title>
</head>
<body>
<div> <!-- pour aligner toute la page -->
@par38
par38 / Gandalf.css
Last active August 26, 2018 07:36
Gandalf
body {
font-family: Arial, sans-serif;
}
/* tout placé dans "figure*/
figure {
position: relative;
width: 500px;
height: 572px;
@par38
par38 / oeil.css
Last active August 30, 2018 18:21
/* oeil */
.noir {
background-color: black;
border: 0.5px solid white;
padding: 4%;
}
.jaune {
1 pwd
2 ls
3 cd Documents/wild_code_school/wild-projects/wild-project
4 git remote -v
5 git status
6 git push origin master
7 clear
8 cd
9 cd Documents/wild_code_school/quete_unix
10 ls
demander un numéro (créer variable "numéro")
pour un nombre de fois égal au contenu de la variable "numero"
afficher le message "Bienvenue à la wild"
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf-8">
<title>Film</title>
</head>
<body>
<script src="film.js"></script>
</body>
</html>
@par38
par38 / gist:4409013d07a6206b39ae371780b8578f
Last active September 18, 2018 08:08
Algorithmique et pseudo-code
Début algorithme nbMaxBonbons
demander réel argent
demander réel prixUnitaire
créer variable vide nbBonbons
si
argent OR prixUnitaire <= 0
retourner nbBonbons = 0
Fin algorithme nbMaxBonbons
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="utf=8" />
<title>patates</title>
</head>
<body>
<script>
let answer = prompt('Hey mon ami ! Tu aimes ça les patates ?', '1 pour OUI / 2 pour NON');
class Senpai {
public static void main(String[] args) {
System.out.println("Notice me Senpai");
}
}
function hello(name: string) {
console.log("Hello " + name);
}
var firstName: string = "bob";
hello(firstName);
hello(firstName + " marley");
function concat(a: string, b: string) {