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
try { | |
const data = pm.response.json(); | |
const token = data.token; | |
pm.environment.set('token', token); | |
} catch (onError) { | |
// Nop. | |
} |
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
<?php | |
function debug($oData, $dBreak = true) { | |
echo '<pre>'; | |
print_r($oData); | |
echo '</pre>'; | |
// break ?. | |
if ($dBreak) { | |
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
<?php | |
function debug($oData, $dBreak = true) { | |
echo '<pre>'; | |
print_r($oData); | |
echo '</pre>'; | |
// break ?. | |
if ($dBreak) { | |
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
FROM php:7.2-apache | |
# --- Default. | |
RUN apt-get update && \ | |
apt-get install -y --no-install-recommends git zip | |
RUN apt-get install -y libpq-dev gnupg | |
RUN docker-php-ext-install sockets | |
# -- Installation des drivers pour sql server. |
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
const daysNames = [ | |
'Dimanche', | |
'Lundi', | |
'Mardi', | |
'Mercredi', | |
'Jeudi', | |
'Vendredi', | |
'Samedi' | |
]; | |
const monthsNames = [ |