Month: September 2011
-
Twittando do meu novo
Mr. Gaigalas em meta-tweet achou uma pérola: http://twitter.com/alganet/status/119586562651594752 tem até punchline.
-
Clojure script to parse IIS logs from a directory and show slowest pages
Just having some fun today. The code runs actually pretty fast: It reads over 1.5 million lines from 1.1GB of logs and sorts them by time-taken in 5 seconds. I bet there’s room for improvement but it was enough for my needs. (ns iis_log (:require clojure.contrib.duck-streams clojure.contrib.io clojure.string clojure.test)) (def #^{:doc “Where the log files…