quote

giovedì, dicembre 22, 2016

concatenate pdf files with ubunbtu


$ pdfunite ES_0818_1.pdf ES_0818_2.pdf  ES_0818_3.pdf  ex_082018.pdf

In order to remove an (unknown) password from a protected pdf use this command:
$ gs -q -dNOPAUSE -dBATCH -sDEVICE=pdfwrite -sOutputFile=unencrypted.pdf -c .setpdfwrite -f encrypted.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