Dockerfile
FROM node:16-alpine AS development
ENV NODE_ENV development
# Add a work directory
WORKDIR /app
# Cache and Install dependencies
COPY package.json .
COPY package-lock.json .
RUN npm install --force
const wait = async (milliseconds) => new Promise( | |
(resolve) => setTimeout(resolve, milliseconds) | |
); | |
wait(2000).then(doSomthing); |
Dockerfile
FROM node:16-alpine AS development
ENV NODE_ENV development
# Add a work directory
WORKDIR /app
# Cache and Install dependencies
COPY package.json .
COPY package-lock.json .
RUN npm install --force
.card { | |
--aspect-ratio: 16/9; | |
padding-top: calc((1 / (var(--aspect-ratio))) * 100%); | |
} | |
@supports (aspect-ratio: 1) { | |
.card { | |
aspect-ratio: var(--aspect-ratio); | |
padding-top: initial; | |
} |
const page = 'edit'; | |
const content = { | |
create: () => console.log('create'), | |
edit: () => console.log('edit'), | |
view: () => console.log('view') | |
}[page]() |
@dd($test->toArray()) |
#!/bin/bash | |
rm -f database/migrations/*.php || echo OK | |
cp database/migrations/m/*.php database/migrations/ | |
php artisan migrate:refresh | |
php artisan db:seed | |
rm -f database/migrations/*.php || echo OK |
I hereby claim:
To claim this, I am signing this object:
.full-width { | |
width: 100vw; | |
position: relative; | |
left: 50%; | |
right: 50%; | |
margin-left: -50vw; | |
margin-right: -50vw; | |
} |
.visually-hidden { | |
position: absolute; | |
overflow: hidden; | |
clip: rect(0 0 0 0); | |
width: 1px; | |
height: 1px; | |
margin: -1px; | |
border: 0; | |
padding: 0; | |
} |
- function pDate() { | |
- return new Date().getTime(); | |
- } | |
doctype html | |
html(lang="ru") | |
head | |
meta(charset="utf-8") | |
title TITLE |