I made a Firefox add-on, and it was easy
So I moved to Firefox recently from Chrome and realized there is no working add-on to share to Diaspora* (I don't like bookmarklets on a desktop). To my surprise making a simple add-on has been made really simple via the Add-on Builder. Half an hour and I had my add-on published, amazing work by Mozilla!
Basically currently the add-on is just a button on the add-on bar to share the current tab via the Diaspora* Advanced Sharer by Bartimeo*. In the future I would like to implement the following:
- Move the icon to the navigation bar
- Include chosen image to shared post
- Query user about hashtags
- Allow option to set pod via settings instead of using D*AS.
Install Diaspora* Advanced Sharer -add-on here
To create your own add-on quickly - check out this quick tutorial, then register and get hacking!
Write a comment
Sharetus sharing plugin for Nokia N9 version 0.5.0 out

Just pushed version 0.5.0 of Sharetus out for testing. Still some features to be implemented before I submit the application to Nokia Store.
Important! Please install the package via the N9 browser so that dependencies are handled automatically. You need to have external sources for application packages enabled in settings to install.
INSTALL
or type http://goo.gl/Atzwo in the browser URL bar.
Sharetus is a plugin for Share UI and enables sharing to many popular social networks and bookmarking sites directly from the browser. Currently supported targets:
- Diaspora*
- Google+
- Tumblr
- DZone
- Ping FM
- Delicious
- Google Bookmarks
- Google Translate
- Digg
- StumbleUpon
- Add settings removal on package remove/purge
- Add image support for Diaspora*
- Add post excerpt for supported targets
- Retrieve tags after app load to decrease startup time
- Enable on/off setting for all targets
- Add possibility to add custom targets
- Fix issue with application image
The code can be found on Github. If you find any issues, please let me know!
Weekend project - cable cleanup
I've always been bad with organizing cables. I'm terrible at it. In addition I prefer to have a desktop as my main computer so I have lots of them. Add to the basic set up speakers, a couple of external hard drives, phono preamp, USB hub, webcam and various other bits and pieces and there's a lot of cables. Usually I do a proper cleanup a few times a year, taking everything apart and then trying to set up the cables properly. This time I decided to overdose on cable ties and here is the result:
Quite clean looking by my standards, and semi-easy to dust under the cables.
How do you fight the cable mess?
From Subversion to Git, from Github to Bitbucket
Playing around with Tizen SDK beta










Python meetup in Helsinki 7th March
Received this message today:
From: Mikko OhtamaaDate: Mon, 27 Feb 2012 14:33:25 +0200Subject: 1st Helsinki Python meet-up 7.3.2012Dear Pythoneers,
Python Finland is excited to announce 1st Helsinki Python meet-up:
7.3.2012 Wednesday
18:00-
Bruuveri cabinet
http://www.bruuveri.fi/The event fill be held in both English and Finnish depending on the
audience context.In the program:
* Talks (30 minutes each, please reserve beforehand by contacting
halli...@python.fi)* Company pitches
* Lighting talks (5 min each, no need to reserve beforehand)
* Great editor wars
Be there and unroll your loops.
We thank our wonderful sponsor Reaktor for making this event possible.
Yours truly,
Mikko Ohtamaa
Secretary
Python Finland
Planning on going - you should too if you're in Helsinki and interested in Python!
Nokia N9 Share UI plugin 'Sharetus'

Sharetus
My first application for the Nokia N9 is in the stage where I feel comfortable releasing it to public testing. The application is a kind of bookmarklet launcher since the default N9 browser doesn't support them. Bookmarklets are available for many sites on the net and are very popular in doing things like sharing links.
Sharetus currently has a small list of targets which will grow later as I get feedback and requests. Also the list will be made configurable so you can disable sites you don't need from the list and add your own.
There is also hashtag support for Diaspora*, Twitter and Ping FM. You can choose tags from the device central tag database (Tracker DB) and also add new tags. Diaspora* target includes markdown bolding and I am also planning other custom features per target, where supported. These include image and post excerpt where available.
Installing
Since the application is not ready for Nokia Store submission yet, you will need to install it via the device browser. This will ensure automatic dependency handling. Make sure first that you have enabled custom application sources.
Shortened install URL (from GitHub): http://goo.gl/35Rba
There are some issues still and the UI is a bit rough looking. Also I couldn't get a custom icon to the Share UI so currently I'm using the stock 'share' icon that is used in many other applications. Any help on this issue is appreciated!
Code
The application is mostly PySide Python code and the UI is made using QML. Share UI integration is made with C++. You can view and clone the code from GitHub. If you want to participate, please feel free to fork and do pull requests.
Feedback
If you have a GitHub account, please use the issue tracker there for issues and feature requests. Otherwise you can contact me via email or social media (links in the Social box on the right). You can also leave comments to this post but please note my blog doesn't support comment notifications yet..
Licence
The code is licensed with a MIT style license - you can do whatever you want with it as long as you keep the original license intact. See more at GitHub.
Happy sharing and please let me know if you find this application useful and how I can make it better! Also big thanks to Tuomas Kulve whose command line sharing plugin I used as a base for the C++ classes in this application!
Mass convert documents to PDF with LibreOffice
The need: Convert ~30 Word documents to PDF (for my wife).
Immediately went to Google and stumbled on a few blog posts about the "hidden" batch conversion features of LibreOffice. It's fast, simple and works directly from the command line:
libreoffice -headless -convert-to pdf:writer_pdf_Export *.doc
This will convert all the *.doc documents in the current path to PDF files using the Writer exporter. Similarly you can of course convert any other supported format, and also define output path.
See libreoffice -help for more switches.
[thanks]
Haaste: Lahjoita sinäkin Pekka Haavistolle
Vaalit 2012. Kansainvälisissä luottamustehtävissä kokemusta kerännyt kansanedustaja Pekka Haavisto nousee aktiivisen kansanliikkeen siivittämänä toiselle kierrokselle ammattipolitiikko Sauli Niinistöä vastaan. Kuinka tämä tapahtui?
Raha ei ole missään nimessä ainoa eikä tärkein merkitsevä asia siinä kuka menestyy vaaleissa. Sen todistaa jo Haaviston menestys ja pääsy toiselle kierrokselle. Kuitenkin, raha mahdollistaa sen että ehdokkaan mielipiteet saadaan julki isommalle määrälle ihmisiä.
Niinistön ennakkoilmoitus vaalibudjetista on yhteensä 1 miljoona euroa, josta jopa 322 000 on yrityksiltä ja 631 000 hyväosaisilta yksityishenkilöiltä. Haavistolla ei ole samanlaista rahapiiriä takanaan, vaalibudjetiksi oli ilmoitettu 250 000, josta 35 000 yrityksiltä ja 115 000 yksityishenkilöiltä.
Haaviston menestys perustuukin meihin aivan normaaleihin kansalaisiin, jotka tahdomme tasapuolisemman, tasa-arvoisemman ja välittävämmän Suomen. Kansalaiset ovatkin ahkerasti tehneet pieniä lahjoituksia kampanjatiimille. Tämän kirjoittamisen aikana yksityislahjoittajia on yhteensä 3417 kpl ja keskivertolahjoituksena 25 euroa (tiedot täältä). Haavisto on yhteisbudjetissaan kuitenkin kaukana vielä Niinistön kampanjatiimin käytössä olevasta rahamäärästä.
Tämä on haaste. Lahjoita sinäkin pieni summa Haaviston kampanjaan ja auta tällä yksinkertaisella ja halvalla teolla kansainvälisessä toiminnassa kokeneen ja meistä normaaleista kansalaisista välittävän presidentin valitseminen!
Meidän perhe lahjoitti juuri 20 euroa - paljon sinä lahjoitat?
It's Ubuntu Community Appreciation day!

It's November 20th, the first Ubuntu Community Appreciation day!
As primarely just a user, I don't have anyone specific that I could thank. However, I would like to thank everyone who is constantly working on to provide excellent releases time after time! You guys and gals are absolutely the best and I love you all!
I <3 Ubuntu














Comments (post a comment)
[click to see 2 comments]