(Gopher image by Ashley McNamara)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
init_config: | |
mibs_folder: /mibs | |
profiles: | |
generic: | |
definition_file: _generic-host-resources.yaml | |
instances: | |
- ip_address: $REPLACE_WITH_SYNOLOGY_IP_ADDRESS | |
community_string: public | |
snmp_version: 2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
H=${1:-rpi.example.com} | |
flash --hostname ${H} --userdata rpi-boot-wifi.yaml https://github.com/hypriot/image-builder-rpi/releases/download/v1.11.5/hypriotos-rpi-v1.11.5.img.zip |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
import boto3 | |
import warnings | |
warnings.filterwarnings('ignore', category=UnicodeWarning) | |
def get_count_reserved_by_family_base(instances,instance_type,platform): | |
item = {} | |
total = 0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dc_smarthost="mail.myhome.com:mail.mysecondsmtp.com" | |
# try in order until it succeeds |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2.1' | |
services: | |
grafana: | |
container_name: grafana | |
image: raymondmm/grafana | |
ports: | |
- 3000:3000 | |
volumes: | |
- /opt/grafana:/etc/grafana:rw | |
- /opt/grafana:/var/lib/grafana:rw |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
portainer: | |
container_name: portainer | |
image: portainer/portainer | |
volumes: | |
- /srv/docker/portainer:/data | |
- /var/run/docker.sock:/var/run/docker.sock | |
ports: | |
- "9000:9000" |
I hereby claim:
- I am pmoranga on github.
- I am moranga (https://keybase.io/moranga) on keybase.
- I have a public key whose fingerprint is 8ECA D4AD E04E 1CEC 7F6C EE50 0B88 12D1 17EE E862
To claim this, I am signing this object:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: "2" | |
services: | |
telegraf: | |
container_name: telegraf | |
image: mjenz/rpi-telegraf:alpine | |
restart: always | |
network_mode: host | |
pid: host | |
depends_on: | |
- influxdb |