Skip to content

Instantly share code, notes, and snippets.

View fwartner's full-sized avatar
😻
Doing cool stuff

Florian Wartner fwartner

😻
Doing cool stuff
View GitHub Profile
// Licence: Robert Koch-Institut (RKI), dl-de/by-2-0
const apiUrl = (location) => `https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/RKI_Landkreisdaten/FeatureServer/0/query?where=1%3D1&outFields=GEN,cases7_per_100k&geometry=${location.longitude.toFixed(3)}%2C${location.latitude.toFixed(3)}&geometryType=esriGeometryPoint&inSR=4326&spatialRel=esriSpatialRelWithin&returnGeometry=false&outSR=4326&f=json`
const apiUrlStates = 'https://services7.arcgis.com/mOBPykOjAyBO2ZKk/arcgis/rest/services/Coronaf%E4lle_in_den_Bundesl%E4ndern/FeatureServer/0/query?where=1%3D1&outFields=cases7_bl_per_100k&returnGeometry=false&outSR=4326&f=json'
const widget = await createWidget()
if (!config.runsInWidget) {
await widget.presentSmall()
}
Script.setWidget(widget)
Script.complete()
{
on_demand_tls {
ask https://servr.app/api/validate
}
}
http {
redir http:// https://{host}{uri}
}
data.template_file.xentral_app: Refreshing state...
data.aws_availability_zones.available: Refreshing state...
data.aws_iam_policy_document.ecs_task_execution_role: Refreshing state...
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
{
"took": 1082,
"timed_out": false,
"_shards": {
"total": 1,
"successful": 1,
"skipped": 0,
"failed": 0
},
"hits": {
<?php
namespace Tests\Feature\Http\Controllers\Blog;
use App\Http\Controllers\Blog\PostController;
use Tests\TestCase;
/**
* Class PostControllerTest.
*
// Place your key bindings in this file to override the defaults
[
/**
* Activity Bar
**/
{
"key": "cmd+k cmd+e",
"command": "workbench.view.explorer"
},
{
#!/usr/bin/env bash
alias dotf="cd $DOTFILES && $EDITOR $DOTFILES"
alias bundle="brew bundle --file='$DOTFILES/Brewfile'"
alias ..="cd .."
alias ...="cd ../.."
alias ....="cd ../../.."
alias .....="cd ../../../.."
alias ~="cd ~"
[
{
"id": 2,
"postcode_id": null,
"shareholder_id": 7,
"name": "Baufachzentrum NL Neuruppin",
"city": "Neuruppin",
"postcode": "16816",
"address": "Neustädter Straße 24",
"longitude": "12.789799690246582",
[
{
"id": 1,
"name": "Schröder Bauzentrum",
"color": "#736d52",
"created_at": "2020-01-17 09:43:50",
"updated_at": "2020-01-17 09:43:50"
},
{
"id": 2,
@fwartner
fwartner / Caddyfile
Created May 5, 2020 13:46
Codeteach.io Custom Domains
{
        on_demand_tls {
                ask https://caddy.codeteach.io/allowed-domain
        }
}
http {
        redir http:// https://{host}{uri}
}