Skip to content

Instantly share code, notes, and snippets.

View rgordeev's full-sized avatar

Roman Gordeev rgordeev

View GitHub Profile
@rgordeev
rgordeev / deploy.yml
Last active August 29, 2015 14:20 — forked from mokevnin/Dockerfile
- hosts: localhost
gather_facts: no
tasks:
- local_action:
module: slack
domain: hexlet.slack.com
token: {{ slack_token }}
msg: "deploy started: {{ rails_env }}:{{ hexlet_image_tag }}"
channel: "#operation"
username: "{{ ansible_ssh_user }}"
@rgordeev
rgordeev / The Technical Interview Cheat Sheet.md
Last active August 28, 2015 13:09 — forked from tsiege/The Technical Interview Cheat Sheet.md
This is my technical interview cheat sheet. Feel free to fork it or do whatever you want with it. PLEASE let me know if there are any errors or if anything crucial is missing. I will add more links soon.

Studying for a Tech Interview Sucks, so Here's a Cheat Sheet to Help

This list is meant to be a both a quick guide and reference for further research into these topics. It's basically a summary of that comp sci course you never took or forgot about, so there's no way it can cover everything in depth. It also will be available as a gist on Github for everyone to edit and add to.

Data Structure Basics

###Array ####Definition:

  • Stores data elements based on an sequential, most commonly 0 based, index.
  • Based on tuples from set theory.
@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
@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 / 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 / introrx.md
Created June 14, 2017 10:41 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@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 <patxi.gortazar@gmail.com>
RUN apt-get update \
&& apt-get -y dist-upgrade \
&& apt-get install -y wget
@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 / nginx.conf
Created January 21, 2019 11:00 — forked from atma/nginx.conf
Nginx + nodejs + socket.io websockets
# Add to nginx.conf http section
map $http_upgrade $connection_upgrade {
default upgrade;
'' close;
}