Image: https://hub.docker.com/r/jacobalberty/unifi
mkdir -p ~/docker/unifi
cd ~/docker/unifi
| package net | |
| import ( | |
| "encoding/binary" | |
| "fmt" | |
| "net" | |
| ) | |
| // GetNetworkRange returns begin and end address for hosts in a network. | |
| // |
| """ | |
| Example class for a strange problem passing **kwargs to a class init function, when other args are passed as keywords too. | |
| DictSimilar behaves as a wrapper around dict, to provide an object for dict structures. | |
| Works in CPython 3.10.8 | |
| Does NOT work in Pypy: | |
| Python 3.9.12 (05fbe3aa5b0845e6c37239768aa455451aa5faba, Mar 29 2022, 08:15:34) | |
| [PyPy 7.3.9 with GCC 10.2.1 20210130 (Red Hat 10.2.1-11)] |
| variable "flatcar_stages" { | |
| type = list(string) | |
| default = [ "stable", "beta", "lts" ] | |
| } | |
| data "http" "flatcar_version_data" { | |
| for_each = toset(var.flatcar_stages) | |
| url = "https://${each.key}.release.flatcar-linux.net/amd64-usr/current/version.txt" | |
| } |
| variable "flatcar_stages" { | |
| type = list(string) | |
| default = [ "stable", "beta", "lts" ] | |
| } | |
| data "http" "flatcar_version_data" { | |
| for_each = toset(var.flatcar_stages) | |
| url = "https://${each.key}.release.flatcar-linux.net/amd64-usr/current/version.txt" | |
| } |
| server: | |
| http_listen_port: 9080 | |
| grpc_listen_port: 0 | |
| positions: | |
| filename: /data/positions.yaml | |
| clients: | |
| - url: ${LOKI_HOST}/loki/api/v1/push | |
| basic_auth: |
| - name: Manage node_exporter on servers | |
| hosts: localhost | |
| vars: | |
| node_exporter_version: 1.3.1 | |
| go_arch: amd64 | |
| node_exporter_local_tmp_directory: "{{ ansible_env.HOME }}/.cache/ansible/node_exporter/{{ node_exporter_version }}" | |
| tasks: |
| version: '2' | |
| services: | |
| grafana: | |
| image: grafana/grafana | |
| volumes: | |
| - storage:/var/lib/grafana | |
| ports: | |
| - 3000:3000 | |
| environment: |
| --- | |
| version: '2' | |
| services: | |
| web: | |
| image: lazyfrosch/icingaweb2 | |
| #environment: | |
| # XDEBUG_ENABLED: 1 | |
| ports: | |
| - 8080:80 |
Image: https://hub.docker.com/r/jacobalberty/unifi
mkdir -p ~/docker/unifi
cd ~/docker/unifi
| ## Config | |
| $seekfilesdir = '/var/tmp'; | |
| my $logdir = '/var/log/app'; | |
| my $search_defaults = { | |
| tag => 'prefix', | |
| criticalpatterns => 'someerror', | |
| options => 'sticky=3600,allyoucaneat', | |
| }; |