Skip to content

Instantly share code, notes, and snippets.

View SergeAx's full-sized avatar

Sergey Aksenov SergeAx

View GitHub Profile
@SergeAx
SergeAx / pgessays.py
Last active May 30, 2016 20:59 — forked from olasitarska/pgessays.py
Builds epub book out of Paul Graham's essays.
# -*- coding: utf-8 -*-
"""
Builds epub book out of Paul Graham's essays: http://paulgraham.com/articles.html
Author: Ola Sitarska <[email protected]>
Copyright: Licensed under the GPL-3 (http://www.gnu.org/licenses/gpl-3.0.html)
This script requires python-epub-library: http://code.google.com/p/python-epub-builder/
"""
@SergeAx
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\)
#!/bin/sh
ROOT=$(git rev-parse --show-toplevel);
FILES=$(git diff HEAD --name-only);
if [ ! -z "$FILES" ]; then
for FILE in $FILES; do
phpcs $ROOT/$FILE
done
fi

Keybase proof

I hereby claim:

  • I am sergeax on github.
  • I am sergeax (https://keybase.io/sergeax) on keybase.
  • I have a public key ASBRyWEbOIOL1m_wutWakfqbpuMPpBqOt9GJu509m31e4go

To claim this, I am signing this object:

@SergeAx
SergeAx / socks5-docker-debian.sh
Created April 17, 2018 14:11
Installing socks5 proxy via docker
#!/bin/sh
apt-get update
apt-get dist-upgrade -y
apt-get install -y apt-transport-https ca-certificates curl gnupg2 software-properties-common
curl -fsSL https://download.docker.com/linux/debian/gpg | apt-key add -
add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/debian/$(lsb_release -cs) stable"
apt-get update
@SergeAx
SergeAx / gist:c75bbb1eeeec7acb59ce3e89571ca12b
Last active September 18, 2024 11:57
История редактирования поста Константина Кагаловского (https://www.facebook.com/share/p/fUmRAZwU16eKJ1rk/)
2024-09-17 23:29 UTC
Уважаемый
Леонид, я хоть и не
Лев Толстой, но
в сложившейся ситуации « не могу молчать», И Вы хорошо знаете, почему я имею моральное право задавать прямые вопросы и требовать на них честного ответа. Как минимум потому что не так давно я перечислил
ФБК пол миллиона долларов.
Помню позвонил Вам после нападения на Вас.Вы меня успокоили. Мол
ничего страшного.
А @сейчас это пиаровская вакханалия против Невзлина и Ходорковского. Вы же опытный политик и прекрасно знаете, по крайней мере, простейшие