Skip to content

Instantly share code, notes, and snippets.

View eliezerfot123's full-sized avatar

Eliezer Romero eliezerfot123

View GitHub Profile
@eliezerfot123
eliezerfot123 / README.md
Created July 25, 2022 21:10 — forked from mau21mau/README.md
Configure Celery + Supervisor With Django
@eliezerfot123
eliezerfot123 / nginx-tuning.md
Created July 8, 2022 15:37 — forked from denji/nginx-tuning.md
NGINX tuning for best performance

NGINX Tuning For Best Performance

For this configuration you can use web server you like, i decided, because i work mostly with it to use nginx.

Generally, properly configured nginx can handle up to 400K to 500K requests per second (clustered), most what i saw is 50K to 80K (non-clustered) requests per second and 30% CPU load, course, this was 2 x Intel Xeon with HyperThreading enabled, but it can work without problem on slower machines.

You must understand that this config is used in testing environment and not in production so you will need to find a way to implement most of those features best possible for your servers.

@eliezerfot123
eliezerfot123 / nginx
Created January 19, 2017 19:28 — forked from hisea/nginx
ubuntu passenger nginx init.d script
sudo cp nginx /etc/init.d/
sudo update-rc.d nginx defaults
sudo chmod +x /etc/init.d/nginx
/etc/init.d/nginx start
@eliezerfot123
eliezerfot123 / twitterFollow
Created August 18, 2016 22:27 — forked from nachoal/twitterFollow
Script para seguir automáticamente a todas las cuentas de twitter en una pantalla
javascript:
var inputs = document.getElementsByClassName('button-text follow-text');
for(var i=0; i<inputs.length;i++) {
inputs[i].click(); }
wget http://downloads.metasploit.com/data/releases/metasploit-latest-linux-x64-installer.run
chmod +x metasploit-latest-linux-x64-installer.run
sudo ./metasploit-latest-linux-x64-installer.run