(requires PuTTy on Windows)
pscp -i [your ppk key exported from Putty] [path/to/local/file] [user@ipaddress:/path/to/server/file]
upload files to server via ssh in terminal
the docker cli client lets you manage your images & containers via a wrapper on api:
Get docker comfiguration:
docker system info
Create a docker image tagged w. a name w. docker build:
/// <amd-dependency path="esri/core/tsSupport/declareExtendsHelper" name="__extends" /> | |
/// <amd-dependency path="esri/core/tsSupport/decorateHelper" name="__decorate" /> | |
import { subclass, declared, property } from "esri/core/accessorSupport/decorators"; | |
import Widget from "esri/widgets/Widget"; | |
import { renderable, tsx } from "esri/widgets/support/widget"; | |
tsx; // Reference tsx here, this will be used after compilation to JavaScript | |
const CSS = { | |
base: "esri-hello-world", |
// Helper function to curry 2 arg functions | |
const curry = f => b => a => f(a,b); | |
// oh look, a 2 arg function! | |
function formatDateForLabeling(dateString, format='yyyymmdd') { | |
let d = new Date(0); | |
d.setUTCSeconds(dateString); | |
if(format === 'mmddyyyy') { | |
return new Intl.DateTimeFormat('en-US', {timeZone: 'UTC'}).format(d); | |
} |
#!/bin/sh | |
# | |
# An example hook script to verify what is about to be committed. | |
# Called by "git commit" with no arguments. The hook should | |
# exit with non-zero status after issuing an appropriate message if | |
# it wants to stop the commit. | |
# | |
# To enable this hook, rename this file to "pre-commit". | |
if git rev-parse --verify HEAD >/dev/null 2>&1 |
Set your source to a point layer with millions of points Set the center of the map to where data exists Load the map.
let CustomTileLayer = BaseTileLayer.createSubclass({ | |
properties: { | |
urlTemplate: null, | |
}, | |
getTileUrl: function (level, row, col) { | |
return this.urlTemplate | |
.replace("{z}", level) | |
.replace("{x}", col) | |
.replace("{y}", row); | |
}, |