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
FROM golang:1.8 | |
WORKDIR /go/src/app | |
COPY . . | |
RUN go-wrapper download && go-wrapper install | |
EXPOSE 9116 | |
CMD ["go-wrapper", "run"] # ["app"] |
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/local/bin/python | |
import RPi.GPIO as GPIO | |
import time | |
import dht11 | |
import graphitesend | |
#define the pin that goes to the circuit | |
pin_for_temp = 15 | |
pin_for_light = 40 |
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
FROM ubuntu:16.04 | |
MAINTAINER Florian Dehn <[email protected]> | |
RUN echo "deb http://archive.ubuntu.com/ubuntu/ xenial multiverse" >> /etc/apt/sources.list | |
RUN apt-get update | |
RUN apt-get install -y python-pip openssh-client | |
RUN pip install --upgrade pip |
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 | |
HOST=sub.host.domain | |
PORT=2003 | |
echo "$1 $2 `date +%s`"|nc $HOST $PORT |
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 | |
HOST=sub.host.domain | |
PORT=8125 | |
METHOD=$1 | |
KEY=$2 | |
VALUE=$3 | |
echo "$KEY:$VALUE|$METHOD"|nc -u -w 1 $HOST $PORT |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>Label</key> | |
<string>katzefudder.socat_launcher</string> | |
<key>Disabled</key> | |
<false/> | |
<key>RunAtLoad</key> | |
<true/> |
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 | |
DATE=`date +%s` | |
HOST=graphite.host | |
PORT=2003 | |
KEY=my.key | |
echo "${KEY} 1 ${DATE}" | nc -w 1 $HOST $PORT |
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
[PIDinRootline = 6] | |
# implement a vertical timeline via TypoScript | |
# JS Demo: https://codyhouse.co/demo/vertical-timeline/index.html | |
# add JavaScript and Styles | |
page{ | |
includeJS { | |
# {$screen.javascript} is just a constant for the javascript path | |
verticalSliderJs = {$screen.javascript}/vertical-timeline/js/main.js | |
} |
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/php | |
<?php | |
namespace DockerImages; | |
require_once __DIR__.'/vendor/autoload.php'; | |
use Symfony\Component\Console\Application; | |
use Symfony\Component\Console\Command\Command; | |
use Symfony\Component\Console\Input\InputArgument; |
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
# wrap layout, language and tt_content uid around | |
tt_content.stdWrap.innerWrap.cObject.default.20.stdWrap.noTrimWrap = | class="| layout-{field:layout} language-{field:sys_language_uid} uid-{field:uid}"| | |
tt_content.stdWrap.innerWrap.cObject.default.20.stdWrap.insertData = 1 | |
# wrap content category around | |
tt_content.stdWrap.innerWrap.cObject.default.20 = COA | |
tt_content.stdWrap.innerWrap.cObject.default.20 { | |
10 = CONTENT | |
10 { | |
wrap =| |