I hereby claim:
- I am blackrez on github.
- I am nabil (https://keybase.io/nabil) on keybase.
- I have a public key whose fingerprint is 4320 BAE2 09FC 409C 7BD0 74A7 6079 934B 9755 1FE9
To claim this, I am signing this object:
FROM golang:alpine AS build-env | |
RUN mkdir -p /src/src/github.com/owulveryck/ && \ | |
cd /src/src/github.com/owulveryck/ && \ | |
apk add - no-cache git curl && \ | |
git clone https://github.com/owulveryck/onnx-go.git && \ | |
cd onnx-go && \ | |
git checkout v0.1-mnist-cli && \ | |
cd example/gorgonia/mnist-reader && \ | |
export GOPATH=$GOPATH:/src/ && \ | |
go get && \ |
package main | |
import ( | |
"bytes" | |
"context" | |
"crypto/sha256" | |
"encoding/hex" | |
"flag" | |
"fmt" | |
"image" |
from starlette.applications import Starlette | |
from starlette.responses import JSONResponse | |
from starlette.background import BackgroundTask | |
import uvicorn | |
import asyncio | |
import aiohttp | |
import requests | |
app = Starlette() |
package main | |
import ( | |
"fmt" | |
"time" | |
"github.com/yryz/ds18b20" | |
"github.com/prometheus/client_golang/prometheus" | |
"github.com/prometheus/client_golang/prometheus/push" | |
) |
spec: | |
progressDeadlineSeconds: 600 | |
replicas: 1 | |
revisionHistoryLimit: 10 | |
selector: | |
matchLabels: | |
app: minio | |
strategy: | |
type: Recreate | |
template: |
I hereby claim:
To claim this, I am signing this object:
# Le résultat retourné par BANO | |
result = '{"attribution": "BANO", "licence": "ODbL", "query": "8 bd du port", "type": "FeatureCollection", "version": "draft", "features": [{"properties": {"context": "80, Somme, Picardie", "housenumber": "8", "label": "8 Boulevard du Port 80000 Amiens", "postcode": "80000", "id": "800216590L", "score": 0.3351181818181818, "name": "8 Boulevard du Port", "city": "Amiens", "type": "housenumber"}, "geometry": {"type": "Point", "coordinates": [2.29009, 49.897446]}, "type": "Feature"}]}' | |
# On charge le résultat | |
resultjsoon = JSON.load(result) | |
# La partie geojson du json de bano est chargé pour obtenir un point | |
point = RGeo::GeoJSON.decode(resultjson["features"][0]["geometry"], :json_parser => :json) | |
entreprise = Entreprise.new() | |
# Correspondance entre le point et le champs géométrique de la base de données. |
import json | |
from flask import Flask | |
from flask import request | |
app = Flask(__name__) | |
app.debug = True | |
@app.route('/') | |
def hello_world(): | |
callback = request.args.get('jsoncallback') | |
data = {"hello":"world"} | |
if callback: |