Skip to content

Instantly share code, notes, and snippets.

View tigrus's full-sized avatar

Nikolay Fominykh tigrus

  • Medsi Group
  • Saint Petersburg
View GitHub Profile
[
{
"id": "C",
"next": ["D", "E"]
},
{
"id": "A",
"next": ["B"]
},
{
@tigrus
tigrus / Dockerfile
Last active April 7, 2019 13:05
Build pypy docker from python official docker image
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
" 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
package main
import (
"encoding/csv"
"fmt"
"github.com/docopt/docopt-go"
"io"
"log"
"os"
"strconv"
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;