I hereby claim:
- I am tomsihap on github.
- I am tomsihap (https://keybase.io/tomsihap) on keybase.
- I have a public key whose fingerprint is 246E 8688 4EFB 3326 3DFD 7B09 A6C9 1412 9B91 A381
To claim this, I am signing this object:
| <script src="steps.js"></script> | |
| <link href="steps.css" rel="stylesheet"> | |
| <div class="container container-flex"> | |
| <ul id="steps" class="list-inline"> | |
| <li class="list-inline-item"> | |
| <label data-role='change' data-step="1" data-complete="1" data-currentstep="1" class="btn btn-sm">1</label> | |
| </li> | |
| <li class="list-inline-item"> |
I hereby claim:
To claim this, I am signing this object:
| # Find the latest version on https://github.com/creationix/nvm#install-script | |
| $ curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.11/install.sh | bash | |
| # Add in your ~/.zshrc the following: | |
| export NVM_DIR=~/.nvm | |
| [ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" | |
| $ source ~/.zshrc |
Attention ! Vérifiez bien que l'adresse que vous récupérez est en https (https://github.com/..., https://bitbucket...) ou en ssh (git@bitbucket.org, git@github.com...).
| <?php | |
| /** | |
| * Exercice : récupérer une liste de 10 nombres dans un string et la convertir en | |
| * un array de 10 éléments. | |
| * Il faudra vérifier que la liste contienne bien 10 éléments, et tous des chiffres. | |
| */ | |
| /** |
| <?php | |
| /** | |
| * Exercices de PHP : | |
| */ | |
| /** | |
| * 1. Déclarer ces deux variables et les débuguer avec var_dump : | |
| * => nombre = 123 | |
| * => texte = "hello world" |
| alias lampstart="sudo service php7.2-fpm start && sudo service apache2 start && sudo service mysql start" | |
| alias lampstop="sudo service php7.2-fpm stop && sudo service apache2 stop && sudo service mysql stop" | |
| alias lamprestart="sudo service php7.2-fpm restart && sudo service apache2 restart && sudo service mysql restart" |
Nous prendrons comme exemple une base de films. A vous d'adapter afin de correspondre à votre cas.
Une fois l'upload de l'image effectué et l'élément enregistré en base de données, l'idée est de :
Une fois votre image "film_38.png" enregistrée, vous allez (1) gérer la fonction de création de miniatures, (2) appeler correctement la nouvelle fonction.
| <!doctype html> | |
| <html lang="fr"> | |
| <head> | |
| <!-- Required meta tags --> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> | |
| <!-- Bootstrap CSS --> | |
| <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.2.1/css/bootstrap.min.css" integrity="sha384-GJzZqFGwb1QTTN6wy59ffF1BuGJpLSa9DkKMp0DgiMDm4iYMj70gZWKYbI706tWS" crossorigin="anonymous"> | |
| <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.6.3/css/all.css" integrity="sha384-UHRtZLI+pbxtHCWp1t77Bi1L4ZtiqrqD80Kn4Z8NTSRyMA2Fd33n5dQ8lWUE00s/" crossorigin="anonymous"> |