sudo apt-get install firmware-zd1211
$ cat /etc/network/interfaces.d/wlan0
version: "2.0" | |
services: | |
nextcloud: | |
build: . | |
volumes: | |
- /mnt/pi3/nextcloud/data:/var/www/html/data | |
- /mnt/pi3/nextcloud/config:/var/www/html/config | |
- /mnt/pi3/nextcloud/apps:/var/www/html/apps |
version: "2.0" | |
services: | |
lb: | |
image: arm32v6/traefik:alpine | |
ports: | |
- "80:80" | |
- "443:443" | |
volumes: | |
- /var/run/docker.sock:/var/run/docker.sock |
version: "3.0" | |
services: | |
influxdb: | |
image: influxdb:1.4 | |
ports: | |
- "8086:8086" | |
volumes: | |
- influx:/var/lib/influxdb | |
telegraf: |
var http = require("http"); | |
var os = require("os"); | |
var timePerRequest = 0 | |
setInterval(function(){ | |
timePerRequest-=100; | |
if (timePerRequest<0){ | |
timePerRequest=0; | |
} |
FROM debian:stretch AS qemuprovider | |
RUN apt-get update && apt-get install -y qemu-user-static | |
# Et maintenant le contenu utile | |
FROM arm32v7/debian:stretch | |
COPY --from=qemuprovider /usr/bin/qemu* /usr/bin | |
RUN ... |
Just run:
curl https://gist.githubusercontent.com/tcoupin/af82bbbf5de516d186c1f2170ae5d0c4/raw/setup.sh | bash
Notes:
drop table if exists zone_buffer; | |
with | |
lines as ( | |
select pid, the_geom the_geom from itineraires | |
),--end with lines | |
voronoi as ( | |
select the_geom | |
from ( | |
select (st_dump(ST_VoronoiPolygons((select st_union(the_geom) from lines)))).geom the_geom |
write_files: | |
- content: | | |
allow-hotplug wlan0 | |
iface wlan0 inet dhcp | |
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf | |
iface default inet dhcp | |
path: /etc/network/interfaces.d/wlan0 | |
- content: | | |
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev | |
update_config=1 |