Skip to content

Instantly share code, notes, and snippets.

View georggrab's full-sized avatar
♥️
trying out this github status thing

Georg Grab georggrab

♥️
trying out this github status thing
View GitHub Profile
@georggrab
georggrab / test.py
Created November 9, 2019 18:12
Für die alde
# Hier ist ein möglicher lösungsansatz:
# Stell dir vor, du hast vier Geo-Dreiecke. Du legst eines an jede Seite
# der Matrix. Du wanderst am Anfang nach Rechts, bis es nicht weiter geht:
# Also du gibst die elemente 1, 2, 3, 4, 5 aus. Du bist ein blöder Computer, deshalb
# musst du dir merken, dass du diese erste zeile abgearbeitet hast, also schiebst du
# das geodreieck, dass an der oberen seite der matrix ist eine position runter, so dass
# es jetzt an der reihe [ 6, 7, 8, 9, 10 ] anliegt. Du gehst jetzt runter bis es nicht mehr
# geht, also gibst die elemente 10, 15, 20 aus. Du bist ein blöder Computer, deshalb
# merkst du dir wieder, dass du den rechten rand abgearbeitet hast, tust also das geodreieck

Keybase proof

I hereby claim:

  • I am talkdirty on github.
  • I am georggrab (https://keybase.io/georggrab) on keybase.
  • I have a public key whose fingerprint is BFD6 7C7C C766 4558 5629 1B11 458C 758E 5433 94FB

To claim this, I am signing this object:

@georggrab
georggrab / testdata.sql
Created May 3, 2017 11:51
Backend Testdata
--
-- PostgreSQL database dump
--
-- Dumped from database version 9.6.2
-- Dumped by pg_dump version 9.6.2
-- Started on 2017-05-03 13:50:35 CEST
SET statement_timeout = 0;
[
{
"id": "ASDA-123geadf",
"name": "Großer Brombachsee",
"baseline": [
{
"ph": 3.41,
"timestamp": 1231524352,
"source": "LOBW_PH_DATA_GERMANY"
},
@georggrab
georggrab / prediction.json
Created April 28, 2017 19:25
Prediction from Kafka Worker
{"input": "data/dog.jpg", "time": 14.516082, "matches": [
{"class": "dog", "probability": 0.823985, "left": 132, "right": 321, "top": 232, "bottom": 521 }
, {"class": "truck", "probability": 0.635909, "left": 467, "right": 680, "top": 84, "bottom": 167 }
, {"class": "bicycle", "probability": 0.853098, "left": 95, "right": 588, "top": 124, "bottom": 447 }
], "count": 3 }
This file has been truncated, but you can view the full file.
[{"flightNumber":"DLH01J","sourceAirport":{"id":0,"ident":null,"location":null},"destinationAirport":{"id":0,"ident":null,"location":null},"waypoints":[{"latitude":0.0,"longitude":0.0,"time":"2016-08-09T07:15:00Z","altitude":35975.0,"direction":245.451,"speed":406.714},{"latitude":0.0,"longitude":0.0,"time":"2016-08-09T07:15:00Z","altitude":35975.0,"direction":245.451,"speed":406.714},{"latitude":47.5385866,"longitude":8.6781428,"time":"2016-08-09T07:15:01Z","altitude":35975.0,"direction":0.0,"speed":0.0},{"latitude":0.0,"longitude":0.0,"time":"2016-08-09T07:15:01Z","altitude":35975.0,"direction":245.451,"speed":406.714},{"latitude":47.5377952,"longitude":8.6756778,"time":"2016-08-09T07:15:02Z","altitude":35975.0,"direction":0.0,"speed":0.0},{"latitude":47.5370038,"longitude":8.6732834,"time":"2016-08-09T07:15:02Z","altitude":35975.0,"direction":0.0,"speed":0.0},{"latitude":0.0,"longitude":0.0,"time":"2016-08-09T07:15:03Z","altitude":35975.0,"direction":245.3906,"speed":405.835},{"latitude":47.5361658,"longit
[
{vorname: "Alan", nachname: "Turing", caption: "First human on the moon",
portrait: {
url : "url(http://placehold.it/600x600)",
width: "600px", height: "600px"
},
chips: [
{letter: "A", text: "Awesome Guy"},
{letter: "C", text: "Computer Scientist"}
],