X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/f47c75ab21cba6783d1583fd72670e42b8f28825..05e132e3484cc37279ebe166fe5775446461508e:/blog/index.html diff --git a/blog/index.html b/blog/index.html index 2af2aa1b3a..cb05e719fe 100644 --- a/blog/index.html +++ b/blog/index.html @@ -19,6 +19,34 @@ +
+
Frikart - Free Garmin maps for European countries based on OpenStreetmap
+
15th February 2013
+

If you, like me, want an updated a map for your Garmin GPS, there is +now a great source of free maps available from +Frikart. To +download a map, just click on the country you are interested in, and +download the map type you want. There are 8 different maps available, +using different colours and data selection. Pick one of Roadmap, Topo +Summer, Topo Winter, Roadmap II, Topo Summer II, Topo Winter II, +"Trails - overlay map" and "Cross country - overlay map" (see the web +page for descriptions).

+ +

The maps are updated weekly, so if you find something wrong in the +map you can just edit the +OpenStreetmap map source +(anyone can contribute) and fetch a fixed map a week later. :)

+
+
+ + + Tags: english, kart. + + +
+
+
+
"Electronic" paper invoices - using vCard in a QR code
12th February 2013
@@ -601,82 +629,6 @@ Pre-loaded site.

-
-
How to find a browser plugin supporting a given MIME type
-
18th January 2013
-

Some times I try to figure out which Iceweasel browser plugin to -install to get support for a given MIME type. Thanks to -specifications -done by Ubuntu and Mozilla, it is possible to do this in Debian. -Unfortunately, not very many packages provide the needed meta -information, Anyway, here is a small script to look up all browser -plugin packages announcing ther MIME support using this specification:

- -
-#!/usr/bin/python
-import sys
-import apt
-def pkgs_handling_mimetype(mimetype):
-    cache = apt.Cache()
-    cache.open(None)
-    thepkgs = []
-    for pkg in cache:
-        version = pkg.candidate
-        if version is None:
-            version = pkg.installed
-        if version is None:
-            continue
-        record = version.record
-        if not record.has_key('Npp-MimeType'):
-            continue
-        mime_types = record['Npp-MimeType'].split(',')
-        for t in mime_types:
-            t = t.rstrip().strip()
-            if t == mimetype:
-                thepkgs.append(pkg.name)
-    return thepkgs
-mimetype = "audio/ogg"
-if 1 < len(sys.argv):
-    mimetype = sys.argv[1]
-print "Browser plugin packages supporting %s:" % mimetype
-for pkg in pkgs_handling_mimetype(mimetype):
-    print "  %s" %pkg
-
- -

It can be used like this to look up a given MIME type:

- -
-% ./apt-find-browserplug-for-mimetype 
-Browser plugin packages supporting audio/ogg:
-  gecko-mediaplayer
-% ./apt-find-browserplug-for-mimetype application/x-shockwave-flash
-Browser plugin packages supporting application/x-shockwave-flash:
-  browser-plugin-gnash
-%
-
- -

In Ubuntu this mechanism is combined with support in the browser -itself to query for plugins and propose to install the needed -packages. It would be great if Debian supported such feature too. Is -anyone working on adding it?

- -

Update 2013-01-18 14:20: The Debian BTS -request for icweasel support for this feature is -#484010 from 2008 (and -#698426 from today). Lack -of manpower and wish for a different design is the reason thus feature -is not yet in iceweasel from Debian.

-
-
- - - Tags: debian, english. - - -
-
-
-

RSS feed