View nginx.conf
user www-data;
pid /run/nginx.pid;
worker_processes auto;
worker_rlimit_nofile 65000;
events {
worker_connections 2048;
multi_accept on;
use epoll;
}
View gist:8292ddf5003d9b074805
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