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 sh | |
set -eu | |
set -o pipefail | |
PID_FILE='/var/run/denyhosts.pid' | |
touch /var/log/denyhosts | |
tail -f -n 0 /var/log/denyhosts & | |
# Make sure the pid file isn't left over from a previous crashed instance |
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: '3.7' | |
services: | |
apm-server: | |
image: docker.elastic.co/apm/apm-server:7.7.0 | |
user: apm-server | |
container_name: apm-server | |
networks: | |
- elastic | |
depends_on: | |
- es01 |
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
# PATH updates | |
export PATH="/usr/local/opt/ruby/bin:$PATH" | |
export PATH="/usr/local/opt/expat/bin:$PATH" | |
# Add RVM to PATH for scripting. Make sure this is the last PATH variable change. | |
export PATH="$PATH:$HOME/.rvm/bin" | |
# Aliases | |
alias lc="colorls" |
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
# Use an official Python runtime as a parent image | |
FROM python:2.7.18-slim-buster | |
# output into stdout | |
ENV PYTHONUNBUFFERED 1 | |
# install wget and its dependencies | |
RUN apt-get update | |
RUN apt-get install -y build-essential | |
RUN apt-get install -y gnupg2 |
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
https://medium.freecodecamp.org/how-you-can-style-your-terminal-like-medium-freecodecamp-or-any-way-you-want-f499234d48bc |