Skip to content

Instantly share code, notes, and snippets.

View daya's full-sized avatar

Daya Sharma daya

View GitHub Profile
@daya
daya / nginx.conf
Created August 8, 2017 22:30 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
@daya
daya / Debugging Ruby Notes.html
Created September 21, 2011 17:50 — forked from wallace/Debugging Ruby Notes.html
My notes from Aman Gupta's Debugging Ruby webinar by Engine Yard
<a href="http://en.wikipedia.org/wiki/Lsof">lsof</a>
----
show open files
lsof -nPp <pid>
<a href="http://linux.die.net/man/1/strace">strace</a>
------