This file contains 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 achatBonbons ( argent, prix ) | |
nombreBonbons <- 0 | |
Tant que prix > 0 ET argent-prix >= 0 | |
argent <- argent-prix | |
nombreBonbons <- nombreBonbons + 1 | |
Fin Tant que | |
retourner nombreBonbons | |
Fin achatBonbons |
This file contains 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
Article de veille sur JS: | |
Lien : https://www.freecodecamp.org/news/javascript-array-of-objects-tutorial-how-to-create-update-and-loop-through-objects-using-js-array-methods/ | |
Commentaire : | |
Cet article illustre différentes fonctions basiques en Javascript qui permettent de manipuler un tableau d’objet | |
(ajouter/supprimer/ transformer un objet, obtenir un nouveau tableau d’objets etc) |
This file contains 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
Article de veille sur l'UX: | |
lien : https://www.grafikart.fr/tutoriels/white-space-ui-ux-1222 | |
commentaire : Cet article (+vidéo) présente la notion de “white spaces”. On y trouve les bonnes pratiques | |
à appliquer avec des exemples concrets (ex: padding harmonieux, espace entre les lignes, etc) |
This file contains 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
Article de veille sur CSS: | |
lien : https://css-tricks.com/weaving-a-line-through-text-in-css/ | |
commentaire : | |
L’auteur de cet article explique pas à pas comment elle a reproduit un effet de style sur un titre | |
en améliorant et simplifiant le code (en supprimant les répétitions, utilisant uniquement HTML/CSS) |
This file contains 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
justine@justine-K75VM:~$ ls | |
Bureau Images Pseudo-code python-chap2 Vidéos | |
Documents Modèles Public snap | |
Downloads Musique python-chap1 Téléchargements | |
justine@justine-K75VM:~$ ls -a | |
. .cache Images .profile .ssh | |
.. .config .local Pseudo-code .sudo_as_admin_successful | |
.bash_history Documents Modèles Public Téléchargements | |
.bash_logout Downloads .mozilla python-chap1 .thunderbird | |
.bashrc .fontconfig Musique python-chap2 Vidéos |
This file contains 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
justine@justine-K75VM:~/quetes/shell/planets$ find | |
. | |
./real | |
./real/gas-giants | |
./real/gas-giants/neptune.jpeg | |
./real/gas-giants/saturn.jpeg | |
./real/gas-giants/jupiter.jpeg | |
./real/gas-giants/uranus.jpeg | |
./real/telluric | |
./real/telluric/earth.jpeg |
This file contains 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
justine@justine-K75VM:~/sharezza-social$ git add index.html | |
justine@justine-K75VM:~/sharezza-social$ git commit -m "Add Body title <h2>" | |
[master 62d4065] Add Body title <h2> | |
1 file changed, 1 insertion(+) | |
justine@justine-K75VM:~/sharezza-social$ git push origin master | |
Username for 'https://github.com': justinehell | |
Password for 'https://justinehell@github.com': | |
Énumération des objets: 5, fait. |
This file contains 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
justine@justine-K75VM:~/WCS/quetes/terminal$ ls | |
Biarritz.csv history.txt javascript_biarritz_toulouse.csv php_france_2019.csv Toulouse.csv wilders.csv | |
--> Contenu du fichier "php_france_2019" : | |
justine@justine-K75VM:~/WCS/quetes/terminal$ cat php_france_2019.csv | |
97 | |
--> Contenu du fichier "javascript_biarritz_toulouse.csv" : |
This file contains 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
const movieName = 'Forrest Gump'; | |
const releaseDate = '1994'; | |
const director = 'Robert Zemeckis'; | |
const message = movieName + ', réalisé par ' + director + ', est sorti en ' + releaseDate; | |
alert(message); |
This file contains 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
class Person { | |
constructor(name, age) { | |
this.name = name; | |
this.age = age; | |
} | |
tellMyName() { | |
console.log(`I am ${this.name}`) | |
} | |
tellMyAge() { | |
console.log(`I am ${this.age} old`) |
OlderNewer