<?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>Uno scrittoio digitale ...</title>
	<atom:link href="http://www.alantoro.it/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.alantoro.it/blog</link>
	<description>Solo un altro blog targato WordPress</description>
	<lastBuildDate>Fri, 18 May 2012 17:17:43 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>JED</title>
		<link>http://www.alantoro.it/blog/?p=534</link>
		<comments>http://www.alantoro.it/blog/?p=534#comments</comments>
		<pubDate>Fri, 18 May 2012 17:13:58 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[jed]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.alantoro.it/blog/?p=534</guid>
		<description><![CDATA[Key Combination Function
C-a	move cursor to beginning of line
C-b	move back one character
C-d	delete a character
C-e	move cursor to end of line
C-f	move forward one character
C-k	delete the line
C-n	move cursor to next line
C-p	move cursor to previous line
C-v	page down
C-x u	        undelete
C-x C-c	exit
C-x C-f	 find a file
C-x C-s	save file
C-x C-v	find alternative file
C-x C-w	write to a file [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Key Combination Function</strong></p>
<p><b>C-a</b>	move cursor to beginning of line<br />
<b>C-b	</b>move back one character<br />
<b>C-d	</b>delete a character<br />
<b>C-e	</b>move cursor to end of line<br />
<b>C-f	</b>move forward one character<br />
<b>C-k	</b>delete the line<br />
<b>C-n	</b>move cursor to next line<br />
<b>C-p	</b>move cursor to previous line<br />
<b>C-v	</b>page down<br />
<b>C-x u	        </b>undelete<br />
<b>C-x C-c	</b>exit<br />
<b>C-x C-f	 </b>find a file<br />
<b>C-x C-s	</b>save file<br />
<b>C-x C-v	</b>find alternative file<br />
<b>C-x C-w	</b>write to a file with new filename<br />
<b>ESC b	</b>back one word<br />
<b>ESC d	</b>delete word<br />
<b>ESC f	</b>move cursor by one word<br />
<b>ESC <	</b>move to beginning of file<br />
<b>ESC >	</b>move to end of file<br />
<b>ESC v</b> 	page up</p>
<p>Note: C = The Control key</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alantoro.it/blog/?feed=rss2&amp;p=534</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Nautilus Actions Extra</title>
		<link>http://www.alantoro.it/blog/?p=529</link>
		<comments>http://www.alantoro.it/blog/?p=529#comments</comments>
		<pubDate>Wed, 16 May 2012 20:38:52 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[nautilus]]></category>
		<category><![CDATA[root]]></category>
		<category><![CDATA[shortcut]]></category>

		<guid isPermaLink="false">http://www.alantoro.it/blog/?p=529</guid>
		<description><![CDATA[
Easy image format conversion
Run/open file/folder as root
Mount/Unmount .iso files
PNG optimizing
Multimedia conversion

>> sudo add-apt-repository ppa:dr3mro/nautilus-actions-extra
>> sudo apt-get update &#038;&#038; sudo apt-get install nautilus-actions-extra
]]></description>
			<content:encoded><![CDATA[<ul>
<li>Easy image format conversion</li>
<li>Run/open file/folder as root</li>
<li>Mount/Unmount .iso files</li>
<li>PNG optimizing</li>
<li>Multimedia conversion</li>
</ul>
<p>>> sudo add-apt-repository ppa:dr3mro/nautilus-actions-extra<br />
>> sudo apt-get update &#038;&#038; sudo apt-get install nautilus-actions-extra</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alantoro.it/blog/?feed=rss2&amp;p=529</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python __slots__</title>
		<link>http://www.alantoro.it/blog/?p=527</link>
		<comments>http://www.alantoro.it/blog/?p=527#comments</comments>
		<pubDate>Thu, 10 May 2012 18:18:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[sapere è potere]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.alantoro.it/blog/?p=527</guid>
		<description><![CDATA[Non si duplicano mai le righe di codice e gli articoli ben scritti:
mypythonnotes
docs python it
]]></description>
			<content:encoded><![CDATA[<p>Non si duplicano mai le righe di codice e gli articoli ben scritti:</p>
<p><a href="http://mypythonnotes.wordpress.com/2008/09/04/__slots__/">mypythonnotes</a><br />
<a href="http://docs.python.it/html/ref/slots.html">docs python it</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alantoro.it/blog/?feed=rss2&amp;p=527</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python definition</title>
		<link>http://www.alantoro.it/blog/?p=525</link>
		<comments>http://www.alantoro.it/blog/?p=525#comments</comments>
		<pubDate>Sun, 29 Apr 2012 13:55:54 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.alantoro.it/blog/?p=525</guid>
		<description><![CDATA[Iterable object is any object which responds to the __iter__() or __getitem__()
Iterator responds to next() and raises a StopIteration exception when there are no more elements
Generator is a function which returns an iterator: to implement a generator simply use the yield keyword to successively return values to the calling context and raise a StopIteration when [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Iterable</strong> object is any object which responds to the __iter__() or __getitem__()</p>
<p><strong>Iterator</strong> responds to next() and raises a StopIteration exception when there are no more elements</p>
<p><strong>Generator</strong> is a function which returns an iterator: to implement a generator simply use the <strong>yield</strong> keyword to successively return values to the calling context and raise a <strong>StopIteration</strong> when done</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alantoro.it/blog/?feed=rss2&amp;p=525</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python script</title>
		<link>http://www.alantoro.it/blog/?p=521</link>
		<comments>http://www.alantoro.it/blog/?p=521#comments</comments>
		<pubDate>Sun, 29 Apr 2012 12:26:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[oracle]]></category>
		<category><![CDATA[cazzola]]></category>
		<category><![CDATA[download]]></category>
		<category><![CDATA[pa]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.alantoro.it/blog/?p=521</guid>
		<description><![CDATA[Per il download di tutti i pdf collegati alla pagina del prof. cazzola per il corso di PA:

import re
import os
import base64
import urllib.request

baseUrl = "http://cazzola.dico.unimi.it/"
username = ""
password = ""

if __name__ == "__main__":
    fd = open('page.html')

    opener = urllib.request.build_opener()
    base64string = base64.encodestring(bytes('{0}:{1}'.format(username, password), "utf-8"))[:-1]
    opener.addheaders [...]]]></description>
			<content:encoded><![CDATA[<p>Per il download di tutti i pdf collegati alla pagina del prof. cazzola per il corso di PA:</p>
<pre><code>
import re
import os
import base64
import urllib.request

baseUrl = "http://cazzola.dico.unimi.it/"
username = ""
password = ""

if __name__ == "__main__":
    fd = open('page.html')

    opener = urllib.request.build_opener()
    base64string = base64.encodestring(bytes('{0}:{1}'.format(username, password), "utf-8"))[:-1]
    opener.addheaders = [('Authorization', "Basic {0}".format(base64string.decode()))]

    for line in fd.readlines():
        paths = re.findall("[a-zA-Z0-9/\-%\(\).&#038;;]+pdf", line)

        if (len(paths) > 0):
            url = paths[0].replace("&amp;amp;", "&#038;")
            fl = opener.open(baseUrl + url)
            name = url.split("/")[-1].replace("%20", " ")

            pdf = open("output" + os.sep + name, "wb")
            pdf.writelines(fl.readlines())
            pdf.close()

            print("downloaded ... " + name)
</code></pre>
<p><strong>Nota</strong>: username e password devono essere richiesti direttamente a <a href="http://cazzola.dico.unimi.it/">lui</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alantoro.it/blog/?feed=rss2&amp;p=521</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu 11.10</title>
		<link>http://www.alantoro.it/blog/?p=519</link>
		<comments>http://www.alantoro.it/blog/?p=519#comments</comments>
		<pubDate>Sat, 28 Apr 2012 12:07:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[delete]]></category>

		<guid isPermaLink="false">http://www.alantoro.it/blog/?p=519</guid>
		<description><![CDATA[iBus: strumento per inserire caratteri di alfabeti non latini, tipo quelli cinesi.
Nepomuk: backup semantico.
]]></description>
			<content:encoded><![CDATA[<p>iBus: strumento per inserire caratteri di alfabeti non latini, tipo quelli cinesi.<br />
Nepomuk: backup semantico.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alantoro.it/blog/?feed=rss2&amp;p=519</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python Packages Install/Distribute Systems</title>
		<link>http://www.alantoro.it/blog/?p=516</link>
		<comments>http://www.alantoro.it/blog/?p=516#comments</comments>
		<pubDate>Sat, 21 Apr 2012 20:47:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.alantoro.it/blog/?p=516</guid>
		<description><![CDATA[
]]></description>
			<content:encoded><![CDATA[<p><img src="http://i.stack.imgur.com/RdBpi.png" alt="python installation system" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.alantoro.it/blog/?feed=rss2&amp;p=516</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Python Lib</title>
		<link>http://www.alantoro.it/blog/?p=514</link>
		<comments>http://www.alantoro.it/blog/?p=514#comments</comments>
		<pubDate>Sat, 21 Apr 2012 19:54:28 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[code]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://www.alantoro.it/blog/?p=514</guid>
		<description><![CDATA[un paio di link da tenere sott&#8217;occhio:
tornado web server
interactive python
Provate la modalità notebook di ipython &#8230; personalmente mi fà sbavare!!
Che fico  
]]></description>
			<content:encoded><![CDATA[<p>un paio di link da tenere sott&#8217;occhio:</p>
<p><a href="http://www.tornadoweb.org/">tornado web server</a><br />
<a href="http://ipython.org/">interactive python</a></p>
<p>Provate la modalità notebook di ipython &#8230; personalmente mi fà sbavare!!<br />
Che fico <img src='http://www.alantoro.it/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.alantoro.it/blog/?feed=rss2&amp;p=514</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How do I remove an icon from the top panel in GNOME Fallback mode?</title>
		<link>http://www.alantoro.it/blog/?p=512</link>
		<comments>http://www.alantoro.it/blog/?p=512#comments</comments>
		<pubDate>Wed, 18 Apr 2012 17:58:18 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[panel]]></category>
		<category><![CDATA[ubuntu11.10]]></category>

		<guid isPermaLink="false">http://www.alantoro.it/blog/?p=512</guid>
		<description><![CDATA[Press Alt and right-click the top menu bar &#8230;  
]]></description>
			<content:encoded><![CDATA[<p>Press Alt and right-click the top menu bar &#8230; <img src='http://www.alantoro.it/blog/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.alantoro.it/blog/?feed=rss2&amp;p=512</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gnome-session-fallback</title>
		<link>http://www.alantoro.it/blog/?p=510</link>
		<comments>http://www.alantoro.it/blog/?p=510#comments</comments>
		<pubDate>Tue, 17 Apr 2012 19:58:51 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[gnome]]></category>

		<guid isPermaLink="false">http://www.alantoro.it/blog/?p=510</guid>
		<description><![CDATA[Se siete nostalgici del vecchio aspetto di Gnome 2 e volete riaverlo ecco come installare la modalità di ripiego su Ubuntu 11.10 Oneiric
La modalità di ripiego o modalità fallback è prevista su Gnome 3 per quei pc che non soddisfano appieno i requisiti hardware per far girare la nuova interfaccia Gnome Shell. La caratteristica della [...]]]></description>
			<content:encoded><![CDATA[<p>Se siete nostalgici del vecchio aspetto di Gnome 2 e volete riaverlo ecco come installare la modalità di ripiego su Ubuntu 11.10 Oneiric<br />
La modalità di ripiego o modalità fallback è prevista su Gnome 3 per quei pc che non soddisfano appieno i requisiti hardware per far girare la nuova interfaccia Gnome Shell. La caratteristica della modalità di ripiego è che l&#8217;aspetto è quello classico a cui eravamo abituati su Gnome 2 e sarà quindi molto apprezzato dai nostalgici.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.alantoro.it/blog/?feed=rss2&amp;p=510</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

