Skip to content

Instantly share code, notes, and snippets.

@ruckuus
ruckuus / nginx.conf
Last active August 29, 2015 14:16 — forked from plentz/nginx.conf
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
casper.evaluate(function triggerKeyDownEvent() {
var e = jQuery.Event("keydown");
e.which = 13;
e.keyCode = 13;
jQuery("#questions_holder .question:nth-child(1) .txt-inline-answer").trigger(e);
});
@ruckuus
ruckuus / install_python.sh
Created July 11, 2012 07:46 — forked from jgumbley/install_python.sh
setup python 2.7.1 on CENTOS 5.* server
# wget -O install_python.sh https://gist.github.com/raw/777001/install_python.sh
# chmod +x install_python.sh
# ./install_python.sh
#!/bin/sh
echo "******************************************"
echo "Configure Centos box with a recent version"
echo "of Python. "
echo " - jgumbley 12/jan/11"