Skip to content

Instantly share code, notes, and snippets.

Rustam Tolipov rustamtolipov

Block or report user

Report or block rustamtolipov

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
rustamtolipov / nginx.conf
Created Aug 10, 2017 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here
View nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
rustamtolipov /
Created Nov 8, 2018 — forked from chrismccord/
Phoenix 1.3.x to 1.4.0 Upgrade Guides

Phoenix 1.4 ships with exciting new features, most notably with HTTP2 support, improved development experience with faster compile times, new error pages, and local SSL certificate generation. Additionally, our channel layer internals receiveced an overhaul, provided better structure and extensibility. We also shipped a new and improved Presence javascript API, as well as Elixir formatter integration for our routing and test DSLs.

This release requires few user-facing changes and should be a fast upgrade for those on Phoenix 1.3.x.

Install the new project generator

The mix archive can now be installed via hex, for a simpler, versioned installation experience.

To grab the new archive, simply run:

rustamtolipov /
Created Feb 15, 2017
build ffmpeg on debian 8 (not tested)
apt-get -y install autoconf automake build-essential libass-dev libfreetype6-dev libsdl1.2-dev libtheora-dev libtool libva-dev libvdpau-dev libvorbis-dev libxcb1-dev libxcb-shm0-dev libxcb-xfixes0-dev pkg-config texinfo zlib1g-dev
mkdir -p /opt/ffmpeg/bin
mv /tmp/ffmpeg-3.1.7.tar.gz /root/
tar xzf ffmpeg-3.1.7.tar.gz
cd ffmpeg-3.1.7/
apt-get install yasm libx264-dev libmp3lame-dev libopus-dev libvpx-dev
View tasix_parser.rb
require 'net/http'
require 'uri'
def parseme(text)
text.each_line do |l|
l.gsub!(/[^\d.\/\s]/, '')
if l.match(/\d+\.\d+\.\d+\.\d+/)
if !l.match(/^[[:blank:]]{3,}/)
l = l.split[0]
rustamtolipov /
Created Oct 26, 2015 — forked from ChuckJHardy/
DigitalOcean Ubuntu 14.04 x64 + Rails 4 + Nginx + Unicorn + PostgreSQL + Capistrano 3 Setup Instructions

DigitalOcean Ubuntu 14.04 x64 + Rails 4 + Nginx + Unicorn + PostgreSQL + Capistrano 3

Create a Droplet

SSH into Root

$ ssh root@

Change Root Password

You can’t perform that action at this time.