According to : https://serversforhackers.com/video/apache-and-php-fpm
sudo apt-get update
sudo apt-get install -y vim tmux curl wget unzip software-properties-common
sudo add-apt-repository -y ppa:ondrej/apache2
| /** | |
| * Extended version of THREE.ShadowMapPluginVSM using VSM shadow mapping. | |
| * @author Dusan Maliarik | |
| */ | |
| THREE.ShadowMapPluginVSM = function ( ) { | |
| var _gl, | |
| _renderer, | |
| _depthMaterial, _depthMaterialMorph, _depthMaterialSkin, _depthMaterialMorphSkin, |
According to : https://serversforhackers.com/video/apache-and-php-fpm
sudo apt-get update
sudo apt-get install -y vim tmux curl wget unzip software-properties-common
sudo add-apt-repository -y ppa:ondrej/apache2
| /** | |
| * Perform a JSON Http Request via XMLHttpRequest | |
| * @param method | |
| * @param url | |
| * @param data | |
| * @param callback | |
| * @returns {XMLHttpRequest} | |
| */ | |
| var jhr = function ( method, url, data, callback ) { | |
| var xhr = new XMLHttpRequest(); |
| #!/bin/bash | |
| sudo rm /etc/alternatives/php | |
| sudo ln -s /usr/bin/php$1 /etc/alternatives/php | |
| php --version |
| #!/bin/bash | |
| ARGS=$* | |
| function checkSf { | |
| if [ -f $1 ]; | |
| then | |
| php $1 $ARGS | |
| fi | |
| } |
| alias comp="php -n $(which composer)" |
| function _update_project { | |
| if [ -z "$1" ] || [ -z "$2" ]; then | |
| echo 'You have to call this method with 2 parameters, the git tag/branch name and the environment (prod, dev, ...)' | |
| return | |
| fi | |
| git fetch -a | |
| git checkout $1 | |
| git pull | |
| composer install |
| #!/bin/sh | |
| exec < /dev/tty | |
| while true; do | |
| read -p "Is the documentation, coding-standard and tests okay? (Y/n) " yn | |
| if [ "$yn" = "" ]; then | |
| yn='Y' | |
| fi | |
| case $yn in |
| #!/bin/sh | |
| exec < /dev/tty | |
| make requirements-status | |
| make code-analysis | |
| make coding-standard | |
| make deprecation-detection | |
| docker-compose exec php make unit-test | |
| docker-compose exec php make behavior-test |
| { | |
| "checkout": { | |
| "summary": { | |
| "information": "Détail d'inscription", | |
| "payment-method": "Mode de paiement", | |
| "payment-methods": { | |
| "online": "Paiement en ligne" | |
| }, | |
| "cart": { | |
| "title": "Participant(s) et prix", |