Pedalare a Zug

Sono ormai 48 ore che sono in Svizzera. Mi sono trasferito a Zug. Sembra ormai un lontano ricordo quella banchina della stazione termini, dove domenica mattina chiaccheravo con un turista tedesco. Lui aveva attaccato bottone vedendo la mia brompton carica di bagagli. Mi raccontava che la bici in fitto dell’albergo gliel’avevano rubata, ed aveva dovuto restituire 200 euro. Si chiedeva come mai la signora dell’albergo non gli avesse dato una catena più seria. Probabilmente perché la bici valeva meno di 200 euro. Benvenuti a Roma :(

2014-11-02 07.49.48La Svizzera è fantastica. Tutta pista ciclabile. Mezzi pubblici che funzionano bene. Con la mia brompton e con i treni sono libero di andare veramente dove voglio. Anche se per ora ho fatto solo il tragitto casa lavoro, e su e giù tra Zug e Zurigo.

Alla stazione di Zug ho visto questo cartello, mi sa che ci sarà da esplorare i dintorni nei fine settimana!

Zug Train Station

Posted in Uncategorized | Tagged , , , | Leave a comment

I installed mqTranslate: the fork of qTranslate plugin compatible with WordPress 3.9

Today I was using a wordpress blog running version 3.9 and the latest qTranslate plugin. I figured out that the TinyMCE editor was not working at all. The buttons of the TinyMCE were not appearing at all on my screen.

It looks like it was not just matter of fixing this issue when upgrading to WordPress 3.9.

I found that somebody proposed a new plugin called mqTranslate. I installed it without problems. After deactivating qTranslate I activated mqTranslate. I had to go to the settings to enable the correct set of languages and put them in the right order. In the widget area I had to install the new mqTranslate language chooser widget.

There are still some issues with the TinyMCE, most users including me are reporting that is not possible to adjust the window size in the editor area.

There are still bugs but it looks like we finally have a qTranslate successor that is under active development !

Posted in Uncategorized | Tagged , , , , | 1 Comment

Baofeng GT-3 Radio successfully programmed with Chirp software

I have, like most of my friends, the popular radio Baofeng UV-5R plus. There is now an updated model from Baofeng called GT-3.

This is just a quick blog post, where I want to report that the two radios are almost identical, and I successfully programmed with the Chirp software the Baofeng GT-3. Just set into the chirp software that you are programming a UV-5R. You will be able to backup your radio and to flash a configuration. I also tested reading from UV-5R and writing to a GT-3 and it works without problems.

Saverio

baofeng

Baofeng GT-3

Posted in Uncategorized | Tagged , , , , | 3 Comments

Migrate to git your old svn or mercurial repositories

Hello nerds,

I started to use git as my default versioning tool since a couple of years.

After reading a book about git and exploring all the features you really don’t want to rollback to another versioning system.

So I used this tool to convert my existing mercurial repositories to git. It is quite easy using the fast-export tool that you can clone from here:

git clone git://repo.or.cz/fast-export.git

Because both Mercurial and Git have a copy of the entire repository locally, the migration process happens completely on the local host:

~/fast-export/hg-fast-export.sh -r ~/my-mercurial-repository/

For the svn repositories the process is very simple but takes a little of time for large repositories. You can clone a svn repository to git in this way:

git svn clone svn://repository.xxx/URL

This will make the git client to checkout from the server all the SVN revisions and create the local git repository. What is very useful is that you can now work in git, but you are still able to “svn commit” your changes to the remote svn repository.

this blog post is not a complete guide, read this book to have a complete reference: http://it-ebooks.info/book/919/

Saverio

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Dirty and quick fix for qtranslate plugin on WordPress 3.9

This morning I upgraded some wordpress blogs, where I am also using the qtranslate plugin.
After upgrading to WordPress 3.9 the home page was broken.
Looking into the server logs I quickly found the problem:

PHP Catchable fatal error:  Object of class WP_Post could not be converted to string in ../wp-content/plugins/qtranslate/qtranslate_core.php on line 455

I wrote to this quick and dirty patch to have the site back online. If you have a better patch please share !

Saverio

Posted in Uncategorized | Tagged , , | 26 Comments