Skip to content

Instantly share code, notes, and snippets.

Nikolay Mikhaylichenko nmix

Block or report user

Report or block nmix

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
nmix / auto-sd
Last active Jan 10, 2017
nginx subdomain configuration for multiple rails apps
View auto-sd
# source:
server {
listen 80;
server_name *;
passenger_enabled on;
rails_env production;
root /path/to/project/$subdomain/current/public;
set $subdomain "";
if ($host ~* ^([a-z0-9-\.]+)\$) {
set $subdomain $1;
View Dockerfile (pyqt-2.7-4.8)
FROM python:2.7
MAINTAINER Nik Mikhaylichenko <>
# Install Deps
RUN apt-get update -y -qq && \
apt-get install -y python-pip python2.7-dev libxext-dev python-qt4 qt4-dev-tools build-essential && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
You can’t perform that action at this time.