Skip to content

Instantly share code, notes, and snippets.

View SergeAx's full-sized avatar

Sergey Aksenov SergeAx

View GitHub Profile
SergeAx /
Created April 17, 2018 14:11
Installing socks5 proxy via docker
apt-get update
apt-get dist-upgrade -y
apt-get install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL | apt-key add -
add-apt-repository "deb [arch=amd64]$(lsb_release -cs) stable"
apt-get update

Keybase proof

I hereby claim:

  • I am sergeax on github.
  • I am sergeax ( on keybase.
  • I have a public key ASBRyWEbOIOL1m_wutWakfqbpuMPpBqOt9GJu509m31e4go

To claim this, I am signing this object:

SergeAx / git-phpcs
Last active September 4, 2017 17:41
Put this file into path directory and use as "git phpcs" (Works in Windows, put script to C:\Program Files\Git\cmd\)
ROOT=$(git rev-parse --show-toplevel);
FILES=$(git diff HEAD --name-only);
if [ ! -z "$FILES" ]; then
for FILE in $FILES; do
phpcs $ROOT/$FILE
SergeAx /
Last active May 30, 2016 20:59 — forked from olasitarska/
Builds epub book out of Paul Graham's essays.
# -*- coding: utf-8 -*-
Builds epub book out of Paul Graham's essays:
Author: Ola Sitarska <>
Copyright: Licensed under the GPL-3 (
This script requires python-epub-library: