giovedì, dicembre 22, 2016

concatenate pdf files with ubunbtu

$ sudo apt-get install pdftk 

$ pdftk f1.pdf f2.pdf f3.pdf cat output f123.pdf

factorial with RecursiveTask

martedì, febbraio 23, 2016

ab benchmark

$ ab -A myUsername:myPassword -n 1000 -c 1000 http://localhost:8090/api/words

http://httpd.apache.org/docs/2.4/programs/ab.html

mercoledì, febbraio 17, 2016

Restarting wireless in Ubuntu

$ sudo service network-manager restart
$ sudo nmcli nm sleep false && sudo pkill -f wpa_supplicant
http://askubuntu.com/questions/564556/cant-connect-to-wifi-after-suspend