Compare float in bash If you have a regular if and one of the integers has a float value like 1.200 you will get an error message. The best way to do is using the bc command. Like: $ echo […]
How to monitor J2EE applications
How to monitor J2EE applications I found a cool JMX plugin that is does just that. In the example I am doing for Glassfish but I believe it can be done for Weblogic or Tomcat as well. I found quite […]
Rio de Janeiro traveler tips
Of course you have Cristo Corcovado (www.corcovado.com.br) in Rua Cosme Velho, 513, cost like US$ 21 (R/.36) per person and open at 8:30 until 19;00 h you can do it by car or by Corcovado train, well also you can […]
Mining statistics from lottery results
Data mining the megasenna results. Ref. http://plattek.com/estacio/datamining/ 4. Frequência de sorteio das dezenas, em 1218 sorteios: 01 (119) 02 (108) 03 (121) 04 (137) 05 (143) 06 (119) 07 (122) 08 (121) 09 (105) 10 (125) 11 (111) 12 (128) […]
Varnish 2.1.3
Varnish 2.1.3 – Use it! by Kristian on July 30, 2010 “We just released Varnish 2.1.3. And it’s good. I am a person who value stability, predictability and stability over pretty much everything else. I will gladly use 3-year old […]
check_vmstats
So many check_mem scripts out there but I am still not satified so I wrote my own. Many scripts report the total use of memory but they dont care how much memory is placed in cache by the OS or […]
Stuxnet worm
The Stuxnet worm appeared to use contaminated hardware in an attempt to cripple Iran’s nuclear programme. Photograph: Matthew Baker/PA The malware has so far infected as many as 45,000 computer systems around the world. Siemens AG, the company that designed […]