Skip to content

Instantly share code, notes, and snippets.

View germanrdz's full-sized avatar
🦇
germanrdz.com

Germán Rodríguez germanrdz

🦇
germanrdz.com
View GitHub Profile
@germanrdz
germanrdz / nginx.conf
Created February 26, 2016 19:07 — forked from ebobby/nginx.conf
nginx config
user www-data;
pid /run/nginx.pid;
worker_processes auto;
worker_rlimit_nofile 65000;
events {
worker_connections 2048;
multi_accept on;
use epoll;
}
class App
class << self
def animate(frames, seconds)
frame = 0;
advance = 1;
frames_per_second = frames.size * 2;
total_frames = frames_per_second * seconds;
total_frames.times do