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
[ | |
{ | |
"id": "C", | |
"next": ["D", "E"] | |
}, | |
{ | |
"id": "A", | |
"next": ["B"] | |
}, | |
{ |
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 python:3.6.8 | |
WORKDIR /opt | |
RUN wget https://bitbucket.org/pypy/pypy/downloads/pypy3.6-v7.1.0-linux64.tar.bz2 | |
RUN tar -xvf pypy3.6-v7.1.0-linux64.tar.bz2 | |
RUN ln -s /opt/pypy3.6-v7.1.0-linux64/bin/pypy3 /usr/bin/pypy | |
# Smoke test | |
RUN pypy -c "print(2)" | |
ENV PYTHON_PIP_VERSION 19.0.3 | |
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
" When started as "evim", evim.vim will already have done these settings. | |
if v:progname =~? "evim" | |
finish | |
endif | |
" Use Vim settings, rather then Vi settings (much better!). | |
" This must be first, because it changes other options as a side effect. | |
set nocompatible | |
filetype off |
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
package main | |
import ( | |
"encoding/csv" | |
"fmt" | |
"github.com/docopt/docopt-go" | |
"io" | |
"log" | |
"os" | |
"strconv" |
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
server { | |
server_name zabbix.your.domain.com; | |
access_log /home/tlpls/prtp/logs/access.log main; | |
#IMPORTANT: this is where you look for errors and such | |
error_log /home/tlpls/prtp/logs/error.log debug; | |
#this is for the static files | |
#should point to where your zabbix frontend files are | |
location / { | |
root /usr/share/zabbix; |