Home Home Archive Archive



FEB 24TH, 2010
Testing complex Webapps with wget

How do you test web applications? You can use Selenium, but Selenium is very heavy. I tried wget. To find out what exactly to send to the app, I started Firebug inside Firefox, went to the “Network” section and recorded what I would do, to see, whether the application works. Then I took the accessed URLs together with the parameters and first tried to send them manually from the command line. Read on


FEB 23RD, 2010
FOSSGIS 2010

Auch dieses Jahr ist Sourcepole an der deutschsprachigen FOSSGIS-Konferenz vertreten. Die FOSSGIS 2010 findet vom 2.-5. März 2010 in Osnabrück statt. Sourcepole ist mit drei Vorträgen vertreten: GIS mit Ruby on Rails Performance und Verfügbarkeit von WMS-Servern SpatiaLite, das Shapefile der Zukunft? Vorinformation: Die internationale Open Source GIS-Konferenez FOSS4G findet dieses Jahr vom 6.-9. September 2010 in Barcelona statt. Read on


FEB 1ST, 2010
munin plugin multi_http_responsetime doesn't recognize dead servers

Here’s a patch: # diff -u multi_http_responsetime.orig multi_http_responsetime --- multi_http_responsetime.orig 2010-02-01 10:13:22.000000000 +0100 +++ multi_http_responsetime 2010-02-01 10:30:23.000000000 +0100 @@ -16,6 +16,9 @@ use Time::HiRes qw( time ); use IO::Socket; +$FAILED=0; +$INFINITE=999999; + # ----- config ----- push(@url_array, "http://www.google.de"); push(@url_array, "http://www.t-online.de"); @@ -34,7 +37,7 @@ PeerPort => 80, Proto => 'tcp' ); - return(0) unless ($sock); + return($FAILED) unless ($sock); print $sock "GET $baseurl HTTP/1.1\nHost: $vhost\nConnection: close\n\n"; while (<$sock>) { $data . Read on


JAN 23RD, 2010
Chopped up SIP

Since upgrading to Karmic I had the problem under Ubuntu that SIP calls under Twinkle would start get all chopped up every few minutes. Turns out it’s NetworkManager that scans the wireless spectrum every two minutes for networks even if you are allready connected to some AP. While people seem to be fixing the problem in the proper way, by making scanning interfere less with an active connection, there’s a good soul that provides patched versions of NetworkManager that gives up scanning while there’s an active connection to an AP. Read on


JAN 19TH, 2010
Rack::Monitor

It can be integrated in any Rack based appication. Sample configuration for Ruby on Rails: config.middleware.use Rack::Monitor, :url => '/rack_status', :watch => ['/', '/ping'] The collected statistical values can be accessed at /rack_status. It is recommended to limit access to this path with our contributed middleware Rack::Access from rack-contrib. Sample munin output: Read on
← Older Blog Archives Newer →

    Recent Posts

  • How to configure unattended-upgrades of packages from third party deb package repos
  • Updating company-wide and your own hosts with apt-dater
  • Executing Tasks in docker-compose Containers From ansible
  • Creating a quick PDF report from a DuckDB query

    Archive

  • 2025 4
  • 2024 5
  • 2023 7
  • 2022 6
  • 2021 8
  • 2020 6
  • 2019 10
  • 2018 3
  • 2017 3
  • 2016 4
  • 2015 7
  • 2014 9
  • 2013 17
  • 2012 13
  • 2011 29
  • 2010 26
  • 2009 17
  • 2008 9
  • 2007 4
  • 2006 18
  • 2005 2
  • 2004 8
  • 2003 22
  • 2002 5
  • 2001 6

    Categories

  • geo 105
  • linux 74
  • postgis 2
  • programming 36
  • qgis 69
  • qgiscloud 14

Copyright © 2001-2025 Sourcepole AG