This file contains hidden or 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
Début CalculBonbonsMax (réel argent, réel prix) | |
CompteurBonbons <- 0 | |
Si argent>0 et prix>0 | |
Tant que argent >= prix | |
argent <- argent - prix | |
CompteurBonbons = CompteurBonbons + 1 | |
Retourner CompteurBonbons | |
Sinon | |
retourner "Erreur, vos valeurs sont incorrectes" | |
Fin si |
This file contains hidden or 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
https://blog.nathanaelcherrier.com/fr/corriger-problemes-chargement-google-adsence-react/ | |
On va aborder React à un moment de notre Wild parcours. Etcomme chaque langage, ce dernier n'est pas infaillible. | |
React optimise ses modifications du DOM pour ne mettre à jour que les infos nécessaires. | |
Mais cela pose problème dans le cas de Google AdSense. | |
Coup de mou pour la pub... | |
Du coup, on nous explique ici comment corriger ce problème et garder les précieuses publicités de nos futurs clients (ou les nôtres d'ailleurs). | |
https://delicious-insights.com/fr/articles/js-nuggets/ | |
On avait dit 1 lien vers notre language, mais quand on découvre une mine de pépites, c'est sympa de partager non ? | |
delicious-insights nous liste ici 19 astuces, meilleures pratiques, capacités méconnues, démontages d'idées reçues, démystifications… |
This file contains hidden or 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
Last login: Mon May 25 15:47:58 on ttys001 | |
You have new mail. | |
alysonbernabeu@Air-de-Alyson ~ % ls | |
Applications Music | |
Creative Cloud Files Pictures | |
Desktop Public | |
Documents artchoum | |
Downloads category-anniversaires.php | |
Library français.png | |
Mes documents langues.png |
This file contains hidden or 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
➜ shell curl -L -o planets.zip https://github.com/WildCodeSchool/quests-resources/blob/master/terminal/planets.zip\?raw\=true | |
% Total % Received % Xferd Average Speed Time Time Time Current | |
Dload Upload Total Spent Left Speed | |
100 148 100 148 0 0 477 0 --:--:-- --:--:-- --:--:-- 477 | |
100 159 100 159 0 0 305 0 --:--:-- --:--:-- --:--:-- 305 | |
100 293k 100 293k 0 0 261k 0 0:00:01 0:00:01 --:--:-- 536k | |
➜ shell unzip planets.zip | |
Archive: planets.zip |
This file contains hidden or 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') | |
// console.log('What\'s your name ? ') | |
// process.stdin.on('data', (text) => { | |
// console.log('Hello ' + text) | |
// process.exit() | |
// }); | |
This file contains hidden or 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
npm install -g cowsay | |
let cowsay = require("cowsay"); | |
console.log(cowsay.say({ | |
text : "hello boy", | |
})); | |
This file contains hidden or 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
(function () { | |
let dataClinics = [ | |
{ | |
id: 1, | |
clinic: 'The Smiling House', | |
img_clinique:'https://www.lasource.ch/sites/default/files/styles/crop_3_2/public/images/content_types/page/specialites.jpg?itok=1eShRFbt', | |
city: 'Bucarest', | |
country: 'Romania', | |
price:[823,256], |
This file contains hidden or 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 lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<link rel="stylesheet" href="style.css" /> | |
<title>Document</title> | |
</head> | |
<body> | |
<header> |
This file contains hidden or 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
### GET wilders with the API | |
GET https://http-practice.herokuapp.com/wilders | |
### GET wilders on JavaScript with the API | |
GET https://http-practice.herokuapp.com/wilders?language=JavaScript | |
### GET wilders on JavaScript with the API & a big number | |
GET https://http-practice.herokuapp.com/wilders?language=JavaScript&page=100000 |
This file contains hidden or 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
mysql> SELECT * FROM wizard WHERE birthday BETWEEN '1975-01-01' AND '1985-01-01'; | |
+----+-----------+----------+------------+-------------+---------------------------------------+-----------+ | |
| id | firstname | lastname | birthday | birth_place | biography | is_muggle | | |
+----+-----------+----------+------------+-------------+---------------------------------------+-----------+ | |
| 14 | harry | potter | 1980-07-31 | london | | 0 | | |
| 15 | hermione | granger | 1979-09-19 | | Friend of Harry Potter | 0 | | |
| 17 | ron | weasley | 1980-03-01 | | Best friend of Harry | 0 | | |
| 18 | ginny | weasley | 1981-08-11 | | Sister of Ron and girlfriend of Harry | 0 | | |
| 19 | fred | weasley | 1978-04-01 | | | 0 | | |
| 20 | george | weasley | 1978-04-01 | | |
OlderNewer