Skip to content

Instantly share code, notes, and snippets.

--------- beginning of crash
E/AndroidRuntime( 3138): FATAL EXCEPTION: main
E/AndroidRuntime( 3138): Process: uk.ac.swansea.eduroamcat, PID: 3138
E/AndroidRuntime( 3138): java.lang.RuntimeException: Unable to start activity ComponentInfo{uk.ac.swansea.eduroamcat/uk.ac.swansea.eduroamcat.EAPMetadata}: java.lang.NumberFormatException: Invalid double: "38,6321"
E/AndroidRuntime( 3138): at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2325)
E/AndroidRuntime( 3138): at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2387)
E/AndroidRuntime( 3138): at android.app.ActivityThread.access$800(ActivityThread.java:151)
E/AndroidRuntime( 3138): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1303)
E/AndroidRuntime( 3138): at android.os.Handler.dispatchMessage(Handler.java:102)
E/AndroidRuntime( 3138): at android.os.Looper.loop(Looper.java:135)
@zmousm
zmousm / validate-multi-xsd.py
Created October 25, 2015 11:38 — forked from tomkralidis/validate-multi-xsd
using Python lxml to do XML Schema validation on a document, against multiple XML Schema (courtesy @rouault)
# -*- coding: utf-8 -*-
#-------------------------------------------------------------------------------
# Portions coming from EOxServer
# ( https://github.com/EOxServer/eoxserver/blob/master/eoxserver/services/testbase.py )
# Copyright (C) 2011 EOX IT Services GmbH
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
@zmousm
zmousm / gist:5108930
Last active December 14, 2015 15:38 — forked from aduitsis/gist:5101097
#!/usr/bin/perl -w
use strict;
use warnings;
use Carp;
use MIME::Base64;
use Compress::Zlib;
use URI;
use URI::QueryParam;
use XML::Canonical;