Skip to content

Instantly share code, notes, and snippets.

View rgordeev's full-sized avatar

Roman Gordeev rgordeev

View GitHub Profile
@rgordeev
rgordeev / gist:280e9870da623023ebff4a350001b30e
Created December 22, 2017 07:22 — forked from afair/gist:3803895
PostgreSQL and Pgpool Architecture

Hey! I saw this has been indexed by the search engines. It is a first draft of a post I ended up publishing on my blog at: Scaling PostgreSQL With Pgpool and PgBouncer

Thanks for stopping by!

PostgreSQL and Pgpool Architecture

@rgordeev
rgordeev / omni-chat.conf
Created October 5, 2017 08:08
Nginx conf Example
# configuration for the SSL
server {
# Set the ssl listener
listen 443 ssl;
server_name omni-chat.ru, www.omni-chat.ru, localhost;
# set ssl to on
ssl on;
# Specify the ssl certificates
@rgordeev
rgordeev / Dockerfile
Created July 19, 2017 12:51 — forked from juhamust/Dockerfile
Kurento Media Server with Docker and SSL support (WIP)
# stream oriented kurento
#
# VERSION 4.4.3
FROM ubuntu:14.04
MAINTAINER Patxi Gortázar <[email protected]>
RUN apt-get update \
&& apt-get -y dist-upgrade \
&& apt-get install -y wget
@rgordeev
rgordeev / introrx.md
Created June 14, 2017 10:41 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@rgordeev
rgordeev / pyget2.py
Created November 29, 2016 16:14 — forked from benhutchins/pyget2.py
A python download accelerator
#!/usr/bin/env python
#
# pyget2.py
# A python download accelerator
#
# This file uses multiprocessing along with
# chunked/parallel downloading to speed up
# the download of files (if possible).
#
# @author Benjamin Hutchins
@rgordeev
rgordeev / install.md
Created May 30, 2016 21:35 — forked from kshvakov/install.md
Установка Postgres-CI

Требования

Для работы необходим PostgreSQL-server 9.5 и, более-менее "свежий", Docker

Настройка сервера баз данных

Т.к. app-server и worker работают в docker-контейнерах, то следует прописать его (докера) сеть в pg_hba.conf

host    all             all  172.17.0.0/24 password
@rgordeev
rgordeev / Springer books in mathematics and physics.md
Last active May 17, 2022 11:58
Springer books in mathematics and physics
@rgordeev
rgordeev / scala-session-7.exercise.scala
Created December 30, 2015 10:31
scala homework #7
implicit class RichList[A](l: List[A]) {
def update(which: Int, what: A): List[A] = {
l.updated(which, what)
}
}
// текущее количество воды в стаканах
type State = List[Int]
trait Move {
@rgordeev
rgordeev / springer-free-maths-books.md
Created December 29, 2015 07:16 — forked from bishboria/springer-free-maths-books.md
Springer have made a bunch of books available for free, here are the direct links