Citizens guide to the 21st century
scratch book of what you should know to be a citizen of the 21st century
Categories: coding | Add a Comment

t=[0:0.1:100] kt=[1:0.004:5] y=sin(kt.*t) plot(y)

Categories: coding | Add a Comment

In osx, the command lpr converts and sends a document to the standard system printer. eg. $ lpr /Users/itz/Desktop/flyer-papagei.pdf HINT: This works fine with PDF- and JPG- but not with ODF-files. This way it is possible to do timed printing using the crontab or scripted printing using shell-scripts.    

for i in `cat vmk.zhdk.ch.access.log | awk ‘{print $7}’ | sort -u `; do echo `grep -c $i vmk.zhdk.ch.access.log` $i; done | sort -u -n > rep1.txt