Archive for November, 2009

12th Śląsk Java User Group Meeting in Gliwice

Posted by Ktoso under coding (No Respond)

This week I went to the “12th Śląsk Java User Group Meeting” in Gliwice (12 Spotkanie Śląskiej Grupy Użytkowników Java) (which is like 90min away from my hometown Cracow), but it was really worth the ride! Sadly I got there 30min late, and thus missed the intro but the rest of the presentation was really [...]

Tags: , , , , ,

(Almost) Automatically convert files into PDF

Posted by Ktoso under coding, freedom, fun, terminal heroes (No Respond)

I’m learning Numerical Analysis right now and a friend of mine found some really nice PS files by dr Marian Bubek ( http://www.icsr.agh.edu.pl/~mownit/mownit.html ). I was really happy to see some *.ps but some people from my fellow students started complaining that they’d rather have pdf’s and not ghostscript files (who knows why they’d do..?). [...]

Tags: , , , , , , , , , , , , , ,

Book Review: Python Web Development with Django

Posted by Ktoso under coding, review (No Respond)

As I’ve joined MediaFrame a few weeks ago, I was presented 2 projects to choose from. One of them was Php driven and another one Python + Django. I’ve allways wanted to learn Python – although I’m not really keen on Django (it has some nice things about it though) – and thus I joined [...]

Tags: , , , ,

AWK and multiple lines from shell command

Posted by Ktoso under coding (No Respond)

Let’s say you want to read the ps output inside an AWK script, it’s not so simple since system returns an exit code and not the string you want – it’s being sent to stdout, here is a simple trick to read multiple lines from a shell command inside awk: awk ‘BEGIN{while (“ps aux” | [...]

Tags: , , , , , , , ,