Hello World!
This file contains 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
java -Xmx175g \ | |
`# return unused heap memory to the OS` \ | |
-XX:MaxHeapFreeRatio=40 \ | |
-jar planetiler.jar \ | |
`# Download the latest planet.osm.pbf from s3://osm-pds bucket` \ | |
--area=planet --bounds=planet --download \ | |
`# Accelerate the download by fetching the 10 1GB chunks at a time in parallel` \ | |
--download-threads=10 --download-chunk-size-mb=1000 \ | |
`# Also download name translations from wikidata` \ | |
--fetch-wikidata \ |
This file contains 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
#------------------------------------------------------------------------------- | |
# Name: combine_mbtiles.py | |
# Purpose: Processes multiple sqlite .mbtiles files into single file (or by level? or by degree grids?) | |
# | |
# Author: joshn. Modified by ache015 | |
# | |
# Created: 18/11/2014 | |
# | |
# Last Modified: 10/11/2018 | |
#------------------------------------------------------------------------------- |
This file contains 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
/** | |
* Add this as plugins/fathom.client.js and | |
* you are good to go - nothing else tod o. | |
*/ | |
import * as fathom from 'fathom-client' | |
export default defineNuxtPlugin(nuxtApp => { | |
fathom.load('YOUR-SITE-ID', { | |
spa: 'history' |
This file contains 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
# Build and tag locally | |
docker build -t user/image:version . | |
# Login to docker hub | |
docker login | |
# Push new build image to hub | |
docker push -t user/image:version |
This file contains 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 -qy --no-install-recommends \ | |
curl \ | |
openssl \ | |
libfreetype6-dev \ | |
libjpeg62-turbo-dev \ | |
libmagickwand-dev \ | |
libmcrypt-dev \ | |
libgmp-dev\ |