This file contains hidden or 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
| # docker build -t find3 . | |
| # mkdir /tmp/find3 | |
| # docker run -p 11883:1883 -p 8003:8003 -v /tmp/find3:/data -t find3 | |
| FROM resin/rpi-raspbian:stretch | |
| ENV GOLANG_VERSION 1.10 | |
| ENV PATH="/usr/local/go/bin:/usr/local/work/bin:${PATH}" | |
| ENV GOPATH /usr/local/work |
This file contains hidden or 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 bash | |
| HA_URL="$1" | |
| HA_PASSWORD="$2" | |
| _api_call() { | |
| if [[ -n "$3" ]] | |
| then # WITH DATA | |
| curl -qs -X "$1" \ | |
| -H "x-ha-access: $HA_PASSWORD" \ |
This file contains hidden or 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
| import asyncio | |
| import pyteleloisirs | |
| loop = asyncio.get_event_loop() | |
| prg = loop.run_until_complete(pyteleloisirs.async_get_current_program('M6')) | |
| dur = pyteleloisirs.get_program_duration(prg) | |
| rem = pyteleloisirs.get_remaining_time(prg) | |
| print('{} - Remaining time: {}/{}'.format(prg.get('name'), rem, dur)) |
This file contains hidden or 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
| FROM resin/raspberrypi3-alpine:3.4 | |
| LABEL maintainer "Alexey Pustovalov <alexey.pustovalov@zabbix.com>" | |
| ARG APK_FLAGS_COMMON="-q" | |
| ARG APK_FLAGS_PERSISTANT="${APK_FLAGS_COMMON} --clean-protected --no-cache" | |
| ARG APK_FLAGS_DEV="${APK_FLAGS_COMMON} --no-cache" | |
| ARG DB_TYPE=sqlite3 | |
| ENV TERM=xterm | |
| ENV MIBDIRS=/usr/share/snmp/mibs:/var/lib/zabbix/mibs MIBS=+ALL |
This file contains hidden or 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
| """ | |
| Support for Wi-Fi enabled iRobot Roombas. | |
| For more details about this platform, please refer to the documentation | |
| https://home-assistant.io/components/vacuum.roomba/ | |
| """ | |
| from functools import partial | |
| import asyncio | |
| import logging | |
| import os |
This file contains hidden or 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 bash | |
| usage() { | |
| echo "$(basename $0) VM" | |
| } | |
| get_vm_id() { | |
| qm list | awk '/'"${1}"'/ { print $1 }' | |
| } |
This file contains hidden or 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
| # Maintainer: Johannes Pfrang <johannespfrang+arch @ gmail.com> | |
| # Co-Maintainer: Emanuele 'Lele aka eldios' Calo' <xeldiosx@gmail.com> | |
| pkgname=teleport | |
| pkgver=2.2.3 | |
| pkgrel=1 | |
| pkgdesc="Modern SSH server for teams managing distributed infrastructure" | |
| arch=('x86_64') | |
| url="https://gravitational.com/teleport" | |
| license=('Apache') |
This file contains hidden or 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
| {"mode":"start","mid":"SxENKrZAHr","name":"IP Webcam","type":"h264","protocol":"http","host":"ip-webcam.lan","port":"8080","path":"/video","ext":"mp4","fps":"1","width":"640","height":"480","details":"{\"fatal_max\":\"\",\"notes\":\"\",\"rtsp_transport\":\"tcp\",\"muser\":\"USERNAME\",\"mpass\":\"PASSWORD\",\"port_force\":null,\"sfps\":\"1\",\"aduration\":\"\",\"stream_type\":\"b64\",\"stream_mjpeg_clients\":\"\",\"stream_vcodec\":\"libx264\",\"stream_acodec\":\"no\",\"hls_time\":\"2\",\"preset_stream\":\"ultrafast\",\"hls_list_size\":\"3\",\"signal_check\":\"10\",\"signal_check_log\":\"0\",\"stream_quality\":\"15\",\"stream_fps\":\"2\",\"stream_scale_x\":\"640\",\"stream_scale_y\":\"480\",\"svf\":\"\",\"snap\":null,\"snap_fps\":\"\",\"snap_scale_x\":\"\",\"snap_scale_y\":\"\",\"vcodec\":\"libx264\",\"crf\":\"1\",\"preset_record\":\"\",\"acodec\":\"none\",\"dqf\":\"0\",\"cutoff\":\"15\",\"vf\":\"\",\"timestamp\":\"0\",\"timestamp_font\":\"\",\"timestamp_font_size\":\"10\",\"timestamp_color\":\"white\",\"times |
This file contains hidden or 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: | |
| shinobi: | |
| container_name: shinobi | |
| build: | |
| context: . | |
| depends_on: | |
| - mysql | |
| restart: always | |
| environment: |
This file contains hidden or 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
| # Maintainer: Philipp Schmitt <philipp@schmitt.co> | |
| pkgname=python2-picamera | |
| pkgver=1.13 | |
| pkgrel=1 | |
| pkgdesc="A pure Python interface to the Raspberry Pi camera module" | |
| arch=('any') | |
| url="https://github.com/waveform80/picamera" | |
| license=('BSD') | |
| depends=('python2') |