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 | |
RUN apt-get update \ | |
&& apt-get install -y --no-install-recommends \ | |
libpng-dev \ | |
libzip-dev \ | |
libicu-dev \ | |
libzip4 \ | |
&& pecl install xdebug \ | |
&& docker-php-ext-install opcache \ |
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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: app | |
name: web | |
namespace: default | |
spec: | |
replicas: 1 | |
selector: |
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
kind: ConfigMap | |
apiVersion: v1 | |
metadata: | |
name: nginx-config | |
data: | |
default.conf: | | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
server_name _; |
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
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: pv-www-claim | |
spec: | |
storageClassName: standard | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: |
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
window.onload = () => { | |
'use strict'; | |
var times = 0; | |
var output = ''; | |
var interval = setInterval(() => { | |
times += 1; | |
if (times === 5) { | |
clearInterval(interval); | |
scrollTo(0, 0); | |
var test = document.querySelectorAll('a[uid]'); |
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
# products/{product}/user/{id} | |
# invoke with npx | |
# sls invoke local -s dev -f put-json-form-with-id -p ~/putFormRequest.json | |
{ | |
"body": { | |
}, | |
"pathParameters": { | |
"id": "1", | |
"product": "" |
OlderNewer