Skip to content

Instantly share code, notes, and snippets.

@piotch
piotch / vpeng.txt
Created December 6, 2019 21:06
mashup of acronymfinder.com/VP.html and "of engineering"
Vice President of engineering
Viewpoint of engineering
Venture Partner (finance) of engineering
Voluntad Popular (Venezuelan political party) of engineering
Video Poker of engineering
Vice Principal of engineering
Vacant Possession (housing construction) of engineering
Video Phone (product) of engineering
Vollpension (German: full board) of engineering
Video Processor of engineering
DATA_PROVIDERS: [
 {
   type: "HttpAPI"
   name: "test"
   baseroute: "https://httpbin.org/anything"
 }
]
DATA_SOURCES: [
 {
   name: "test"
DATA_PROVIDERS: [
 {
   type: "HttpAPI"
   name: "test"
   baseroute: "https://httpbin.org/anything"
 }
]
DATA_SOURCES: [
 {
   name: "test"
#!/bin/bash
# execute on target machine
# send the result to onpremise-support@toucantoco.com
echo
echo "-- system"
cat /etc/os-release
echo
@piotch
piotch / actual_studio_nav.dot
Last active June 15, 2018 13:04
Studio Nav
digraph {
rankdir=LR;
EditMode[shape=box, label="Edit Mode"]
StagingHeader[shape=box, label="Staging header"]
Assets[shape=box]
ColorScheme[shape=box, label="Color Scheme"]
Conf[shape=box, label="Config Files"]
OpHist[shape=box, label="Operation History"]
OpMenu[shape=box,label="Operations Menu"]

Explicite, consitent, simple... si les données son difficile à expliquer elle sont probablement de mauvaise qualité.

  • un seul type de donnée par colonnes [21, 15, null] plutôt que ["12", 1.4, "Rien"]
  • une seule façon de d'écrire null
  • une seule façon d'écrire des dates
  • nom de colonnes, on évite les ambiguités par exemple en évitant les minuscule, les espaces
  • si il y a beaucoup de null il y a trop de colonnes, passer en lignes
@piotch
piotch / _.md
Last active November 4, 2016 10:10
Diffusion
@piotch
piotch / cli.md
Created August 10, 2016 14:41 — forked from phrawzty/2serv.py
simple http server to dump request headers
$ curl -s -H "X-Something: yeah" localhost:8000 > /dev/null
$ python serv.py
ERROR:root:User-Agent: curl/7.37.1
Host: localhost:8000
Accept: */*
X-Something: yeah
@piotch
piotch / repeat.py
Created August 4, 2016 07:47
Repeat incoming requests
#!/usr/bin/env python
import SimpleHTTPServer
import SocketServer
import logging
PORT = 9191
class ServerHandler(SimpleHTTPServer.SimpleHTTPRequestHandler):
def do_GET(self):