Skip to content

Instantly share code, notes, and snippets.

@egeneralov
egeneralov / README.md
Last active June 25, 2019 05:50
pkg your applications

pkg your applications

  • run install.sh
  • write contents from profile.sh to ~/.bash_profile
  • use like pkgapp /Applications/Apple\ Configurator\ 2.app
  • OR pkgapp Apple\ Configurator\ 2.app
  • OR pkgapp Apple\ Configurator\ 2
  • search dmg on your desktop
@egeneralov
egeneralov / Jenkinsfile
Created June 25, 2019 00:07
Jenkinsfile examples
/*
Example Jenkinsfile for build docker images.
Just place inside VCS and use multibranch project.
*/
node('master') {
checkout scm
stage("build") {
/* build it */
@egeneralov
egeneralov / Dockerfile
Created June 24, 2019 20:07
build eos.io image for docker right way
# ===============================================================
# base image
FROM debian:9.9
RUN \
apt-get update -q && \
apt-get install -yq \
--no-install-recommends \
@egeneralov
egeneralov / README.md
Created April 22, 2019 09:02
The Creation of the UNIX* Operating System
[Service]
Environment="DOCKER_OPTS= --data-root=/var/lib/docker --log-opt max-size=50m --log-opt max-file=5 --iptables=false -H tcp://0.0.0.0:2376 -H unix:///var/run/docker.sock --insecure-registry 0.0.0.0/0"
@egeneralov
egeneralov / full-daemon.json
Created November 17, 2018 15:04
Docker daemon.json
{
"authorization-plugins": [],
"data-root": "",
"dns": [],
"dns-opts": [],
"dns-search": [],
"exec-opts": [],
"exec-root": "",
"experimental": false,
"features": {},

BeerVPN

<Типо вступительные слова про RC v0.1>. Итак, поехали.

Создаём Telegram бота

  • пишем @botfather
  • Вводим /newbot
  • Отвечаем на вопросы