- c5.xlarge AWS instance: 4 CPUs, 8 GB RAM
- Ubuntu 18.04
- Go 1.12
- Python 2.7
- Vips 8.7.4
docker => syslog (RFC5424, non-transparent) => telegraf => (*)
Docker can use syslog as a log driver.
Anyway it transport syslog message towards destination using the non-transparent framing technique (also if deprecated by the octet-counting).
Using the telegraf syslog input plugin link.
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
/* | |
OTA update over HTTPS | |
As an example, we download and install ESP8266Basic firmware from github. | |
Requires latest git version of the core (November 17, 2015) | |
Created by Ivan Grokhotkov, 2015. | |
This example is in public domain. | |
*/ |
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
# The command finds the most recent tag that is reachable from a commit. | |
# If the tag points to the commit, then only the tag is shown. | |
# Otherwise, it suffixes the tag name with the number of additional commits on top of the tagged object | |
# and the abbreviated object name of the most recent commit. | |
git describe | |
# With --abbrev set to 0, the command can be used to find the closest tagname without any suffix: | |
git describe --abbrev=0 | |
# other examples |
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
find /var/lib/docker/containers/ -type f -name "*.log" -delete |
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
git branch -m old_branch new_branch # Rename branch locally | |
git push origin :old_branch # Delete the old branch | |
git push --set-upstream origin new_branch # Push the new branch, set local branch to track the new remote |
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
# Dockerfile for Node-RED - pulls latest master code from git | |
# Use the node.js v4 LTS engine | |
FROM node:4-slim | |
MAINTAINER ceejay | |
RUN mkdir -p /root/.node-red | |
WORKDIR /root/.node-red | |
# download latest stable node-red | |
RUN npm install -g --unsafe-perm node-red |
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
<?php | |
/** | |
* This script is part of the TYPO3 project - inspiring people to share! * | |
* * | |
* TYPO3 is free software; you can redistribute it and/or modify it under * | |
* the terms of the GNU General Public License version 2 as published by * | |
* the Free Software Foundation. * | |
* * | |
* This script is distributed in the hope that it will be useful, but * | |
* WITHOUT ANY WARRANTY; without even the implied warranty of MERCHAN- * |
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
node_modules |
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
sudo cp /private/etc/php.ini.default /private/etc/php.ini; | |
sudo php /usr/lib/php/install-pear-nozlib.phar; | |
pear config-set php_ini /private/etc/php.ini; | |
pecl config-set php_ini /private/etc/php.ini; | |
sudo pear upgrade-all; | |
sudo pear install PHP_CodeSniffer; | |
---- | |
nano /private/etc/php.ini; | |
include_path Zeile einkommentieren & umändern in: |
NewerOlder