]> pere.pagekite.me Git - homepage.git/blob - blog/index.html
Generated.
[homepage.git] / blog / index.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
6 <title>Petter Reinholdtsen</title>
7 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/style.css" />
8 <link rel="stylesheet" type="text/css" media="screen" href="http://people.skolelinux.org/pere/blog/vim.css" />
9 <link rel="alternate" title="RSS Feed" href="http://people.skolelinux.org/pere/blog/index.rss" type="application/rss+xml" />
10 </head>
11 <body>
12 <div class="title">
13 <h1>
14 <a href="http://people.skolelinux.org/pere/blog/">Petter Reinholdtsen</a>
15
16 </h1>
17
18 </div>
19
20
21
22 <div class="entry">
23 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Fetching_trusted_timestamps_using_the_rfc3161ng_python_module.html">Fetching trusted timestamps using the rfc3161ng python module</a></div>
24 <div class="date"> 8th October 2018</div>
25 <div class="body"><p>I have earlier covered the basics of trusted timestamping using the
26 'openssl ts' client. See blog post for
27 <a href="http://people.skolelinux.org/pere/blog/Public_Trusted_Timestamping_services_for_everyone.html">2014</a>,
28 <a href="http://people.skolelinux.org/pere/blog/syslog_trusted_timestamp___chain_of_trusted_timestamps_for_your_syslog.html">2016</a>
29 and
30 <a href="http://people.skolelinux.org/pere/blog/Idea_for_storing_trusted_timestamps_in_a_Noark_5_archive.html">2017</a>
31 for those stories. But some times I want to integrate the timestamping
32 in other code, and recently I needed to integrate it into Python.
33 After searching a bit, I found
34 <a href="https://dev.entrouvert.org/projects/python-rfc3161">the
35 rfc3161 library</a> which seemed like a good fit, but I soon
36 discovered it only worked for python version 2, and I needed something
37 that work with python version 3. Luckily I next came across
38 <a href="https://github.com/trbs/rfc3161ng/">the rfc3161ng library</a>,
39 a fork of the original rfc3161 library. Not only is it working with
40 python 3, it have fixed a few of the bugs in the original library, and
41 it has an active maintainer. I decided to wrap it up and make it
42 <a href="https://tracker.debian.org/pkg/python-rfc3161ng">available in
43 Debian</a>, and a few days ago it entered Debian unstable and testing.</p>
44
45 <p>Using the library is fairly straight forward. The only slightly
46 problematic step is to fetch the required certificates to verify the
47 timestamp. For some services it is straight forward, while for others
48 I have not yet figured out how to do it. Here is a small standalone
49 code example based on of the integration tests in the library code:</p>
50
51 <pre>
52 #!/usr/bin/python3
53
54 """
55
56 Python 3 script demonstrating how to use the rfc3161ng module to
57 get trusted timestamps.
58
59 The license of this code is the same as the license of the rfc3161ng
60 library, ie MIT/BSD.
61
62 """
63
64 import os
65 import pyasn1.codec.der
66 import rfc3161ng
67 import subprocess
68 import tempfile
69 import urllib.request
70
71 def store(f, data):
72 f.write(data)
73 f.flush()
74 f.seek(0)
75
76 def fetch(url, f=None):
77 response = urllib.request.urlopen(url)
78 data = response.read()
79 if f:
80 store(f, data)
81 return data
82
83 def main():
84 with tempfile.NamedTemporaryFile() as cert_f,\
85 tempfile.NamedTemporaryFile() as ca_f,\
86 tempfile.NamedTemporaryFile() as msg_f,\
87 tempfile.NamedTemporaryFile() as tsr_f:
88
89 # First fetch certificates used by service
90 certificate_data = fetch('https://freetsa.org/files/tsa.crt', cert_f)
91 ca_data_data = fetch('https://freetsa.org/files/cacert.pem', ca_f)
92
93 # Then timestamp the message
94 timestamper = \
95 rfc3161ng.RemoteTimestamper('http://freetsa.org/tsr',
96 certificate=certificate_data)
97 data = b"Python forever!\n"
98 tsr = timestamper(data=data, return_tsr=True)
99
100 # Finally, convert message and response to something 'openssl ts' can verify
101 store(msg_f, data)
102 store(tsr_f, pyasn1.codec.der.encoder.encode(tsr))
103 args = ["openssl", "ts", "-verify",
104 "-data", msg_f.name,
105 "-in", tsr_f.name,
106 "-CAfile", ca_f.name,
107 "-untrusted", cert_f.name]
108 subprocess.check_call(args)
109
110 if '__main__' == __name__:
111 main()
112 </pre>
113
114 <p>The code fetches the required certificates, store them as temporary
115 files, timestamp a simple message, store the message and timestamp to
116 disk and ask 'openssl ts' to verify the timestamp. A timestamp is
117 around 1.5 kiB in size, and should be fairly easy to store for future
118 use.</p>
119
120 <p>As usual, if you use Bitcoin and want to show your support of my
121 activities, please send Bitcoin donations to my address
122 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
123 </div>
124 <div class="tags">
125
126
127 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet</a>.
128
129
130 </div>
131 </div>
132 <div class="padding"></div>
133
134 <div class="entry">
135 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Automatic_Google_Drive_sync_using_grive_in_Debian.html">Automatic Google Drive sync using grive in Debian</a></div>
136 <div class="date"> 4th October 2018</div>
137 <div class="body"><p>A few days, I rescued a Windows victim over to Debian. To try to
138 rescue the remains, I helped set up automatic sync with Google Drive.
139 I did not find any sensible Debian package handling this
140 automatically, so I rebuild the grive2 source from
141 <a href="http://www.webupd8.org/">the Ubuntu UPD8 PPA</a> to do the
142 task and added a autostart desktop entry and a small shell script to
143 run in the background while the user is logged in to do the sync.
144 Here is a sketch of the setup for future reference.</p>
145
146 <p>I first created <tt>~/googledrive</tt>, entered the directory and
147 ran '<tt>grive -a</tt>' to authenticate the machine/user. Next, I
148 created a autostart hook in <tt>~/.config/autostart/grive.desktop</tt>
149 to start the sync when the user log in:</p>
150
151 <p><blockquote><pre>
152 [Desktop Entry]
153 Name=Google drive autosync
154 Type=Application
155 Exec=/home/user/bin/grive-sync
156 </pre></blockquote></p>
157
158 <p>Finally, I wrote the <tt>~/bin/grive-sync</tt> script to sync
159 ~/googledrive/ with the files in Google Drive.</p>
160
161 <p><blockquote><pre>
162 #!/bin/sh
163 set -e
164 cd ~/
165 cleanup() {
166 if [ "$syncpid" ] ; then
167 kill $syncpid
168 fi
169 }
170 trap cleanup EXIT INT QUIT
171 /usr/lib/grive/grive-sync.sh listen googledrive 2>&1 | sed "s%^%$0:%" &
172 syncpdi=$!
173 while true; do
174 if ! xhost >/dev/null 2>&1 ; then
175 echo "no DISPLAY, exiting as the user probably logged out"
176 exit 1
177 fi
178 if [ ! -e /run/user/1000/grive-sync.sh_googledrive ] ; then
179 /usr/lib/grive/grive-sync.sh sync googledrive
180 fi
181 sleep 300
182 done 2>&1 | sed "s%^%$0:%"
183 </pre></blockquote></p>
184
185 <p>Feel free to use the setup if you want. It can be assumed to be
186 GNU GPL v2 licensed (or any later version, at your leisure), but I
187 doubt this code is possible to claim copyright on.</p>
188
189 <p>As usual, if you use Bitcoin and want to show your support of my
190 activities, please send Bitcoin donations to my address
191 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
192 </div>
193 <div class="tags">
194
195
196 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
197
198
199 </div>
200 </div>
201 <div class="padding"></div>
202
203 <div class="entry">
204 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Valutakrambod___A_python_and_bitcoin_love_story.html">Valutakrambod - A python and bitcoin love story</a></div>
205 <div class="date">29th September 2018</div>
206 <div class="body"><p>It would come as no surprise to anyone that I am interested in
207 bitcoins and virtual currencies. I've been keeping an eye on virtual
208 currencies for many years, and it is part of the reason a few months
209 ago, I started writing a python library for collecting currency
210 exchange rates and trade on virtual currency exchanges. I decided to
211 name the end result valutakrambod, which perhaps can be translated to
212 small currency shop.</p>
213
214 <p>The library uses the tornado python library to handle HTTP and
215 websocket connections, and provide a asynchronous system for
216 connecting to and tracking several services. The code is available
217 from
218 <a href="http://github.com/petterreinholdtsen/valutakrambod">github</a>.</p>
219
220 </p>There are two example clients of the library. One is very simple and
221 list every updated buy/sell price received from the various services.
222 This code is started by running bin/btc-rates and call the client code
223 in valutakrambod/client.py. The simple client look like this:</p>
224
225 <p><blockquote><pre>
226 import functools
227 import tornado.ioloop
228 import valutakrambod
229 class SimpleClient(object):
230 def __init__(self):
231 self.services = []
232 self.streams = []
233 pass
234 def newdata(self, service, pair, changed):
235 print("%-15s %s-%s: %8.3f %8.3f" % (
236 service.servicename(),
237 pair[0],
238 pair[1],
239 service.rates[pair]['ask'],
240 service.rates[pair]['bid'])
241 )
242 async def refresh(self, service):
243 await service.fetchRates(service.wantedpairs)
244 def run(self):
245 self.ioloop = tornado.ioloop.IOLoop.current()
246 self.services = valutakrambod.service.knownServices()
247 for e in self.services:
248 service = e()
249 service.subscribe(self.newdata)
250 stream = service.websocket()
251 if stream:
252 self.streams.append(stream)
253 else:
254 # Fetch information from non-streaming services immediately
255 self.ioloop.call_later(len(self.services),
256 functools.partial(self.refresh, service))
257 # as well as regularly
258 service.periodicUpdate(60)
259 for stream in self.streams:
260 stream.connect()
261 try:
262 self.ioloop.start()
263 except KeyboardInterrupt:
264 print("Interrupted by keyboard, closing all connections.")
265 pass
266 for stream in self.streams:
267 stream.close()
268 </pre></blockquote></p>
269
270 <p>The library client loops over all known "public" services,
271 initialises it, subscribes to any updates from the service, checks and
272 activates websocket streaming if the service provide it, and if no
273 streaming is supported, fetches information from the service and sets
274 up a periodic update every 60 seconds. The output from this client
275 can look like this:</p>
276
277 <p><blockquote><pre>
278 Bl3p BTC-EUR: 5687.110 5653.690
279 Bl3p BTC-EUR: 5687.110 5653.690
280 Bl3p BTC-EUR: 5687.110 5653.690
281 Hitbtc BTC-USD: 6594.560 6593.690
282 Hitbtc BTC-USD: 6594.560 6593.690
283 Bl3p BTC-EUR: 5687.110 5653.690
284 Hitbtc BTC-USD: 6594.570 6593.690
285 Bitstamp EUR-USD: 1.159 1.154
286 Hitbtc BTC-USD: 6594.570 6593.690
287 Hitbtc BTC-USD: 6594.580 6593.690
288 Hitbtc BTC-USD: 6594.580 6593.690
289 Hitbtc BTC-USD: 6594.580 6593.690
290 Bl3p BTC-EUR: 5687.110 5653.690
291 Paymium BTC-EUR: 5680.000 5620.240
292 </pre></blockquote></p>
293
294 <p>The exchange order book is tracked in addition to the best buy/sell
295 price, for those that need to know the details.</p>
296
297 <p>The other example client is focusing on providing a curses view
298 with updated buy/sell prices as soon as they are received from the
299 services. This code is located in bin/btc-rates-curses and activated
300 by using the '-c' argument. Without the argument the "curses" output
301 is printed without using curses, which is useful for debugging. The
302 curses view look like this:</p>
303
304 <p><blockquote><pre>
305 Name Pair Bid Ask Spr Ftcd Age
306 BitcoinsNorway BTCEUR 5591.8400 5711.0800 2.1% 16 nan 60
307 Bitfinex BTCEUR 5671.0000 5671.2000 0.0% 16 22 59
308 Bitmynt BTCEUR 5580.8000 5807.5200 3.9% 16 41 60
309 Bitpay BTCEUR 5663.2700 nan nan% 15 nan 60
310 Bitstamp BTCEUR 5664.8400 5676.5300 0.2% 0 1 1
311 Bl3p BTCEUR 5653.6900 5684.9400 0.5% 0 nan 19
312 Coinbase BTCEUR 5600.8200 5714.9000 2.0% 15 nan nan
313 Kraken BTCEUR 5670.1000 5670.2000 0.0% 14 17 60
314 Paymium BTCEUR 5620.0600 5680.0000 1.1% 1 7515 nan
315 BitcoinsNorway BTCNOK 52898.9700 54034.6100 2.1% 16 nan 60
316 Bitmynt BTCNOK 52960.3200 54031.1900 2.0% 16 41 60
317 Bitpay BTCNOK 53477.7833 nan nan% 16 nan 60
318 Coinbase BTCNOK 52990.3500 54063.0600 2.0% 15 nan nan
319 MiraiEx BTCNOK 52856.5300 54100.6000 2.3% 16 nan nan
320 BitcoinsNorway BTCUSD 6495.5300 6631.5400 2.1% 16 nan 60
321 Bitfinex BTCUSD 6590.6000 6590.7000 0.0% 16 23 57
322 Bitpay BTCUSD 6564.1300 nan nan% 15 nan 60
323 Bitstamp BTCUSD 6561.1400 6565.6200 0.1% 0 2 1
324 Coinbase BTCUSD 6504.0600 6635.9700 2.0% 14 nan 117
325 Gemini BTCUSD 6567.1300 6573.0700 0.1% 16 89 nan
326 Hitbtc+BTCUSD 6592.6200 6594.2100 0.0% 0 0 0
327 Kraken BTCUSD 6565.2000 6570.9000 0.1% 15 17 58
328 Exchangerates EURNOK 9.4665 9.4665 0.0% 16 107789 nan
329 Norgesbank EURNOK 9.4665 9.4665 0.0% 16 107789 nan
330 Bitstamp EURUSD 1.1537 1.1593 0.5% 4 5 1
331 Exchangerates EURUSD 1.1576 1.1576 0.0% 16 107789 nan
332 BitcoinsNorway LTCEUR 1.0000 49.0000 98.0% 16 nan nan
333 BitcoinsNorway LTCNOK 492.4800 503.7500 2.2% 16 nan 60
334 BitcoinsNorway LTCUSD 1.0221 49.0000 97.9% 15 nan nan
335 Norgesbank USDNOK 8.1777 8.1777 0.0% 16 107789 nan
336 </pre></blockquote></p>
337
338 <p>The code for this client is too complex for a simple blog post, so
339 you will have to check out the git repository to figure out how it
340 work. What I can tell is how the three last numbers on each line
341 should be interpreted. The first is how many seconds ago information
342 was received from the service. The second is how long ago, according
343 to the service, the provided information was updated. The last is an
344 estimate on how often the buy/sell values change.</p>
345
346 <p>If you find this library useful, or would like to improve it, I
347 would love to hear from you. Note that for some of the services I've
348 implemented a trading API. It might be the topic of a future blog
349 post.</p>
350
351 <p>As usual, if you use Bitcoin and want to show your support of my
352 activities, please send Bitcoin donations to my address
353 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
354 </div>
355 <div class="tags">
356
357
358 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
359
360
361 </div>
362 </div>
363 <div class="padding"></div>
364
365 <div class="entry">
366 <div class="title"><a href="http://people.skolelinux.org/pere/blog/VLC_in_Debian_now_can_do_bittorrent_streaming.html">VLC in Debian now can do bittorrent streaming</a></div>
367 <div class="date">24th September 2018</div>
368 <div class="body"><p>Back in February, I got curious to see
369 <a href="http://people.skolelinux.org/pere/blog/Using_VLC_to_stream_bittorrent_sources.html">if
370 VLC now supported Bittorrent streaming</a>. It did not, despite the
371 fact that the idea and code to handle such streaming had been floating
372 around for years. I did however find
373 <a href="https://github.com/johang/vlc-bittorrent">a standalone plugin
374 for VLC</a> to do it, and half a year later I decided to wrap up the
375 plugin and get it into Debian. I uploaded it to NEW a few days ago,
376 and am very happy to report that it
377 <a href="https://tracker.debian.org/pkg/vlc-plugin-bittorrent">entered
378 Debian</a> a few hours ago, and should be available in Debian/Unstable
379 tomorrow, and Debian/Testing in a few days.</p>
380
381 <p>With the vlc-plugin-bittorrent package installed you should be able
382 to stream videos using a simple call to</p>
383
384 <p><blockquote><pre>
385 vlc https://archive.org/download/TheGoat/TheGoat_archive.torrent
386 </pre></blockquote></p>
387
388 </p>It can handle magnet links too. Now if only native vlc had
389 bittorrent support. Then a lot more would be helping each other to
390 share public domain and creative commons movies. The plugin need some
391 stability work with seeking and picking the right file in a torrent
392 with many files, but is already usable. Please note that the plugin
393 is not removing downloaded files when vlc is stopped, so it can fill
394 up your disk if you are not careful. Have fun. :)</p>
395
396 <p>I would love to get help maintaining this package. Get in touch if
397 you are interested.</p>
398
399 <p>As usual, if you use Bitcoin and want to show your support of my
400 activities, please send Bitcoin donations to my address
401 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
402 </div>
403 <div class="tags">
404
405
406 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/verkidetfri">verkidetfri</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video">video</a>.
407
408
409 </div>
410 </div>
411 <div class="padding"></div>
412
413 <div class="entry">
414 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Using_the_Kodi_API_to_play_Youtube_videos.html">Using the Kodi API to play Youtube videos</a></div>
415 <div class="date"> 2nd September 2018</div>
416 <div class="body"><p>I continue to explore my Kodi installation, and today I wanted to
417 tell it to play a youtube URL I received in a chat, without having to
418 insert search terms using the on-screen keyboard. After searching the
419 web for API access to the Youtube plugin and testing a bit, I managed
420 to find a recipe that worked. If you got a kodi instance with its API
421 available from http://kodihost/jsonrpc, you can try the following to
422 have check out a nice cover band.</p>
423
424 <p><blockquote><pre>curl --silent --header 'Content-Type: application/json' \
425 --data-binary '{ "id": 1, "jsonrpc": "2.0", "method": "Player.Open",
426 "params": {"item": { "file":
427 "plugin://plugin.video.youtube/play/?video_id=LuRGVM9O0qg" } } }' \
428 http://projector.local/jsonrpc</pre></blockquote></p>
429
430 <p>I've extended kodi-stream program to take a video source as its
431 first argument. It can now handle direct video links, youtube links
432 and 'desktop' to stream my desktop to Kodi. It is almost like a
433 Chromecast. :)</p>
434
435 <p>As usual, if you use Bitcoin and want to show your support of my
436 activities, please send Bitcoin donations to my address
437 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
438 </div>
439 <div class="tags">
440
441
442 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/kodi">kodi</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video">video</a>.
443
444
445 </div>
446 </div>
447 <div class="padding"></div>
448
449 <div class="entry">
450 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Software_created_using_taxpayers__money_should_be_Free_Software.html">Software created using taxpayers’ money should be Free Software</a></div>
451 <div class="date">30th August 2018</div>
452 <div class="body"><p>It might seem obvious that software created using tax money should
453 be available for everyone to use and improve. Free Software
454 Foundation Europe recentlystarted a campaign to help get more people
455 to understand this, and I just signed the petition on
456 <a href="https://publiccode.eu/">Public Money, Public Code</a> to help
457 them. I hope you too will do the same.</p>
458 </div>
459 <div class="tags">
460
461
462 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett</a>.
463
464
465 </div>
466 </div>
467 <div class="padding"></div>
468
469 <div class="entry">
470 <div class="title"><a href="http://people.skolelinux.org/pere/blog/A_bit_more_on_privacy_respecting_health_monitor___fitness_tracker.html">A bit more on privacy respecting health monitor / fitness tracker</a></div>
471 <div class="date">13th August 2018</div>
472 <div class="body"><p>A few days ago, I wondered if there are any privacy respecting
473 health monitors and/or fitness trackers available for sale these days.
474 I would like to buy one, but do not want to share my personal data
475 with strangers, nor be forced to have a mobile phone to get data out
476 of the unit. I've received some ideas, and would like to share them
477 with you.
478
479 One interesting data point was a pointer to a Free Software app for
480 Android named
481 <a href="https://github.com/Freeyourgadget/Gadgetbridge/">Gadgetbridge</a>.
482 It provide cloudless collection and storing of data from a variety of
483 trackers. Its
484 <a href="https://github.com/Freeyourgadget/Gadgetbridge/#supported-devices">list
485 of supported devices</a> is a good indicator for units where the
486 protocol is fairly open, as it is obviously being handled by Free
487 Software. Other units are reportedly encrypting the collected
488 information with their own public key, making sure only the vendor
489 cloud service is able to extract data from the unit. The people
490 contacting me about Gadgetbirde said they were using
491 <a href="https://us.amazfit.com/shop/bip?variant=336750">Amazfit
492 Bip</a> and
493 <a href="http://www.xiaomimi6phone.com/xiaomi-mi-band-3-features-release-date-rumors/">Xiaomi
494 Band 3</a>.</p>
495
496 <p>I also got a suggestion to look at some of the units from Garmin.
497 I was told their GPS watches can be connected via USB and show up as a
498 USB storage device with
499 <a href="https://www.gpsbabel.org/htmldoc-development/fmt_garmin_fit.html">Garmin
500 FIT files</a> containing the collected measurements. While
501 proprietary, FIT files apparently can be read at least by
502 <a href="https://www.gpsbabel.org">GPSBabel</a> and the
503 <a href="https://apps.nextcloud.com/apps/gpxpod">GpxPod</a> Nextcloud
504 app. It is unclear to me if they can read step count and heart rate
505 data. The person I talked to was using a
506 <a href="https://buy.garmin.com/en-US/US/p/564291">Garmin Forerunner
507 935</a>, which is a fairly expensive unit. I doubt it is worth it for
508 a unit where the vendor clearly is trying its best to move from open
509 to closed systems. I still remember when Garmin dropped NMEA support
510 in its GPSes.</p>
511
512 <p>A final idea was to build ones own unit, perhaps by basing it on a
513 wearable hardware platforms like
514 <a href="https://learn.adafruit.com/flora-geo-watch">the Flora Geo
515 Watch</a>. Sound like fun, but I had more money than time to spend on
516 the topic, so I suspect it will have to wait for another time.</p>
517
518 <p>While I was working on tracking down links, I came across an
519 inspiring TED talk by Dave Debronkart about
520 <a href="https://archive.org/details/DavedeBronkart_2010X">being a
521 e-patient</a>, and discovered the web site
522 <a href="https://participatorymedicine.org/epatients/">Participatory
523 Medicine</a>. If you too want to track your own health and fitness
524 without having information about your private life floating around on
525 computers owned by others, I recommend checking it out.</p>
526
527 <p>As usual, if you use Bitcoin and want to show your support of my
528 activities, please send Bitcoin donations to my address
529 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
530 </div>
531 <div class="tags">
532
533
534 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
535
536
537 </div>
538 </div>
539 <div class="padding"></div>
540
541 <div class="entry">
542 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Privacy_respecting_health_monitor___fitness_tracker_.html">Privacy respecting health monitor / fitness tracker?</a></div>
543 <div class="date"> 7th August 2018</div>
544 <div class="body"><p>Dear lazyweb,</p>
545
546 <p>I wonder, is there a fitness tracker / health monitor available for
547 sale today that respect the users privacy? With this I mean a
548 watch/bracelet capable of measuring pulse rate and other
549 fitness/health related values (and by all means, also the correct time
550 and location if possible), which is <strong>only</strong> provided for
551 me to extract/read from the unit with computer without a radio beacon
552 and Internet connection. In other words, it do not depend on a cell
553 phone app, and do make the measurements available via other peoples
554 computer (aka "the cloud"). The collected data should be available
555 using only free software. I'm not interested in depending on some
556 non-free software that will leave me high and dry some time in the
557 future. I've been unable to find any such unit. I would like to buy
558 it. The ones I have seen for sale here in Norway are proud to report
559 that they share my health data with strangers (aka "cloud enabled").
560 Is there an alternative? I'm not interested in giving money to people
561 requiring me to accept "privacy terms" to allow myself to measure my
562 own health.</p>
563
564 <p>As usual, if you use Bitcoin and want to show your support of my
565 activities, please send Bitcoin donations to my address
566 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
567 </div>
568 <div class="tags">
569
570
571 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
572
573
574 </div>
575 </div>
576 <div class="padding"></div>
577
578 <div class="entry">
579 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Sharing_images_with_friends_and_family_using_RSS_and_EXIF_XMP_metadata.html">Sharing images with friends and family using RSS and EXIF/XMP metadata</a></div>
580 <div class="date">31st July 2018</div>
581 <div class="body"><p>For a while now, I have looked for a sensible way to share images
582 with my family using a self hosted solution, as it is unacceptable to
583 place images from my personal life under the control of strangers
584 working for data hoarders like Google or Dropbox. The last few days I
585 have drafted an approach that might work out, and I would like to
586 share it with you. I would like to publish images on a server under
587 my control, and point some Internet connected display units using some
588 free and open standard to the images I published. As my primary
589 language is not limited to ASCII, I need to store metadata using
590 UTF-8. Many years ago, I hoped to find a digital photo frame capable
591 of reading a RSS feed with image references (aka using the
592 &lt;enclosure&gt; RSS tag), but was unable to find a current supplier
593 of such frames. In the end I gave up that approach.</p>
594
595 <p>Some months ago, I discovered that
596 <a href="https://www.jwz.org/xscreensaver/">XScreensaver</a> is able to
597 read images from a RSS feed, and used it to set up a screen saver on
598 my home info screen, showing images from the Daily images feed from
599 NASA. This proved to work well. More recently I discovered that
600 <a href="https://kodi.tv">Kodi</a> (both using
601 <a href="https://www.openelec.tv/">OpenELEC</a> and
602 <a href="https://libreelec.tv">LibreELEC</a>) provide the
603 <a href="https://github.com/grinsted/script.screensaver.feedreader">Feedreader</a>
604 screen saver capable of reading a RSS feed with images and news. For
605 fun, I used it this summer to test Kodi on my parents TV by hooking up
606 a Raspberry PI unit with LibreELEC, and wanted to provide them with a
607 screen saver showing selected pictures from my selection.</p>
608
609 <p>Armed with motivation and a test photo frame, I set out to generate
610 a RSS feed for the Kodi instance. I adjusted my <a
611 href="https://freedombox.org/">Freedombox</a> instance, created
612 /var/www/html/privatepictures/, wrote a small Perl script to extract
613 title and description metadata from the photo files and generate the
614 RSS file. I ended up using Perl instead of python, as the
615 libimage-exiftool-perl Debian package seemed to handle the EXIF/XMP
616 tags I ended up using, while python3-exif did not. The relevant EXIF
617 tags only support ASCII, so I had to find better alternatives. XMP
618 seem to have the support I need.</p>
619
620 <p>I am a bit unsure which EXIF/XMP tags to use, as I would like to
621 use tags that can be easily added/updated using normal free software
622 photo managing software. I ended up using the tags set using this
623 exiftool command, as these tags can also be set using digiKam:</p>
624
625 <blockquote><pre>
626 exiftool -headline='The RSS image title' \
627 -description='The RSS image description.' \
628 -subject+=for-family photo.jpeg
629 </pre></blockquote>
630
631 <p>I initially tried the "-title" and "keyword" tags, but they were
632 invisible in digiKam, so I changed to "-headline" and "-subject". I
633 use the keyword/subject 'for-family' to flag that the photo should be
634 shared with my family. Images with this keyword set are located and
635 copied into my Freedombox for the RSS generating script to find.</p>
636
637 <p>Are there better ways to do this? Get in touch if you have better
638 suggestions.</p>
639
640 <p>As usual, if you use Bitcoin and want to show your support of my
641 activities, please send Bitcoin donations to my address
642 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
643 </div>
644 <div class="tags">
645
646
647 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>.
648
649
650 </div>
651 </div>
652 <div class="padding"></div>
653
654 <div class="entry">
655 <div class="title"><a href="http://people.skolelinux.org/pere/blog/Simple_streaming_the_Linux_desktop_to_Kodi_using_GStreamer_and_RTP.html">Simple streaming the Linux desktop to Kodi using GStreamer and RTP</a></div>
656 <div class="date">12th July 2018</div>
657 <div class="body"><p>Last night, I wrote
658 <a href="http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html">a
659 recipe to stream a Linux desktop using VLC to a instance of Kodi</a>.
660 During the day I received valuable feedback, and thanks to the
661 suggestions I have been able to rewrite the recipe into a much simpler
662 approach requiring no setup at all. It is a single script that take
663 care of it all.</p>
664
665 <p>This new script uses GStreamer instead of VLC to capture the
666 desktop and stream it to Kodi. This fixed the video quality issue I
667 saw initially. It further removes the need to add a m3u file on the
668 Kodi machine, as it instead connects to
669 <a href="https://kodi.wiki/view/JSON-RPC_API/v8">the JSON-RPC API in
670 Kodi</a> and simply ask Kodi to play from the stream created using
671 GStreamer. Streaming the desktop to Kodi now become trivial. Copy
672 the script below, run it with the DNS name or IP address of the kodi
673 server to stream to as the only argument, and watch your screen show
674 up on the Kodi screen. Note, it depend on multicast on the local
675 network, so if you need to stream outside the local network, the
676 script must be modified. Also note, I have no idea if audio work, as
677 I only care about the picture part.</p>
678
679 <blockquote><pre>
680 #!/bin/sh
681 #
682 # Stream the Linux desktop view to Kodi. See
683 # http://people.skolelinux.org/pere/blog/Streaming_the_Linux_desktop_to_Kodi_using_VLC_and_RTSP.html
684 # for backgorund information.
685
686 # Make sure the stream is stopped in Kodi and the gstreamer process is
687 # killed if something go wrong (for example if curl is unable to find the
688 # kodi server). Do the same when interrupting this script.
689 kodicmd() {
690 host="$1"
691 cmd="$2"
692 params="$3"
693 curl --silent --header 'Content-Type: application/json' \
694 --data-binary "{ \"id\": 1, \"jsonrpc\": \"2.0\", \"method\": \"$cmd\", \"params\": $params }" \
695 "http://$host/jsonrpc"
696 }
697 cleanup() {
698 if [ -n "$kodihost" ] ; then
699 # Stop the playing when we end
700 playerid=$(kodicmd "$kodihost" Player.GetActivePlayers "{}" |
701 jq .result[].playerid)
702 kodicmd "$kodihost" Player.Stop "{ \"playerid\" : $playerid }" > /dev/null
703 fi
704 if [ "$gstpid" ] && kill -0 "$gstpid" >/dev/null 2>&1; then
705 kill "$gstpid"
706 fi
707 }
708 trap cleanup EXIT INT
709
710 if [ -n "$1" ]; then
711 kodihost=$1
712 shift
713 else
714 kodihost=kodi.local
715 fi
716
717 mcast=239.255.0.1
718 mcastport=1234
719 mcastttl=1
720
721 pasrc=$(pactl list | grep -A2 'Source #' | grep 'Name: .*\.monitor$' | \
722 cut -d" " -f2|head -1)
723 gst-launch-1.0 ximagesrc use-damage=0 ! video/x-raw,framerate=30/1 ! \
724 videoconvert ! queue2 ! \
725 x264enc bitrate=8000 speed-preset=superfast tune=zerolatency qp-min=30 \
726 key-int-max=15 bframes=2 ! video/x-h264,profile=high ! queue2 ! \
727 mpegtsmux alignment=7 name=mux ! rndbuffersize max=1316 min=1316 ! \
728 udpsink host=$mcast port=$mcastport ttl-mc=$mcastttl auto-multicast=1 sync=0 \
729 pulsesrc device=$pasrc ! audioconvert ! queue2 ! avenc_aac ! queue2 ! mux. \
730 > /dev/null 2>&1 &
731 gstpid=$!
732
733 # Give stream a second to get going
734 sleep 1
735
736 # Ask kodi to start streaming using its JSON-RPC API
737 kodicmd "$kodihost" Player.Open \
738 "{\"item\": { \"file\": \"udp://@$mcast:$mcastport\" } }" > /dev/null
739
740 # wait for gst to end
741 wait "$gstpid"
742 </pre></blockquote>
743
744 <p>I hope you find the approach useful. I know I do.</p>
745
746 <p>As usual, if you use Bitcoin and want to show your support of my
747 activities, please send Bitcoin donations to my address
748 <b><a href="bitcoin:15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b">15oWEoG9dUPovwmUL9KWAnYRtNJEkP1u1b</a></b>.</p>
749 </div>
750 <div class="tags">
751
752
753 Tags: <a href="http://people.skolelinux.org/pere/blog/tags/debian">debian</a>, <a href="http://people.skolelinux.org/pere/blog/tags/english">english</a>, <a href="http://people.skolelinux.org/pere/blog/tags/kodi">kodi</a>, <a href="http://people.skolelinux.org/pere/blog/tags/video">video</a>.
754
755
756 </div>
757 </div>
758 <div class="padding"></div>
759
760 <p style="text-align: right;"><a href="index.rss"><img src="http://people.skolelinux.org/pere/blog/xml.gif" alt="RSS feed" width="36" height="14" /></a></p>
761 <div id="sidebar">
762
763
764
765 <h2>Archive</h2>
766 <ul>
767
768 <li>2018
769 <ul>
770
771 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/01/">January (1)</a></li>
772
773 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/02/">February (5)</a></li>
774
775 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/03/">March (5)</a></li>
776
777 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/04/">April (3)</a></li>
778
779 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/06/">June (2)</a></li>
780
781 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/07/">July (5)</a></li>
782
783 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/08/">August (3)</a></li>
784
785 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/09/">September (3)</a></li>
786
787 <li><a href="http://people.skolelinux.org/pere/blog/archive/2018/10/">October (2)</a></li>
788
789 </ul></li>
790
791 <li>2017
792 <ul>
793
794 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/01/">January (4)</a></li>
795
796 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/02/">February (3)</a></li>
797
798 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/03/">March (5)</a></li>
799
800 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/04/">April (2)</a></li>
801
802 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/06/">June (5)</a></li>
803
804 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/07/">July (1)</a></li>
805
806 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/08/">August (1)</a></li>
807
808 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/09/">September (3)</a></li>
809
810 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/10/">October (5)</a></li>
811
812 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/11/">November (3)</a></li>
813
814 <li><a href="http://people.skolelinux.org/pere/blog/archive/2017/12/">December (4)</a></li>
815
816 </ul></li>
817
818 <li>2016
819 <ul>
820
821 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/01/">January (3)</a></li>
822
823 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/02/">February (2)</a></li>
824
825 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/03/">March (3)</a></li>
826
827 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/04/">April (8)</a></li>
828
829 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/05/">May (8)</a></li>
830
831 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/06/">June (2)</a></li>
832
833 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/07/">July (2)</a></li>
834
835 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/08/">August (5)</a></li>
836
837 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/09/">September (2)</a></li>
838
839 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/10/">October (3)</a></li>
840
841 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/11/">November (8)</a></li>
842
843 <li><a href="http://people.skolelinux.org/pere/blog/archive/2016/12/">December (5)</a></li>
844
845 </ul></li>
846
847 <li>2015
848 <ul>
849
850 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/01/">January (7)</a></li>
851
852 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/02/">February (6)</a></li>
853
854 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/03/">March (1)</a></li>
855
856 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/04/">April (4)</a></li>
857
858 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/05/">May (3)</a></li>
859
860 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/06/">June (4)</a></li>
861
862 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/07/">July (6)</a></li>
863
864 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/08/">August (2)</a></li>
865
866 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/09/">September (2)</a></li>
867
868 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/10/">October (9)</a></li>
869
870 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/11/">November (6)</a></li>
871
872 <li><a href="http://people.skolelinux.org/pere/blog/archive/2015/12/">December (3)</a></li>
873
874 </ul></li>
875
876 <li>2014
877 <ul>
878
879 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/01/">January (2)</a></li>
880
881 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/02/">February (3)</a></li>
882
883 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/03/">March (8)</a></li>
884
885 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/04/">April (7)</a></li>
886
887 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/05/">May (1)</a></li>
888
889 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/06/">June (2)</a></li>
890
891 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/07/">July (2)</a></li>
892
893 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/08/">August (2)</a></li>
894
895 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/09/">September (5)</a></li>
896
897 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/10/">October (6)</a></li>
898
899 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/11/">November (3)</a></li>
900
901 <li><a href="http://people.skolelinux.org/pere/blog/archive/2014/12/">December (5)</a></li>
902
903 </ul></li>
904
905 <li>2013
906 <ul>
907
908 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/01/">January (11)</a></li>
909
910 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/02/">February (9)</a></li>
911
912 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/03/">March (9)</a></li>
913
914 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/04/">April (6)</a></li>
915
916 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/05/">May (9)</a></li>
917
918 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/06/">June (10)</a></li>
919
920 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/07/">July (7)</a></li>
921
922 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/08/">August (3)</a></li>
923
924 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/09/">September (5)</a></li>
925
926 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/10/">October (7)</a></li>
927
928 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/11/">November (9)</a></li>
929
930 <li><a href="http://people.skolelinux.org/pere/blog/archive/2013/12/">December (3)</a></li>
931
932 </ul></li>
933
934 <li>2012
935 <ul>
936
937 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/01/">January (7)</a></li>
938
939 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/02/">February (10)</a></li>
940
941 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/03/">March (17)</a></li>
942
943 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/04/">April (12)</a></li>
944
945 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/05/">May (12)</a></li>
946
947 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/06/">June (20)</a></li>
948
949 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/07/">July (17)</a></li>
950
951 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/08/">August (6)</a></li>
952
953 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/09/">September (9)</a></li>
954
955 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/10/">October (17)</a></li>
956
957 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/11/">November (10)</a></li>
958
959 <li><a href="http://people.skolelinux.org/pere/blog/archive/2012/12/">December (7)</a></li>
960
961 </ul></li>
962
963 <li>2011
964 <ul>
965
966 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/01/">January (16)</a></li>
967
968 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/02/">February (6)</a></li>
969
970 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/03/">March (6)</a></li>
971
972 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/04/">April (7)</a></li>
973
974 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/05/">May (3)</a></li>
975
976 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/06/">June (2)</a></li>
977
978 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/07/">July (7)</a></li>
979
980 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/08/">August (6)</a></li>
981
982 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/09/">September (4)</a></li>
983
984 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/10/">October (2)</a></li>
985
986 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/11/">November (3)</a></li>
987
988 <li><a href="http://people.skolelinux.org/pere/blog/archive/2011/12/">December (1)</a></li>
989
990 </ul></li>
991
992 <li>2010
993 <ul>
994
995 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/01/">January (2)</a></li>
996
997 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/02/">February (1)</a></li>
998
999 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/03/">March (3)</a></li>
1000
1001 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/04/">April (3)</a></li>
1002
1003 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/05/">May (9)</a></li>
1004
1005 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/06/">June (14)</a></li>
1006
1007 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/07/">July (12)</a></li>
1008
1009 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/08/">August (13)</a></li>
1010
1011 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/09/">September (7)</a></li>
1012
1013 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/10/">October (9)</a></li>
1014
1015 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/11/">November (13)</a></li>
1016
1017 <li><a href="http://people.skolelinux.org/pere/blog/archive/2010/12/">December (12)</a></li>
1018
1019 </ul></li>
1020
1021 <li>2009
1022 <ul>
1023
1024 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/01/">January (8)</a></li>
1025
1026 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/02/">February (8)</a></li>
1027
1028 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/03/">March (12)</a></li>
1029
1030 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/04/">April (10)</a></li>
1031
1032 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/05/">May (9)</a></li>
1033
1034 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/06/">June (3)</a></li>
1035
1036 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/07/">July (4)</a></li>
1037
1038 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/08/">August (3)</a></li>
1039
1040 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/09/">September (1)</a></li>
1041
1042 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/10/">October (2)</a></li>
1043
1044 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/11/">November (3)</a></li>
1045
1046 <li><a href="http://people.skolelinux.org/pere/blog/archive/2009/12/">December (3)</a></li>
1047
1048 </ul></li>
1049
1050 <li>2008
1051 <ul>
1052
1053 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/11/">November (5)</a></li>
1054
1055 <li><a href="http://people.skolelinux.org/pere/blog/archive/2008/12/">December (7)</a></li>
1056
1057 </ul></li>
1058
1059 </ul>
1060
1061
1062
1063 <h2>Tags</h2>
1064 <ul>
1065
1066 <li><a href="http://people.skolelinux.org/pere/blog/tags/3d-printer">3d-printer (16)</a></li>
1067
1068 <li><a href="http://people.skolelinux.org/pere/blog/tags/amiga">amiga (1)</a></li>
1069
1070 <li><a href="http://people.skolelinux.org/pere/blog/tags/aros">aros (1)</a></li>
1071
1072 <li><a href="http://people.skolelinux.org/pere/blog/tags/bankid">bankid (4)</a></li>
1073
1074 <li><a href="http://people.skolelinux.org/pere/blog/tags/bitcoin">bitcoin (10)</a></li>
1075
1076 <li><a href="http://people.skolelinux.org/pere/blog/tags/bootsystem">bootsystem (17)</a></li>
1077
1078 <li><a href="http://people.skolelinux.org/pere/blog/tags/bsa">bsa (2)</a></li>
1079
1080 <li><a href="http://people.skolelinux.org/pere/blog/tags/chrpath">chrpath (2)</a></li>
1081
1082 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian">debian (163)</a></li>
1083
1084 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian edu">debian edu (158)</a></li>
1085
1086 <li><a href="http://people.skolelinux.org/pere/blog/tags/debian-handbook">debian-handbook (4)</a></li>
1087
1088 <li><a href="http://people.skolelinux.org/pere/blog/tags/digistan">digistan (10)</a></li>
1089
1090 <li><a href="http://people.skolelinux.org/pere/blog/tags/dld">dld (17)</a></li>
1091
1092 <li><a href="http://people.skolelinux.org/pere/blog/tags/docbook">docbook (25)</a></li>
1093
1094 <li><a href="http://people.skolelinux.org/pere/blog/tags/drivstoffpriser">drivstoffpriser (4)</a></li>
1095
1096 <li><a href="http://people.skolelinux.org/pere/blog/tags/english">english (387)</a></li>
1097
1098 <li><a href="http://people.skolelinux.org/pere/blog/tags/fiksgatami">fiksgatami (23)</a></li>
1099
1100 <li><a href="http://people.skolelinux.org/pere/blog/tags/fildeling">fildeling (13)</a></li>
1101
1102 <li><a href="http://people.skolelinux.org/pere/blog/tags/freeculture">freeculture (32)</a></li>
1103
1104 <li><a href="http://people.skolelinux.org/pere/blog/tags/freedombox">freedombox (9)</a></li>
1105
1106 <li><a href="http://people.skolelinux.org/pere/blog/tags/frikanalen">frikanalen (18)</a></li>
1107
1108 <li><a href="http://people.skolelinux.org/pere/blog/tags/h264">h264 (20)</a></li>
1109
1110 <li><a href="http://people.skolelinux.org/pere/blog/tags/intervju">intervju (42)</a></li>
1111
1112 <li><a href="http://people.skolelinux.org/pere/blog/tags/isenkram">isenkram (16)</a></li>
1113
1114 <li><a href="http://people.skolelinux.org/pere/blog/tags/kart">kart (20)</a></li>
1115
1116 <li><a href="http://people.skolelinux.org/pere/blog/tags/kodi">kodi (3)</a></li>
1117
1118 <li><a href="http://people.skolelinux.org/pere/blog/tags/ldap">ldap (9)</a></li>
1119
1120 <li><a href="http://people.skolelinux.org/pere/blog/tags/lego">lego (4)</a></li>
1121
1122 <li><a href="http://people.skolelinux.org/pere/blog/tags/lenker">lenker (8)</a></li>
1123
1124 <li><a href="http://people.skolelinux.org/pere/blog/tags/lsdvd">lsdvd (2)</a></li>
1125
1126 <li><a href="http://people.skolelinux.org/pere/blog/tags/ltsp">ltsp (1)</a></li>
1127
1128 <li><a href="http://people.skolelinux.org/pere/blog/tags/mesh network">mesh network (8)</a></li>
1129
1130 <li><a href="http://people.skolelinux.org/pere/blog/tags/multimedia">multimedia (41)</a></li>
1131
1132 <li><a href="http://people.skolelinux.org/pere/blog/tags/nice free software">nice free software (10)</a></li>
1133
1134 <li><a href="http://people.skolelinux.org/pere/blog/tags/norsk">norsk (299)</a></li>
1135
1136 <li><a href="http://people.skolelinux.org/pere/blog/tags/nuug">nuug (190)</a></li>
1137
1138 <li><a href="http://people.skolelinux.org/pere/blog/tags/offentlig innsyn">offentlig innsyn (33)</a></li>
1139
1140 <li><a href="http://people.skolelinux.org/pere/blog/tags/open311">open311 (2)</a></li>
1141
1142 <li><a href="http://people.skolelinux.org/pere/blog/tags/opphavsrett">opphavsrett (72)</a></li>
1143
1144 <li><a href="http://people.skolelinux.org/pere/blog/tags/personvern">personvern (107)</a></li>
1145
1146 <li><a href="http://people.skolelinux.org/pere/blog/tags/raid">raid (2)</a></li>
1147
1148 <li><a href="http://people.skolelinux.org/pere/blog/tags/reactos">reactos (1)</a></li>
1149
1150 <li><a href="http://people.skolelinux.org/pere/blog/tags/reprap">reprap (11)</a></li>
1151
1152 <li><a href="http://people.skolelinux.org/pere/blog/tags/rfid">rfid (3)</a></li>
1153
1154 <li><a href="http://people.skolelinux.org/pere/blog/tags/robot">robot (10)</a></li>
1155
1156 <li><a href="http://people.skolelinux.org/pere/blog/tags/rss">rss (1)</a></li>
1157
1158 <li><a href="http://people.skolelinux.org/pere/blog/tags/ruter">ruter (6)</a></li>
1159
1160 <li><a href="http://people.skolelinux.org/pere/blog/tags/scraperwiki">scraperwiki (2)</a></li>
1161
1162 <li><a href="http://people.skolelinux.org/pere/blog/tags/sikkerhet">sikkerhet (55)</a></li>
1163
1164 <li><a href="http://people.skolelinux.org/pere/blog/tags/sitesummary">sitesummary (4)</a></li>
1165
1166 <li><a href="http://people.skolelinux.org/pere/blog/tags/skepsis">skepsis (5)</a></li>
1167
1168 <li><a href="http://people.skolelinux.org/pere/blog/tags/standard">standard (55)</a></li>
1169
1170 <li><a href="http://people.skolelinux.org/pere/blog/tags/stavekontroll">stavekontroll (6)</a></li>
1171
1172 <li><a href="http://people.skolelinux.org/pere/blog/tags/stortinget">stortinget (12)</a></li>
1173
1174 <li><a href="http://people.skolelinux.org/pere/blog/tags/surveillance">surveillance (55)</a></li>
1175
1176 <li><a href="http://people.skolelinux.org/pere/blog/tags/sysadmin">sysadmin (4)</a></li>
1177
1178 <li><a href="http://people.skolelinux.org/pere/blog/tags/usenix">usenix (2)</a></li>
1179
1180 <li><a href="http://people.skolelinux.org/pere/blog/tags/valg">valg (9)</a></li>
1181
1182 <li><a href="http://people.skolelinux.org/pere/blog/tags/verkidetfri">verkidetfri (12)</a></li>
1183
1184 <li><a href="http://people.skolelinux.org/pere/blog/tags/video">video (68)</a></li>
1185
1186 <li><a href="http://people.skolelinux.org/pere/blog/tags/vitenskap">vitenskap (4)</a></li>
1187
1188 <li><a href="http://people.skolelinux.org/pere/blog/tags/web">web (41)</a></li>
1189
1190 </ul>
1191
1192
1193 </div>
1194 <p style="text-align: right">
1195 Created by <a href="http://steve.org.uk/Software/chronicle">Chronicle v4.6</a>
1196 </p>
1197
1198 </body>
1199 </html>