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
| DOCKER_BASE?=docker-compose -f docker-compose.yml -f docker-compose.local.yml | |
| DOCKER_RUST_RUN?=$(DOCKER_BASE) run --rm rust | |
| ### DOCKER | |
| dbuild: | |
| $(DOCKER_BASE) build | |
| dclean: | |
| $(DOCKER_RUST_RUN) cargo clean |
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 library/php:8.1-fpm AS base | |
| ENV TZ="Europe/Berlin" \ | |
| USER="worker" \ | |
| GROUP="worker" \ | |
| WORKDIR="/var/www/html" \ | |
| HOMEDIR="/var/www/.worker" \ | |
| DEV_LIBS="pkg-config libssl-dev libxslt1-dev libpq-dev libmemcached-dev libedit-dev \ | |
| libicu-dev libxml2-dev libldap2-dev libpng-dev libcurl4-openssl-dev \ | |
| libldb-dev libbz2-dev libmagickwand-dev libzip-dev libopenblas-dev \ |
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
| let divDateMap = new Map; | |
| let divIterator = document.evaluate("/html/body/div/div/div/div[2]/div[2]/div", document); | |
| let messageNode = divIterator.iterateNext(); | |
| while (messageNode) { | |
| let dateNodeIterator = document.evaluate("div[3]", messageNode); | |
| let dateNode = dateNodeIterator.iterateNext(); |
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/sh | |
| SESSION_NAME="project-session" | |
| if ! tmux has-session -t $SESSION_NAME 2>/dev/null; then | |
| tmux new-session -d -A -s $SESSION_NAME | |
| tmux split-window -h | |
| tmux send-keys "docker-compose up" C-m | |
| tmux select-pane -t 0 | |
| tmux split-window -v |
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/sh | |
| touch .xinitrc | |
| touch .Xmodmap | |
| echo "keycode 134 = Menu" > .Xmodmap | |
| echo "xmodmap ~/.Xmodmap" > .xinitrc | |
| #SCAN KEYBOARD INPUT IN CONSOLE | |
| sudo showkey |
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 app/php:8.0 | |
| USER root | |
| RUN rm -f /etc/crontabs/root &&\ | |
| touch /etc/crontabs/root &&\ | |
| chown -R www-data:www-data /var/www &&\ | |
| chmod -R 0774 /var/www | |
| CMD ["sh", "-c", "/usr/bin/crontab -u www-data /var/www/crontab && /usr/sbin/crond -f -L /proc/self/fd/1"] |
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
| version: "3" | |
| volumes: | |
| composer: | |
| services: | |
| php: | |
| image: ah/php:1.0.0 | |
| build: | |
| context: . | |
| dockerfile: .docker/dev/php.dockerfile | |
| restart: always |
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.4-fpm-alpine | |
| ########################################################### | |
| #PRODUCTION ENVIRONMENT | |
| ########################################################### | |
| ENV PHP_FPM_USER="www-data" PHP_FPM_GROUP="www-data" | |
| #TIMEZONE | |
| RUN apk add --no-cache --virtual .deps tzdata &&\ |
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
| version: "3" | |
| volumes: | |
| composer: | |
| services: | |
| php: | |
| image: php/php:7.4 | |
| build: | |
| context: . | |
| dockerfile: ./php.dockerfile | |
| volumes: |
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
| server { | |
| listen 80; | |
| server_name 127.0.0.1; | |
| root /var/www/public; | |
| index index.php; | |
| client_max_body_size 10M; | |
| access_log /proc/self/fd/1 combined; | |
| error_log /proc/self/fd/2 warn; | |
| #add_header X-UA-Compatible "IE=edge"; |
NewerOlder