<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Simply Me</title>
	<atom:link href="http://blog.mornati.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mornati.net</link>
	<description>I&#039;ve made mistakes, I&#039;m just a man.</description>
	<lastBuildDate>Thu, 16 May 2013 21:42:08 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Another MyIP address site&#8230;</title>
		<link>http://blog.mornati.net/2013/05/16/another-myip-address-site/</link>
		<comments>http://blog.mornati.net/2013/05/16/another-myip-address-site/#comments</comments>
		<pubDate>Thu, 16 May 2013 21:40:30 +0000</pubDate>
		<dc:creator>mmornati</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[IT]]></category>
		<category><![CDATA[browser info]]></category>
		<category><![CDATA[mornati.net]]></category>
		<category><![CDATA[myip]]></category>
		<category><![CDATA[whois]]></category>

		<guid isPermaLink="false">http://blog.mornati.net/?p=798</guid>
		<description><![CDATA[Sometimes I spend time testing things and during the tests I create completely useless stuffs. One of these is: http://myip.mornati.net It&#8217;s a simple my ip website that gives you your current public ip adresses, whois information, detailed browser and os information and tools for developers. For example, there is a page that return your ip &#8230; </p><p><a class="more-link block-button" href="http://blog.mornati.net/2013/05/16/another-myip-address-site/">Continue reading &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>Sometimes I spend time testing things and during the tests I create completely useless stuffs. One of these is: <a href="http://myip.mornati.net">http://myip.mornati.net</a></p>
<p>It&#8217;s a simple my ip website that gives you your current public ip adresses, whois information, detailed browser and os information and tools for developers.<br />
For example, there is a page that return your ip adress in plain text (usefull for bash script usage) and another one providing detailes information in json (for more complex script).</p>
<p>There&#8217;s nothing more&#8230; <img src='http://blog.mornati.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
<p><a href="http://blog.mornati.net/wp-content/uploads/2013/05/wpid-Screenshot_2013-05-16-23-28-53.png"><img title="Screenshot_2013-05-16-23-28-53.png" class="alignnone size-full" alt="image" src="http://blog.mornati.net/wp-content/uploads/2013/05/wpid-Screenshot_2013-05-16-23-28-53.png" /></a></p>
<p><a href="http://blog.mornati.net/wp-content/uploads/2013/05/wpid-Screenshot_2013-05-16-23-28-34.png"><img title="Screenshot_2013-05-16-23-28-34.png" class="alignnone size-full" alt="image" src="http://blog.mornati.net/wp-content/uploads/2013/05/wpid-Screenshot_2013-05-16-23-28-34.png" /></a></p>
<p><a href="http://blog.mornati.net/wp-content/uploads/2013/05/wpid-Screenshot_2013-05-16-23-27-59.png"><img title="Screenshot_2013-05-16-23-27-59.png" class="alignnone size-full" alt="image" src="http://blog.mornati.net/wp-content/uploads/2013/05/wpid-Screenshot_2013-05-16-23-27-59.png" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mornati.net/2013/05/16/another-myip-address-site/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fedora 18: Can&#8217;t Unlock the Screen</title>
		<link>http://blog.mornati.net/2013/03/25/fedora-18-cant-unlock-the-screen/</link>
		<comments>http://blog.mornati.net/2013/03/25/fedora-18-cant-unlock-the-screen/#comments</comments>
		<pubDate>Mon, 25 Mar 2013 20:51:26 +0000</pubDate>
		<dc:creator>mmornati</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[bug]]></category>
		<category><![CDATA[fedora]]></category>
		<category><![CDATA[problem]]></category>
		<category><![CDATA[unlock screen]]></category>

		<guid isPermaLink="false">http://blog.mornati.net/?p=790</guid>
		<description><![CDATA[After the latests Fedora updates I&#8217;m getting a boring problem with the unlock: I can normally login after the startup but not after a lock screen (CTRL + ALT + L for example). Looking into log you should find something like the following: Mar 25 13:33:15 notebook gdm-password][12579]: AccountsService-WARNING: Failed to connect to the ConsoleKit seat &#8230; </p><p><a class="more-link block-button" href="http://blog.mornati.net/2013/03/25/fedora-18-cant-unlock-the-screen/">Continue reading &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>After the latests Fedora updates I&#8217;m getting a boring problem with the unlock: I can normally login after the startup but not after a lock screen (CTRL + ALT + L for example).</p>
<p>Looking into log you should find something like the following:</p>
<pre class="brush:shell">Mar 25 13:33:15 notebook gdm-password][12579]: AccountsService-WARNING: Failed to connect to the ConsoleKit seat object: No space left on device</pre>
<p>It&#8217;s a gnome-shell bug, as described here: <a href="https://bugzilla.redhat.com/show_bug.cgi?id=872118">https://bugzilla.redhat.com/show_bug.cgi?id=872118<br />
B</a>ut in this way my desktop is completely useless.</p>
<p>I found two differents way to workaround/fix the problem.</p>
<ol>
<li><span style="line-height: 12px;"><span style="line-height: 12px;">Connect with root on a new terminal (CTRL + ALT + F2), and here kill the gnome-shell process.<br />
</span></span></p>
<pre class="brush:shell">mmornati@notebook ~$ sudo ps aux | grep gnome-shell
mmornati  1967  6.4  3.9 2041492 156052 ?      Sl   21:15   1:25 /usr/bin/gnome-shell
mmornati  2127  0.0  0.3 739228 14552 ?        Sl   21:15   0:00 /usr/libexec/gnome-shell-calendar-server
gdm       3531  0.5  2.0 1425268 78348 ?       Sl   21:28   0:02 gnome-shell --mode=gdm
mmornati  4570  0.0  0.0 109184   884 pts/1    S+   21:37   0:00 grep --color=auto gnome-shell

mmornati@notebook ~$ sudo kill -9 3531</pre>
<p>A problem with this solution is that we have to execute a manual task any time we want to unlock Fedora screen</li>
<li>A second method consists in changing a parameter of the <em>inotify</em> process to allow more watches users. I&#8217;m not sure, at the moment, if this could cause some others problems, but for me it works now.<br />
To this you need to create a new sysctl configuration file for inotify, for example inotify.conf with this parameter inside</p>
<pre class="brush:shell">mmornati@notebook ~$ cat /etc/sysctl.d/inotify.conf 
fs.inotify.max_user_watches=100000</pre>
<p>A1l should work correctly now!</li>
</ol>
<p>Enjoy</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mornati.net/2013/03/25/fedora-18-cant-unlock-the-screen/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Update OpenELEC on RaspberryPI</title>
		<link>http://blog.mornati.net/2013/02/28/update-openelec-on-raspberrypi/</link>
		<comments>http://blog.mornati.net/2013/02/28/update-openelec-on-raspberrypi/#comments</comments>
		<pubDate>Thu, 28 Feb 2013 21:13:34 +0000</pubDate>
		<dc:creator>mmornati</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[RaspberryPI]]></category>
		<category><![CDATA[openelec]]></category>
		<category><![CDATA[raspberrypi]]></category>
		<category><![CDATA[update script]]></category>

		<guid isPermaLink="false">http://blog.mornati.net/?p=778</guid>
		<description><![CDATA[You can use a RaspberryPI computer in many differents way. Personally I decided to use it as mediacenter with an XBMC program. After the first installation I spent lot of time to configure any things in XBMC: share folders for videos, share folders for music, &#8230; So the problem I had was about the &#8220;update&#8221; &#8230; </p><p><a class="more-link block-button" href="http://blog.mornati.net/2013/02/28/update-openelec-on-raspberrypi/">Continue reading &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>You can use a <a href="http://www.raspberrypi.org/" target="_blank">RaspberryPI</a> computer in many differents way. Personally I decided to use it as mediacenter with an <a href="http://xbmc.org/" target="_blank">XBMC</a> program.</p>
<p>After the first installation I spent lot of time to configure any things in XBMC: share folders for videos, share folders for music, &#8230; So the problem I had was about the &#8220;update&#8221; process. The OpenELEC is based on a linux distribution but there is nothing to automate packages installation or update (I mean something like <strong>yum</strong> or <strong>apt-get</strong>), I it&#8217;s not possible for any system update to reconfigure anything.</p>
<p>I looked on internet and in the end I found a simple script that help you in the update process.</p>
<pre class="brush:shell">#!/bin/bash

# change working directory 
cd /storage

# location of the nightlies
url="http://openelec.thestateofme.com/"

# get base, revision and filename of last build
last_base=`curl -s $url | grep .tar.bz2 | sed 's/.*\(OpenELEC-RPi.*\).tar.bz2.*/\1/' | sort | tail -1`
last_revision=`echo $last_base | sed 's/.*\(r[0-9]*\)/\1/'`
last_filename=$last_base.tar.bz2

# folder name is set equal to base
foldername=$last_base

# get currently installed revision
this_revision=`cat /etc/version | sed 's/.*\(r[0-9]*\)/\1/'`

# check if currently installed revision is up-to-date
if [ $this_revision == $last_revision ]
then
    echo "System is up-to-date, no update required."
    exit
else
    echo "Update required, will download latest version."
fi

# clean up previously interrupted update
if [ -a $last_filename ]; then
    echo "Clean up previously interrupted update files."
    rm $last_filename
fi
if [ -a $foldername ]; then
    echo "Clean up previously interrupted update files."
    rm -rf $foldername
fi

# download corresponding file to working directory
urltolast=$url/$last_filename
wget $urltolast
echo -e  "Download complete\n"

# uncompressing the tarball
echo "Uncompressing tarball, files extracted:"
tar -xvjf $last_filename

# check if image folder exists, otherwise exit
if [ ! -d $foldername ]; then
   echo "Cannot find extracted folder."
   exit
fi

# check if .update folder exists, otherwise create it
if [ ! -d /storage/.update ]; then
    mkdir /storage/.update
fi

# move OpenELEC files (including .md5 files) to update folder
mv $foldername/target/* /storage/.update/
echo -e "\nOpenELEC files succesfully moved to update directory"

# clean up
rm -r $foldername
rm $last_filename
echo "Temporary files deleted"

# sync and reboot system to apply updates
echo "System will restart shortly"
echo "Enjoy!"
sleep 5s
sync
reboot</pre>
<p>Sorry to the author because I can&#8217;t remember where I found it, and I don&#8217;t even know if it&#8217;s the original version or if I modified it. In any case it works perfectly.</p>
<p>What you just need to do is to copy it on your RaspberryPi/OpenELEC system and execute it. The script will check if a new version is available, it will download it and then reboot the raspberry when all is ready for the update (update will be automatically installed after the reboot).</p>
<p>How you can copy the script on your OpenELEC and execute an update? You can make an <strong>SSH connection </strong>to the RaspberryPi.</p>
<pre class="brush:shell">mmornati@notebook ~$ ssh root@192.168.0.25
##############################################
# OpenELEC - The living room PC for everyone #
# ...... visit http://www.openelec.tv ...... #
##############################################

OpenELEC Version: devel-20130119143821-r12975
OpenELEC git: 6bc259fb5cdf4f941e85e43132a0a31e211af937
root@192.168.0.25's password: 
root ~ #</pre>
<p>Where <strong>192.168.0.25</strong> is the ip address of my Raspberry. I make the SSH connection using a Linux/Mac computer (where ssh is available by default on the command line); if you are on Windows, you need to use <a href="http://www.putty.org/" target="_blank">Putty</a> to make the ssh connection!</p>
<p>The default username/password to connect to OpenELEC via SSH are:</p>
<p>username: <strong>root<br />
</strong>password: <strong>openelec</strong></p>
<p>After connection you can create your script where you want on your system (you are root so be carefull because you can do anything). Normally where you have a lot of free space is <strong>/storege</strong>, but if you are not sure, you can check it with a <strong>df -h</strong>:</p>
<pre class="brush:shell">root ~ # df -h
Filesystem                Size      Used Available Use% Mounted on
none                    185.0M     90.1M     94.9M  49% /dev
/dev/mmcblk0p1          124.7M     98.8M     26.0M  79% /flash
/dev/mmcblk0p2            3.6G    127.5M      3.3G   4% /storage
/dev/loop0               90.0M     90.0M         0 100% /
none                    186.5M         0    186.5M   0% /dev/shm</pre>
<p>Then you can create the script file using <strong>vi</strong>, for example typing something like:</p>
<pre class="brush:shell">vi update.sh</pre>
<p>And here you can paste the content of the script I put in this article.<br />
After this you need to make the script <em>executable</em> and execute it, with:</p>
<pre class="brush:applescript">chmod +x update.sh
./update.sh</pre>
<p>You should have an output like the following:</p>
<pre class="brush:shell">root ~ # ./update.sh 
Update required, will download latest version.
Connecting to openelec.thestateofme.com (46.149.19.9:80)
OpenELEC-RPi.arm-dev 100% |*****************************************************************************************************| 92078k  0:00:00 ETA
Download complete

Uncompressing tarball, files extracted:
OpenELEC-RPi.arm-devel-20130228144321-r13387/
[...]
OpenELEC-RPi.arm-devel-20130228144321-r13387/target/SYSTEM
OpenELEC-RPi.arm-devel-20130228144321-r13387/openelec.ico
OpenELEC-RPi.arm-devel-20130228144321-r13387/INSTALL

OpenELEC files succesfully moved to update directory
Temporary files deleted
System will restart shortly
Enjoy!</pre>
<p>Finished! After the reboot your OpenELEC is updated. You can check it simply with an ssh connection (after the connection you should see the version directly on your screen) or going in the settings in your XBMC.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mornati.net/2013/02/28/update-openelec-on-raspberrypi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>AirDroid vs Kies Air: control your Android with your browser</title>
		<link>http://blog.mornati.net/2013/01/16/airdroid-vs-kies-air-control-your-android-with-your-browser/</link>
		<comments>http://blog.mornati.net/2013/01/16/airdroid-vs-kies-air-control-your-android-with-your-browser/#comments</comments>
		<pubDate>Wed, 16 Jan 2013 22:06:01 +0000</pubDate>
		<dc:creator>mmornati</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[airdroid]]></category>
		<category><![CDATA[galaxy note]]></category>
		<category><![CDATA[kies air]]></category>

		<guid isPermaLink="false">http://blog.mornati.net/?p=749</guid>
		<description><![CDATA[A useful thing you can do with an Android phone, that is actually impossible even to imagine on the iPhone, is to control it from your computer. Two tools I tested to do this are: AIrDroid and Kies Air. &#160; Both two application follow the same usage procedure: install an application on your android phone,  start it up &#8230; </p><p><a class="more-link block-button" href="http://blog.mornati.net/2013/01/16/airdroid-vs-kies-air-control-your-android-with-your-browser/">Continue reading &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>A useful thing you can do with an Android phone, that is actually impossible even to imagine on the iPhone, is to control it from your computer.<br />
Two tools I tested to do this are: <strong>AIrDroid </strong>and <strong>Kies Air</strong>.</p>
<p><a href="http://web.airdroid.com/" target="_blank"><img class=" wp-image-750 alignleft" style="border: 0px;" alt="2013-01-16 21.37.46" src="http://blog.mornati.net/wp-content/uploads/2013/01/2013-01-16-21.37.46.png" width="104" height="137" /></a></p>
<p style="text-align: center;"><img class="aligncenter  wp-image-751" style="border: 0px;" alt="2013-01-16 21.37.59" src="http://blog.mornati.net/wp-content/uploads/2013/01/2013-01-16-21.37.59.png" width="116" height="125" /></p>
<p>&nbsp;</p>
<p>Both two application follow the same usage procedure: install an application on your android phone,  start it up (when you are connected to a Wireles network), connect to your phone address (shown on the application home page) using a browser&#8230; and enjoy your phone.</p>
<p>At the beginning I tested Kies Air, knowing it is a Samsung product and I&#8217;ve a Galaxy Phone, I thought was surely the best choice because was created by the phone manufacturer.</p>
<h2>KIES AIR</h2>
<p>The interface is pretty interesting. After the connection,with your browser you have an home page with all important things on your phone: latest call, latest message, music, &#8230;</p>
<p style="text-align: center;"><a href="http://blog.mornati.net/2013/01/16/airdroid-vs-kies-air-control-your-android-with-your-browser/kies-main-interface/" target="_blank" rel="attachment wp-att-757"><img class="aligncenter size-medium wp-image-757" style="border: 0px;" alt="kies-main-interface" src="http://blog.mornati.net/wp-content/uploads/2013/01/kies-main-interface-300x148.png" width="300" height="148" /></a></p>
<p style="text-align: left;">Interesting because you have all things &#8220;in a click&#8221;; but to use all web application functions, you should install the Java Virtual Machine on your computer and linked it with your browser.</p>
<p style="text-align: center;"><a href="http://blog.mornati.net/2013/01/16/airdroid-vs-kies-air-control-your-android-with-your-browser/kies-java/" target="_blank" rel="attachment wp-att-756"><img class="aligncenter size-medium wp-image-756" style="border: 0px;" alt="kies-java" src="http://blog.mornati.net/wp-content/uploads/2013/01/kies-java-300x217.png" width="300" height="217" /></a></p>
<p style="text-align: left;">You can use the web application to send or retrieve files from your device, but you need java if you want to transfer more than one file at the same time. So it is impossible to have all functions on, for example, tabled browser.</p>
<p style="text-align: center;"><a href="http://blog.mornati.net/2013/01/16/airdroid-vs-kies-air-control-your-android-with-your-browser/kies-upload/" target="_blank" rel="attachment wp-att-759"><img class="aligncenter size-medium wp-image-759" style="border: 0px;" alt="kies-upload" src="http://blog.mornati.net/wp-content/uploads/2013/01/kies-upload-300x38.png" width="300" height="38" /></a></p>
<p style="text-align: left;">On phone side, the interface is really simple because is just a server that allows you to connect to your phone. You start it up and when a client try to connect to your device a popup propose you a pin code you must insert to start the connection between the two devices.</p>
<p style="text-align: center;"><a href="http://blog.mornati.net/2013/01/16/airdroid-vs-kies-air-control-your-android-with-your-browser/2013-01-16-21-33-38/" target="_blank" rel="attachment wp-att-761"><img class="aligncenter size-medium wp-image-761" style="border: 0px;" alt="2013-01-16 21.33.38" src="http://blog.mornati.net/wp-content/uploads/2013/01/2013-01-16-21.33.38-168x300.png" width="168" height="300" /></a></p>
<p style="text-align: left;">I was pretty satify by this application that allows me to control my phone all day long, without directly using it! But I decide to test AirDroid because I read many positive comments on the Google Play.</p>
<h2 style="text-align: left;">AIRDROID</h2>
<p>As I said at the beginning is pretty the same thing. The main page of the application shown just a dashboard with links to access to the differents areas: messages, photo, video, &#8230;</p>
<p style="text-align: center;"><a href="http://blog.mornati.net/2013/01/16/airdroid-vs-kies-air-control-your-android-with-your-browser/airdroid-message-2/" target="_blank" rel="attachment wp-att-762"><img class="aligncenter size-medium wp-image-762" style="border: 0px;" alt="airdroid-message" src="http://blog.mornati.net/wp-content/uploads/2013/01/airdroid-message1-300x142.png" width="300" height="142" /></a></p>
<p style="text-align: left;">An important difference, I like, is that the application does not use Java so, for example, even the multi file upload works with any browser; you can connect to your phone via AirDroid using your iPad browser, and have access to all functions!</p>
<p style="text-align: center;"><a href="http://blog.mornati.net/2013/01/16/airdroid-vs-kies-air-control-your-android-with-your-browser/airdrop-upload/" target="_blank" rel="attachment wp-att-755"><img class="aligncenter size-medium wp-image-755" style="border: 0px;" alt="airdrop-upload" src="http://blog.mornati.net/wp-content/uploads/2013/01/airdrop-upload-300x183.png" width="300" height="183" /></a></p>
<p> Another thing I like is the ability to open a link on your phone simply pasting it in a text area on the desktop app.</p>
<p><img class="size-medium wp-image-764 alignleft" style="border: 0px;" alt="airdroid-browser" src="http://blog.mornati.net/wp-content/uploads/2013/01/airdroid-browser-300x61.png" width="300" height="61" /></p>
<p><img class="size-medium wp-image-760 alignright" style="border: 0px;" alt="2013-01-16 21.32.18" src="http://blog.mornati.net/wp-content/uploads/2013/01/2013-01-16-21.32.18-168x300.png" width="168" height="300" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>And you have then, there are some others functions requiring a rooted device. An example is screenshot application.</p>
<p>&nbsp;</p>
<h2></h2>
<h2>CONCLUSION</h2>
<p>To be honest, both two applications offer the same things and are valid if you just need to control base functions of your phone and transfer file without connecting it using the USB cable. Personally I prefer AirDrop because you can use it from any device and browser: no additional software is required (Java).</p>
<p>Then&#8230; chose your application and use the phone from your browser! <img src='http://blog.mornati.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<a href="http://blog.mornati.net/2013/01/16/airdroid-vs-kies-air-control-your-android-with-your-browser/#gallery-749-1-slideshow">Click to view slideshow.</a>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mornati.net/2013/01/16/airdroid-vs-kies-air-control-your-android-with-your-browser/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Cannot shutdown MacOSX: try changing TimeMachine settings</title>
		<link>http://blog.mornati.net/2013/01/15/cannot-shutdown-macosx-try-changing-timemachine-settings/</link>
		<comments>http://blog.mornati.net/2013/01/15/cannot-shutdown-macosx-try-changing-timemachine-settings/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 21:29:39 +0000</pubDate>
		<dc:creator>mmornati</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[timemachine]]></category>

		<guid isPermaLink="false">http://blog.mornati.net/?p=747</guid>
		<description><![CDATA[If you have shutdown problems on your Mac: it never shutdown and is stack at on the grey circular icon. The problem could be your TimeMachine setting. I just discovered that my MacBook had problems connecting to the network timemachine disk (it&#8217;s not the time capsule but  a Buffalo NAS)&#8230; No backup were executed, sometimes &#8230; </p><p><a class="more-link block-button" href="http://blog.mornati.net/2013/01/15/cannot-shutdown-macosx-try-changing-timemachine-settings/">Continue reading &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>If you have shutdown problems on your Mac: it never shutdown and is stack at on the grey circular icon. The problem could be your TimeMachine setting.</p>
<p>I just discovered that my MacBook had problems connecting to the network timemachine disk (it&#8217;s not the time capsule but  a Buffalo NAS)&#8230; No backup were executed, sometimes the system was unusable and cannot shutdown or restart (need to force the shutdown with the power button).<br />
Well i don&#8217;t exactly know the reasons around the missing connection to the disk, but after a reset of my time machine settings, all back to normal.</p>
<p>So if you have some strange problems in your Mac, check your latest backup and try to force a new one by hand; if it cannot find/connect to your disk&#8230; you got it! <img src='http://blog.mornati.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mornati.net/2013/01/15/cannot-shutdown-macosx-try-changing-timemachine-settings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Android talking with your Apple TV</title>
		<link>http://blog.mornati.net/2013/01/15/android-talking-with-your-apple-tv/</link>
		<comments>http://blog.mornati.net/2013/01/15/android-talking-with-your-apple-tv/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 20:31:23 +0000</pubDate>
		<dc:creator>mmornati</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[iOS]]></category>
		<category><![CDATA[airplay]]></category>
		<category><![CDATA[appletv]]></category>

		<guid isPermaLink="false">http://blog.mornati.net/?p=741</guid>
		<description><![CDATA[A thing I used on my iPhone was the streaming of my photo, video and music on my media server (for me wasn&#8217;t an Apple TV but an XBMC on a RaspberryPi) using Airplay. So when I switched to Android I directly look to do the same. Naturally, knowing Android is an &#8220;open&#8221; system, it &#8230; </p><p><a class="more-link block-button" href="http://blog.mornati.net/2013/01/15/android-talking-with-your-apple-tv/">Continue reading &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>A thing I used on my iPhone was the streaming of my photo, video and music on my media server (for me wasn&#8217;t an Apple TV but an XBMC on a RaspberryPi) using Airplay. So when I switched to Android I directly look to do the same. Naturally, knowing Android is an &#8220;open&#8221; system, it wasn&#8217;t to difficult to find the way to do it.</p>
<p>First of all we need to say we can&#8217;t stream AirPlay using the embedded android tools. Airplay is (normally) an Apple proprietary protocol and system, so you (normally) should use Apple hardware to have it.<br />
After this little introduction, all of us knows that there are many systems/tools on the market that can reproduce an AirPlay server (XBMC for example) or AirPlay client.</p>
<p>For the Android I found <a href="http://www.doubletwist.com">DoubleTwist</a>. Is not just a program that allow you to stream using AirPlay, but can let you to use your Andoird Phone like an Apple Phone (ok maybe it&#8217;s not so cool to use android as an iPhone, but if you can&#8217;t leave the Apple Style&#8230; here you can! <img src='http://blog.mornati.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> ). For example you can synch your iTunes music and playlists to the Andoird Application (the player).</p>
<p>So, as you can see on the website and as you can understand by what we have said, you have a program for you desktop machine (Mac/Windows) that allow the interaction with the iTunes library, and an app for your android system. If you want you can just use the software on your android phone/tablet, that is a media player with AirPlay streaming function; the desktop app is necessary just if you want to sync your device!</p>
<p>Anyway, to start using Airplay on your device is really simple. In the android app settings, select to enable streaming (you need the paid app, with the free the function is locked)</p>
<p><a href="http://blog.mornati.net/2013/01/15/android-talking-with-your-apple-tv/screenshots_2013-01-05-16-17-39/" rel="attachment wp-att-743"><img class="aligncenter size-medium wp-image-743" alt="Screenshots_2013-01-05-16-17-39" src="http://blog.mornati.net/wp-content/uploads/2013/01/Screenshots_2013-01-05-16-17-39-168x300.png" width="168" height="300" /></a>Then, in the player windows you have a new icon, like on the iPhone, if an AirPlay server is detected on your desktop.<br />
<a href="http://blog.mornati.net/2013/01/15/android-talking-with-your-apple-tv/screenshots_2013-01-05-16-17-16/" rel="attachment wp-att-742"><img class="aligncenter size-medium wp-image-742" alt="Screenshots_2013-01-05-16-17-16" src="http://blog.mornati.net/wp-content/uploads/2013/01/Screenshots_2013-01-05-16-17-16-168x300.png" width="168" height="300" /></a></p>
<p>Clicking on it you have then a popup that allow you to select the target device.</p>
<p><a href="http://blog.mornati.net/2013/01/15/android-talking-with-your-apple-tv/screenshots_2013-01-05-16-18-11/" rel="attachment wp-att-744"><img class="aligncenter size-medium wp-image-744" alt="Screenshots_2013-01-05-16-18-11" src="http://blog.mornati.net/wp-content/uploads/2013/01/Screenshots_2013-01-05-16-18-11-168x300.png" width="168" height="300" /></a></p>
<p>&nbsp;</p>
<p>That&#8217;s all!</p>
<p>A thing I want to say in the end, is that AirPlay it&#8217;s a good solution if you have an AppleTV as media center; for any other device it&#8217;s better to use something better (like DLNA). For example on the AirPlay protocol just the Apple allowed video formats can be streamed&#8230; so get better! <img src='http://blog.mornati.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mornati.net/2013/01/15/android-talking-with-your-apple-tv/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Blog Annual Report: 76000 visits in 2012</title>
		<link>http://blog.mornati.net/2013/01/15/blog-annual-report-76000-visits-in-2012/</link>
		<comments>http://blog.mornati.net/2013/01/15/blog-annual-report-76000-visits-in-2012/#comments</comments>
		<pubDate>Tue, 15 Jan 2013 11:09:58 +0000</pubDate>
		<dc:creator>mmornati</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[blog annual report]]></category>

		<guid isPermaLink="false">http://blog.mornati.net/?p=729</guid>
		<description><![CDATA[19,000 people fit into the new Barclays Center to see Jay-Z perform. This blog was viewed about 76,000 times in 2012. If it were a concert at the Barclays Center, it would take about 4 sold-out performances for that many people to see it. In 2012, there were 47 new posts, growing the total archive of this blog to &#8230; </p><p><a class="more-link block-button" href="http://blog.mornati.net/2013/01/15/blog-annual-report-76000-visits-in-2012/">Continue reading &#187;</a>]]></description>
				<content:encoded><![CDATA[<p><a href="http://blog.mornati.net/2013/01/15/blog-annual-report-76000-visits-in-2012/screenshot-from-2013-01-15-120345/" rel="attachment wp-att-732"><img class="aligncenter size-medium wp-image-732" alt="Screenshot from 2013-01-15 12:03:45" src="http://blog.mornati.net/wp-content/uploads/2013/01/Screenshot-from-2013-01-15-120345-300x159.png" width="300" height="159" /></a></p>
<blockquote><p>19,000 people fit into the new Barclays Center to see Jay-Z perform. This blog was viewed about <strong>76,000</strong> times in 2012. If it were a concert at the Barclays Center, it would take about 4 sold-out performances for that many people to see it.</p>
<p>In 2012, there were <strong>47</strong> new posts, growing the total archive of this blog to 102 posts.</p>
<p>The busiest day of the year was October 21st with <strong>707</strong> views. The most popular post that day was <a id="busiest-post" href="http://blog.mornati.net/2012/10/20/google-chrome-for-ios" target="_blank">Google Chrome for iOS</a>.</p></blockquote>
<p>&nbsp;</p>
<p>Link to the complete report here:</p>
<p style="display: inline !important;"><a href="http://jetpack.me/annual-report/26723616/2012/">http://jetpack.me/annual-report/26723616/2012/</a></p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mornati.net/2013/01/15/blog-annual-report-76000-visits-in-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Galaxy Note 2: scrittura a mano libera</title>
		<link>http://blog.mornati.net/2013/01/14/galaxy-note-2-scrittura-a-mano-libera/</link>
		<comments>http://blog.mornati.net/2013/01/14/galaxy-note-2-scrittura-a-mano-libera/#comments</comments>
		<pubDate>Mon, 14 Jan 2013 22:17:41 +0000</pubDate>
		<dc:creator>mmornati</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[android note2]]></category>

		<guid isPermaLink="false">http://blog.mornati.net/?p=726</guid>
		<description><![CDATA[È qualche giorno ormai che ho fatto il passaggio da iPhone al galaxy Note 2. Non ho ancora avuto modo di testare a fondo tutte le funzionalità,  ma in questa prima settimana ci sono diverse cose che mi hanno stupito positivamente.  Fra queste il riconoscimento della scrjttura con SPen! Ricordo ancora con il mio primo &#8230; </p><p><a class="more-link block-button" href="http://blog.mornati.net/2013/01/14/galaxy-note-2-scrittura-a-mano-libera/">Continue reading &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>È qualche giorno ormai che ho fatto il passaggio da iPhone al galaxy Note 2. Non ho ancora avuto modo di testare a fondo tutte le funzionalità,  ma in questa prima settimana ci sono diverse cose che mi hanno stupito positivamente.  Fra queste il riconoscimento della scrjttura con SPen! Ricordo ancora con il mio primo palmare con Windows mobile, la fatica che feci per imparare come dovevo scrivere le lettere per fare in modo che venissero riconosciute dal dispositivo. Beh&#8230; qui non è più necessario: riesce a riconoscere anche la mia scrittura in corsivo (e bisogna dire che in quanto a grafia, non è che sia molto lontano dalla scrittura di un medico <img src='http://blog.mornati.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ).</p>
<p>Finalmente il piacere della scrittura a mano libera digitale <img src='http://blog.mornati.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a href="http://blog.mornati.net/2013/01/14/galaxy-note-2-scrittura-a-mano-libera/wpid-2013-01-14-23-16-16-png/" rel="attachment wp-att-727"><img class="aligncenter size-medium wp-image-727" alt="wpid-2013-01-14-23-16-16.png" src="http://blog.mornati.net/wp-content/uploads/2013/01/wpid-2013-01-14-23-16-16-168x300.png" width="168" height="300" /></a></p>
<p>Stay tuned.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mornati.net/2013/01/14/galaxy-note-2-scrittura-a-mano-libera/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Django: automatically import sub-modules urls</title>
		<link>http://blog.mornati.net/2012/11/07/django-automatically-import-sub-modules-urls/</link>
		<comments>http://blog.mornati.net/2012/11/07/django-automatically-import-sub-modules-urls/#comments</comments>
		<pubDate>Wed, 07 Nov 2012 20:53:31 +0000</pubDate>
		<dc:creator>mmornati</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[kermit]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[submodules]]></category>
		<category><![CDATA[urls]]></category>

		<guid isPermaLink="false">http://blog.mornati.net/?p=717</guid>
		<description><![CDATA[I recently refactor the KermIT project to get a completely dynamic project and have the ability to add plugins. Here I&#8217;m going to show you how to check for &#8220;installed plugins&#8221; and automatically configure the urls. First of all you have to configure a Django app, named for example plugins and correctly link it up &#8230; </p><p><a class="more-link block-button" href="http://blog.mornati.net/2012/11/07/django-automatically-import-sub-modules-urls/">Continue reading &#187;</a>]]></description>
				<content:encoded><![CDATA[<p>I recently refactor the <a href="http://www.kermit.fr">KermIT</a> project to get a completely dynamic project and have the ability to add plugins.</p>
<p>Here I&#8217;m going to show you how to check for &#8220;installed plugins&#8221; and automatically configure the urls.<br />
<a href="http://blog.mornati.net/wp-content/uploads/2012/11/plugins.png"><img class="aligncenter size-thumbnail wp-image-718" title="plugins" src="http://blog.mornati.net/wp-content/uploads/2012/11/plugins-150x150.png" alt="" width="150" height="150" /></a>First of all you have to configure a Django app, named for example <strong>plugins</strong> and correctly link it up to your Django project. So add it to INSTALLED_APPS in the settings.py file and add it to global urls.py</p>
<pre class="brush:py">urlpatterns = patterns('',

    (r'^plugins/', include('webui.plugins.urls')),

)</pre>
<p>Then in the <strong>plugins</strong> app create a urls.py module like this one:</p>
<pre class="brush:py">from django.conf.urls.defaults import patterns, include
import logging
from webui.plugins import utils

logger = logging.getLogger(__name__)

urlpatterns = patterns('',
)
installed_plugins = utils.installed_plugins_list()

for plugin in installed_plugins:
    try:
        urlpatterns += patterns('',
             (r"^%s/" % plugin, include("webui.plugins.%s.urls" % plugin)),
        )
    except:
        logger.debug ("Plugin %s does not provides urls" % plugin)</pre>
<p>Where my utils.py is the following:</p>
<pre class="brush:py">import os

def installed_plugins_list():
    path = os.path.dirname(__file__)
    installed_plugins = []
    for module in os.listdir(path):
        if os.path.isdir(path + '/' + module) == True:
            installed_plugins.append(module)
    return installed_plugins</pre>
<p>How does it work?</p>
<p>Well, the utils module will list all packages inside the current one (the plugins in my example), then the urls.py module will just loop on this list and it try to include the submodule urls. If it works (no exception raised) all urls are imported using the plugin name (i.e. /plugins/puppet/*); if you have an exception (no urls configured for that plugin) you just have a log message.</p>
<p>Really easy, and I can assure it works! <img src='http://blog.mornati.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mornati.net/2012/11/07/django-automatically-import-sub-modules-urls/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Il baco di fondo degli open data</title>
		<link>http://blog.mornati.net/2012/11/06/il-baco-di-fondo-degli-open-data/</link>
		<comments>http://blog.mornati.net/2012/11/06/il-baco-di-fondo-degli-open-data/#comments</comments>
		<pubDate>Tue, 06 Nov 2012 19:47:55 +0000</pubDate>
		<dc:creator>mmornati</dc:creator>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[opendata]]></category>

		<guid isPermaLink="false">http://blog.mornati.net/?p=711</guid>
		<description><![CDATA[Chi non impara dalla storia é condannato a ripetere sempre gli stessi errori! alfonsofuggetta.org via Il baco di fondo degli open data.]]></description>
				<content:encoded><![CDATA[<p>Chi non impara dalla storia é condannato a ripetere sempre gli stessi errori!</p>
<p>alfonsofuggetta.org</p>
<p>via <a href="http://feedproxy.google.com/~r/AlfonsoFuggetta/~3/sjlyM7l4vWY/">Il baco di fondo degli open data</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.mornati.net/2012/11/06/il-baco-di-fondo-degli-open-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
