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 sirajul/php74-fpm:latest | |
RUN pecl install xdebug | |
#RUN docker-php-ext-enable xdebug | |
RUN mkdir -p /home/xdebug | |
COPY ./docker/php/xdebug-debug.ini /home/xdebug/xdebug-debug.ini | |
COPY ./docker/php/xdebug-default.ini /home/xdebug/xdebug-default.ini | |
COPY ./docker/php/xdebug-off.ini /home/xdebug/xdebug-off.ini | |
COPY ./docker/php/xdebug-profile.ini /home/xdebug/xdebug-profile.ini |
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
#!/bin/bash | |
if [ $# != 2 ]; then | |
echo "Usage: googledown.sh ID save_name" | |
exit 0 | |
fi | |
confirm=$(wget --quiet --save-cookies /tmp/cookies.txt --keep-session-cookies --no-check-certificate 'https://docs.google.com/uc?export=download&id='$1 -O- | sed -rn 's/.*confirm=([0-9A-Za-z_]+).*/\1\n/p') | |
echo $confirm | |
wget --load-cookies /tmp/cookies.txt "https://docs.google.com/uc?export=download&confirm=$confirm&id=$1" -O $2 && rm -rf /tmp/cookies.txt |
OlderNewer