Skip to content

Instantly share code, notes, and snippets.

View simon-engledew's full-sized avatar
🙈

Simon Engledew simon-engledew

🙈
View GitHub Profile
@simon-engledew
simon-engledew / tsung-centos-install.txt
Created December 17, 2015 15:05 — forked from aviafelix/tsung-centos-install.txt
installing tsung in centos
yum -y install erlang perl perl-RRD-Simple.noarch perl-Log-Log4perl-RRDs.noarch gnuplot perl-Template-Toolkit
wget http://tsung.erlang-projects.org/dist/tsung-1.6.0.tar.gz
tar zxfv tsung-1.6.0.tar.gz
cd tsung-1.6.0
./configure && make && sudo make install
def curry(function, *curried_args):
def curried_method(*args):
return function(*(curried_args + args))
return curried_method
def hello(firstname, lastname):
print "hello %s %s" % (firstname, lastname)
hello_mickey = curry(hello, 'Mickey')