Skip to content

Instantly share code, notes, and snippets.

View dstoyanoff's full-sized avatar
💻

Daniel Stoyanoff dstoyanoff

💻
View GitHub Profile
This file has been truncated, but you can view the full file.
[{"name":"hot-reloader","duration":22,"timestamp":4666200694808,"id":3,"tags":{"version":"14.2.0","isTurbopack":false},"startTime":1719916690042,"traceId":"9856806bbd95b2f4"},{"name":"start","duration":0,"timestamp":4666200695205,"id":4,"parentId":3,"tags":{},"startTime":1719916690042,"traceId":"9856806bbd95b2f4"},{"name":"get-version-info","duration":955144,"timestamp":4666200695273,"id":5,"parentId":4,"tags":{},"startTime":1719916690042,"traceId":"9856806bbd95b2f4"},{"name":"clean","duration":1181,"timestamp":4666201650484,"id":6,"parentId":4,"tags":{},"startTime":1719916690997,"traceId":"9856806bbd95b2f4"},{"name":"get-page-paths","duration":770,"timestamp":4666201653586,"id":8,"parentId":7,"tags":{},"startTime":1719916691000,"traceId":"9856806bbd95b2f4"},{"name":"create-pages-mapping","duration":457,"timestamp":4666201654383,"id":9,"parentId":7,"tags":{},"startTime":1719916691001,"traceId":"9856806bbd95b2f4"},{"name":"create-entrypoints","duration":2228,"timestamp":4666201654859,"id":10,"parentId":7,"tags
@dstoyanoff
dstoyanoff / patch-snapshot.ts
Created October 14, 2021 05:38
Patch indexes for Directus snapshot
#!/usr/bin/env -S npx ts-node
/* eslint-disable no-console */
import * as fs from "fs";
import snapshot from "./snapshot.json";
const updatedFields = snapshot.fields.map(field => {
return {
...field,
schema: field.schema
@dstoyanoff
dstoyanoff / docker-compose.yml
Created August 26, 2020 20:21
Docker proxy - project docker-compose
version: "3.8"
services:
mariadb:
container_name: maria_db
image: "docker.io/bitnami/mariadb:10.3-debian-10"
volumes:
- "mariadb_data:/bitnami/mariadb"
environment:
- MARIADB_USER=dstoyanoff
- MARIADB_DATABASE=ds_wordpress
@dstoyanoff
dstoyanoff / Dockerfile
Created August 26, 2020 20:20
Docker proxy - React Dockerfile
# pull official base image
FROM node:13.12.0-alpine
# set working directory
WORKDIR /app
# add `/app/node_modules/.bin` to $PATH
ENV PATH /app/node_modules/.bin:$PATH
# install app dependencies
@dstoyanoff
dstoyanoff / docker-compose.yml
Last active August 26, 2020 20:22
Docker proxy - proxy docker-compose
version: "3.8"
services:
nginx-proxy:
container_name: nginx
image: jwilder/nginx-proxy
ports:
- "80:80"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro