<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Ghv Labs</title>
	<atom:link href="http://ghvlabs.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://ghvlabs.wordpress.com</link>
	<description>Esperimenti di programmazione</description>
	<lastBuildDate>Tue, 21 Jul 2009 09:28:21 +0000</lastBuildDate>
	<language>it</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='ghvlabs.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Ghv Labs</title>
		<link>http://ghvlabs.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://ghvlabs.wordpress.com/osd.xml" title="Ghv Labs" />
	<atom:link rel='hub' href='http://ghvlabs.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Tado: another boring pong game with a strange name and an absurd physics</title>
		<link>http://ghvlabs.wordpress.com/2008/08/18/tado-another-boring-pong-game-with-a-strange-name-and-an-absurd-physics/</link>
		<comments>http://ghvlabs.wordpress.com/2008/08/18/tado-another-boring-pong-game-with-a-strange-name-and-an-absurd-physics/#comments</comments>
		<pubDate>Mon, 18 Aug 2008 10:27:38 +0000</pubDate>
		<dc:creator>ghvlabs</dc:creator>
				<category><![CDATA[Giochi]]></category>
		<category><![CDATA[absurd]]></category>
		<category><![CDATA[experiment]]></category>
		<category><![CDATA[game]]></category>
		<category><![CDATA[gioco]]></category>
		<category><![CDATA[Pong]]></category>
		<category><![CDATA[Pygame]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Python Pong]]></category>

		<guid isPermaLink="false">http://ghvlabs.wordpress.com/?p=29</guid>
		<description><![CDATA[Nome Tado Descrizione Un tentativo di creare un gioco stile pong con la libreria Pygame. Background L&#8217;ho creato come passatempo in vacanza senza aver a disposizione internet per scaricare gli elementi grafici, infatti ogni elemento multimediale è stato creato da me;per mia fortuna la documentazione della libreria era inclusa nel pacchetto della libreria. Linguaggio Python [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghvlabs.wordpress.com&amp;blog=3813586&amp;post=29&amp;subd=ghvlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter" src="http://img385.imageshack.us/img385/6533/pongvl8.gif" alt="" width="300" height="273" /></p>
<p><strong>Nome</strong></p>
<p>Tado</p>
<p><strong>Descrizione</strong></p>
<p>Un tentativo di creare un gioco stile pong con la libreria Pygame.</p>
<p><strong>Background</strong></p>
<p>L&#8217;ho creato come passatempo in vacanza senza aver a disposizione internet per scaricare gli elementi grafici, infatti ogni elemento multimediale è stato creato da me;per mia fortuna la documentazione della libreria era inclusa nel pacchetto della libreria.</p>
<p><strong>Linguaggio</strong></p>
<p>Python</p>
<p><strong>Errori conosciuti</strong></p>
<p>La fisica della pallina è praticamente inesistente e l&#8217;AI del computer segue le coordinate della pallina con la sua stessa velocità quindi è impossibile far punto lol.</p>
<p>Non ci sono punteggi a causa del primo errore.</p>
<p>La funzione per l&#8217;aggiornamento degli elementi presenti sullo schermo ridisegna ogni volta tutto, in questo modo il gioco è terribilmente lento ed è molto più pesante;siccome non sapevo come usare la classe Sprite e non avevo la voglia e la capacità di trovare un metodo più elegante, ho optato per questa opzione.</p>
<p>Il codice è scritto di fretta con i nomi della variabili inventati a casaccio come il nome del gioco.</p>
<p><strong>Download</strong></p>
<p><a href="http://www.ghv.netsons.org/software/Tado.tar.gz">Sorgente</a></p>
<p><a title="Tado on game screenshot" href="http://img244.imageshack.us/img244/4889/tadoscrfh3.jpg">Screenshot</a></p>
<p><span id="more-29"></span></p>
<pre class="brush: python;">
#!/usr/bin/env python
import random
import pygame
from time import sleep
from pygame.locals import *

pygame.init()
height=500
width=600
pygame.mouse.set_visible(0)
scr=pygame.display.set_mode((width,height))
tada=pygame.image.load(&quot;tada.png&quot;).convert()
bat=pygame.image.load(&quot;bat.jpg&quot;).convert()
batpc=pygame.image.load(&quot;batpc.jpg&quot;).convert()
scr.fill((255,255,255))
pygame.display.set_caption(&quot;Dog&quot;)
batr=bat.get_rect()
tadar=tada.get_rect()
batpcr=batpc.get_rect()
batpcr.y=35
batpcr.x=150
scr.blit(batpc,batpcr)
scr.blit(tada,(300,300))
batr.x=150
batr.y=height-35
scr.blit(bat,batr)
tadar.x=300
tadar.y=300
pygame.display.update()
tadar.x+=20
scr.fill((255,255,255))
scr.blit(tada,tadar)
pygame.display.update()
clock=pygame.time.Clock()
speed=5
speedr=5
font=pygame.font.Font(None,36)
blop=pygame.mixer.Sound(&quot;blip.wav&quot;)
cac=pygame.draw.circle(scr,(100,0,111),((tadar.x,tadar.y)),14,0)
while 1:
mouse=pygame.mouse.get_pos()
batr.x=mouse[0]
posi=font.render(&quot;x: &quot;+str(tadar.x)+&quot; y: &quot;+str(tadar.y),1,(0,0,0))
tadar.y+=-speedr
clock.tick(60)
tadar.x+=speed
batpcr.x=tadar.x
scr.fill((255,255,255))
scr.blit(posi,(450,0))
scr.blit(tada,tadar)
scr.blit(bat,batr)
scr.blit(batpc,batpcr)
pygame.display.update()
if tadar.x==0 or tadar.x==width:
speed=-speed
blop.play()
if tadar.y==height or tadar.y==0:
speedr=-speedr
blop.play()
if tadar.y==height:
tadar.x=300
tadar.y=300

if tadar.colliderect(batr)==1:
speedr=-speedr
#	print speedr,speed
if tadar.colliderect(batpcr)==1:
speedr=-speedr
if batr.x==0 :
batr.x+=30
if batr.x==width:
batr.x-=30
for event in pygame.event.get():
if event.type==QUIT:
quit()
#if event.type==KEYDOWN and event.key==K_LEFT:
#	batr.x-=30
#if event.type==KEYDOWN and event.key==K_RIGHT:
#	batr.x+=30
#Old Keyboard Control</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ghvlabs.wordpress.com/29/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ghvlabs.wordpress.com/29/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghvlabs.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghvlabs.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghvlabs.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghvlabs.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghvlabs.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghvlabs.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghvlabs.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghvlabs.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghvlabs.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghvlabs.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghvlabs.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghvlabs.wordpress.com/29/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghvlabs.wordpress.com/29/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghvlabs.wordpress.com/29/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghvlabs.wordpress.com&amp;blog=3813586&amp;post=29&amp;subd=ghvlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghvlabs.wordpress.com/2008/08/18/tado-another-boring-pong-game-with-a-strange-name-and-an-absurd-physics/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/49509467017a8401ddf8c81a439d5810?s=96&#38;d=wavatar" medium="image">
			<media:title type="html">ghvlabs</media:title>
		</media:content>

		<media:content url="http://img385.imageshack.us/img385/6533/pongvl8.gif" medium="image" />
	</item>
		<item>
		<title>Zoo 105 Webcam Viewer</title>
		<link>http://ghvlabs.wordpress.com/2008/08/17/zoo-105-webcam-viewer/</link>
		<comments>http://ghvlabs.wordpress.com/2008/08/17/zoo-105-webcam-viewer/#comments</comments>
		<pubDate>Sun, 17 Aug 2008 10:29:40 +0000</pubDate>
		<dc:creator>ghvlabs</dc:creator>
				<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[105]]></category>
		<category><![CDATA[Programma]]></category>
		<category><![CDATA[Pygame]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Radio]]></category>
		<category><![CDATA[Webcam]]></category>
		<category><![CDATA[Webcam viewer]]></category>
		<category><![CDATA[Zoo 105]]></category>
		<category><![CDATA[Zoo 105 Webcam Viewer]]></category>

		<guid isPermaLink="false">http://ghvlabs.wordpress.com/?p=15</guid>
		<description><![CDATA[Nome Zoo 105 Webcam Viewer Descrizione Permette di visualizzare la webcam del programma radiofonico &#8220;Lo Zoo di 105&#8243; ,in onda tra le 14 e le 16, senza aprire il proprio browser. Linguaggio Python Errori conosciuti Ogni tanto si blocca e bisogna riavviarlo. Potrebbe non funzionare più in quanto il programma viene trasmesso in studi diversi [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghvlabs.wordpress.com&amp;blog=3813586&amp;post=15&amp;subd=ghvlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><img class="aligncenter" src="http://img231.imageshack.us/img231/6309/logo20105fy5.jpg" alt="" width="314" height="320" /></p>
<p><strong>Nome</strong></p>
<p>Zoo 105 Webcam Viewer</p>
<p><strong>Descrizione</strong></p>
<p>Permette di visualizzare la webcam del programma radiofonico &#8220;Lo Zoo di 105&#8243; ,in onda tra le 14 e le 16, senza aprire il proprio browser.</p>
<p><strong>Linguaggio</strong></p>
<p>Python</p>
<p><strong>Errori conosciuti</strong></p>
<p>Ogni tanto si blocca e bisogna riavviarlo.</p>
<p>Potrebbe non funzionare più in quanto il programma viene trasmesso in studi diversi e bisognerebbe cambiare la variabile della webcam nel sorgente in caso vedeste uno studio vuoto, ma anche cambiandola potrebbero aver cambiato totalmente la pagina della webcam e quindi questo sorgente potrebbe essere inutilizzabile.</p>
<p><strong>Download</strong></p>
<p><a href="http://www.ghv.netsons.org/software/zoo_di_105_webcam_view.tar.gz">Download</a></p>
<p><a href="http://img201.imageshack.us/img201/6861/105webcamme8.jpg">Screenshot</a></p>
<p><span id="more-15"></span></p>
<p><strong>Sorgente</strong></p>
<pre class="brush: python;">#!/usr/bin/env python

import pygame

import urllib

from time import sleep

pygame.init()

screen=pygame.display.set_mode((300,242))

pygame.display.set_caption(&quot;Lo ZOO di 105&quot;)

studio=3

def scarica():

imm=urllib.urlopen(&quot;http://62.101.69.41/webcam/studio&quot;+str(studio)+&quot;.jpg&quot;)

buffer=imm.read()

salva=open(&quot;temp.jpg&quot;,&quot;w&quot;)

salva.write(buffer)

def visualizza():

try:

foto=pygame.image.load(&quot;temp.jpg&quot;)

except:

main()

screen.blit(foto,(0,0))

pygame.display.update()

sleep(2)

def main():

while 1 :

scarica()

visualizza()

main()</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ghvlabs.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ghvlabs.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghvlabs.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghvlabs.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghvlabs.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghvlabs.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghvlabs.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghvlabs.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghvlabs.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghvlabs.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghvlabs.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghvlabs.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghvlabs.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghvlabs.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghvlabs.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghvlabs.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghvlabs.wordpress.com&amp;blog=3813586&amp;post=15&amp;subd=ghvlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghvlabs.wordpress.com/2008/08/17/zoo-105-webcam-viewer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/49509467017a8401ddf8c81a439d5810?s=96&#38;d=wavatar" medium="image">
			<media:title type="html">ghvlabs</media:title>
		</media:content>

		<media:content url="http://img231.imageshack.us/img231/6309/logo20105fy5.jpg" medium="image" />
	</item>
		<item>
		<title>Wifi on/off Netgear Dg834G</title>
		<link>http://ghvlabs.wordpress.com/2008/07/04/wifi-onoff-netgear-dg834g/</link>
		<comments>http://ghvlabs.wordpress.com/2008/07/04/wifi-onoff-netgear-dg834g/#comments</comments>
		<pubDate>Fri, 04 Jul 2008 09:46:03 +0000</pubDate>
		<dc:creator>ghvlabs</dc:creator>
				<category><![CDATA[Terminale]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[modem]]></category>
		<category><![CDATA[Netgear]]></category>
		<category><![CDATA[Programma]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[urllib2]]></category>

		<guid isPermaLink="false">http://ghvlabs.wordpress.com/?p=13</guid>
		<description><![CDATA[Nome Wifi on/off Netgear Dg834G Descrizione Piccolo programmino per disattivare e attivare il Wifi del modem Netgear Dg834G, e probabilmente tutti quelli della serie Netgear con il wifi, senza usare l&#8217;interfaccia web. Linguaggio Python Uso python wifi on/off (di default il parametro è off) Errori conosciuti A volte non funziona al primo tentativo, probabilmente ci [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghvlabs.wordpress.com&amp;blog=3813586&amp;post=13&amp;subd=ghvlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><img class="aligncenter" src="http://www.emule-italia.it/immagini/netgg834_01.jpg" alt="netgear web " /></p>
<p style="text-align:center;">
<p><strong>Nome</strong></p>
<p>Wifi on/off Netgear Dg834G</p>
<p><strong>Descrizione</strong></p>
<p>Piccolo programmino per disattivare e attivare il Wifi del modem Netgear Dg834G, e probabilmente tutti quelli della serie Netgear con il wifi, senza usare l&#8217;interfaccia web.</p>
<p><strong>Linguaggio</strong></p>
<p>Python</p>
<p><strong>Uso</strong></p>
<blockquote><p>python wifi on/off (di default il parametro è off)</p></blockquote>
<p><strong>Errori conosciuti</strong></p>
<p>A volte non funziona al primo tentativo, probabilmente ci sarebbero da implementare alcuni controlli sull&#8217;avvenuta attivazione/disattivazione del wifi.</p>
<p><strong>Download</strong></p>
<p><a title="Sorgente e binario" href="http://www.ghv.netsons.org/software/wifi.tar.gz">Sorgente </a></p>
<p><span id="more-13"></span></p>
<p><strong>Sorgente </strong></p>
<pre class="brush: python;">#! /usr/bin/env python
import urllib2
import sys
def on():
sock=urllib2.Request(url=&quot;http://192.168.0.1/setup.cgi&quot;,data=&quot;ssid=NETGEAR&amp;amp;WRegion=Europe&amp;amp;w_channel=9&amp;amp;wire_mode=gb&amp;amp;enable_ap=enable_ap&amp;amp;ssid_bc=ssid_bc&amp;amp;security_type=0&amp;amp;save=Applica&amp;amp;h_WRegion=Europe&amp;amp;h_w_channel=9&amp;amp;h_wire_mode=gb&amp;amp;h_enable_ap=enable&amp;amp;h_ssid_bc=enable&amp;amp;h_wire_iso=disable&amp;amp;h_security_type=0&amp;amp;todo=save&amp;amp;this_file=wire_off.htm&amp;amp;next_file=wire_off.htm&quot;)
sock.add_header(&quot;Authorization&quot;,&quot;Basic YWRtaW46cGFzc3dvcmQ=&quot;)#Basic= nome:password in base64
stream=urllib2.urlopen(sock).read()
def off():
sock=urllib2.Request(url=&quot;http://192.168.0.1/setup.cgi&quot;,data=&quot;ssid=NETGEAR&amp;amp;WRegion=Europe&amp;amp;w_channel=9&amp;amp;wire_mode=gb&amp;amp;security_type=0&amp;amp;save=Applica&amp;amp;h_WRegion=Europe&amp;amp;h_w_channel=9&amp;amp;h_wire_mode=gb&amp;amp;h_enable_ap=disable&amp;amp;h_ssid_bc=disable&amp;amp;h_wire_iso=disable&amp;amp;h_security_type=0&amp;amp;todo=save&amp;amp;this_file=wire_off.htm&amp;amp;next_file=wire_off.htm&quot;)
sock.add_header(&quot;Authorization&quot;,&quot;Basic YWRtaW46cGFzc3dvcmQ=&quot;)#Basic= nome:password in base64
stream=urllib2.urlopen(sock).read()
try:
if sys.argv[1]==&quot;on&quot;:
on()
except:
off()

print &quot;Eseguito&quot;</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ghvlabs.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ghvlabs.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghvlabs.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghvlabs.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghvlabs.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghvlabs.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghvlabs.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghvlabs.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghvlabs.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghvlabs.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghvlabs.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghvlabs.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghvlabs.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghvlabs.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghvlabs.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghvlabs.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghvlabs.wordpress.com&amp;blog=3813586&amp;post=13&amp;subd=ghvlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghvlabs.wordpress.com/2008/07/04/wifi-onoff-netgear-dg834g/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/49509467017a8401ddf8c81a439d5810?s=96&#38;d=wavatar" medium="image">
			<media:title type="html">ghvlabs</media:title>
		</media:content>

		<media:content url="http://www.emule-italia.it/immagini/netgg834_01.jpg" medium="image">
			<media:title type="html">netgear web </media:title>
		</media:content>
	</item>
		<item>
		<title>Pywriter Deluxe</title>
		<link>http://ghvlabs.wordpress.com/2008/05/28/pywriter-deluxe/</link>
		<comments>http://ghvlabs.wordpress.com/2008/05/28/pywriter-deluxe/#comments</comments>
		<pubDate>Wed, 28 May 2008 19:52:48 +0000</pubDate>
		<dc:creator>ghvlabs</dc:creator>
				<category><![CDATA[Editor di testo]]></category>
		<category><![CDATA[Programma]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Pywriter]]></category>

		<guid isPermaLink="false">http://ghvlabs.wordpress.com/?p=10</guid>
		<description><![CDATA[Nome Pywriter Deluxe Descrizione Editor di testo, anche se sarebbe più corretto chiamarlo wizard per la creazione di testi in quanto non l&#8217;ho mai trasformato in un editor completo. Nel pacchetto vi è sia la versione testuale che la sua evoluzione grafica. Linguaggio Python Errori conosciuti Nella versione testuale non è possibile scrivere più di [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghvlabs.wordpress.com&amp;blog=3813586&amp;post=10&amp;subd=ghvlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><img class="aligncenter" src="http://img209.imageshack.us/img209/9130/icontexteditorxw5.png" alt="icon pywriter" width="256" height="256" /></p>
<p><strong>Nome</strong></p>
<p>Pywriter Deluxe</p>
<p><strong>Descrizione</strong></p>
<p>Editor di testo, anche se sarebbe più corretto chiamarlo wizard per la creazione di testi in quanto non l&#8217;ho mai trasformato in un editor completo.</p>
<p>Nel pacchetto vi è sia la versione testuale che la sua evoluzione grafica.</p>
<p><strong>Linguaggio</strong></p>
<p>Python</p>
<p><strong>Errori conosciuti</strong></p>
<p>Nella versione testuale non è possibile scrivere più di una riga di testo.</p>
<p><strong>Download</strong></p>
<p><a title="Sorgente e binario" href="http://www.ghv.netsons.org/software/pywriter_deluxefix2.tar.gz">Sorgente </a></p>
<p><a title="Screenshot" href="http://ghvlabs.files.wordpress.com/2008/05/pywriter_deluxe.png">Screenshot</a></p>
<p><span id="more-10"></span></p>
<p><strong>Sorgente 0.1</strong></p>
<pre class="brush: python;"># -*- coding: iso-8859-1 -*-
print &quot;Ciao , benvenuto in PyWriter &quot;
print &quot;Scrivi c se vuoi creare un nuovofile &quot;
risposta=raw_input()
if risposta==&quot;c&quot;:
print &quot;Hai deciso di creare un nuovo file&quot;
print &quot;Inserisci il nome e l'estensione&quot;
nome_file=raw_input()
print &quot;Il tuo file si chiama&quot;+&quot;&quot;+ nome_file
print &quot;Attendi sto creando il file...&quot;
documento=open(nome_file,&quot;w&quot;)
pass
print &quot;File creato&quot;
print &quot;Inserisci il testo&quot;
testo=raw_input()
documento.write(testo + &quot;\n&quot;)
documento.close
print &quot;Sto salvando il file ,attendi per favore&quot;
pass
print &quot;File creato ,si trova nella tua Home&quot;
print &quot;Ti rileggo il file &quot;
pass
documento=open(nome_file,&quot;r&quot;)
print documento.readline()
documento.close
pass
pass
print &quot;Questo software è stato creato da Zap per favore dedica un minuto del tuo tempo a questo sito http://www.ghv.netsons.org&quot;
print &quot;Ciao ,torna presto&quot;</pre>
<p><strong>Sorgente 0.2</strong></p>
<pre class="brush: python;"># -*- coding: iso-8859-1 -*-
from Tkinter import *
class window:
def __init__(self,master):
self.master=init
self.toolbar=Frame(master)
self.toolbar.pack()
self.benvenuto=Label(self.toolbar,text=&quot;Ciao , benvenuto in PyWriter,premi crea per creare un nuovo file &quot;)
self.benvenuto.pack()
self.nuovo=Button(self.toolbar,text=&quot;Crea!&quot;,background=&quot;red&quot;)
self.nuovo.pack()
self.nuovo.bind(&quot;&amp;lt;Button-1&amp;gt;&quot;,self.nuovopremuto)
def nuovopremuto(self,evento):
self.benvenuto.destroy()
self.nuovo.destroy()
self.benvenuto=Label(self.toolbar,text=&quot;Inserisci il nome del file piu l'estensione es .txt&quot;)
self.benvenuto.pack()
self.domanda=Entry(self.toolbar)
self.domanda.pack()
def input():
self.nome_file= self.domanda.get()
self.documento=open(self.nome_file,&quot;w&quot;)
self.domanda.destroy()
self.benvenuto.destroy()
self.risposta.destroy()
self.benvenuto=Label(self.toolbar,text=&quot;Inserisci il testo da scrivere&quot;)
self.benvenuto.pack()
self.domanda=Text(self.toolbar)
self.risposta=Button(self.toolbar,text=&quot;Ho scritto&quot;,background=&quot;yellow&quot;,command=callback)
self.domanda.pack()
self.risposta.pack()
def callback():
testo = self.domanda.get(1.0, END)
self.documento.write(testo.encode('iso-8859-1') + &quot;\n&quot;)
self.documento.close
self.domanda.destroy()
self.risposta.destroy()
self.benvenuto.destroy()
self.master.destroy()

self.risposta=Button(self.toolbar,text=&quot;Ho scritto&quot;,background=&quot;yellow&quot;,command=input)
self.risposta.pack()

init=Tk()
window=window(init)
init.mainloop()</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ghvlabs.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ghvlabs.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghvlabs.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghvlabs.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghvlabs.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghvlabs.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghvlabs.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghvlabs.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghvlabs.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghvlabs.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghvlabs.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghvlabs.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghvlabs.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghvlabs.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghvlabs.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghvlabs.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghvlabs.wordpress.com&amp;blog=3813586&amp;post=10&amp;subd=ghvlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghvlabs.wordpress.com/2008/05/28/pywriter-deluxe/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/49509467017a8401ddf8c81a439d5810?s=96&#38;d=wavatar" medium="image">
			<media:title type="html">ghvlabs</media:title>
		</media:content>

		<media:content url="http://img209.imageshack.us/img209/9130/icontexteditorxw5.png" medium="image">
			<media:title type="html">icon pywriter</media:title>
		</media:content>
	</item>
		<item>
		<title>Fortune Teller l&#8217;indovino</title>
		<link>http://ghvlabs.wordpress.com/2008/05/27/fortune-teller-lindovino/</link>
		<comments>http://ghvlabs.wordpress.com/2008/05/27/fortune-teller-lindovino/#comments</comments>
		<pubDate>Tue, 27 May 2008 11:09:55 +0000</pubDate>
		<dc:creator>ghvlabs</dc:creator>
				<category><![CDATA[Varie]]></category>
		<category><![CDATA[Fortuna]]></category>
		<category><![CDATA[Fortune Teller]]></category>
		<category><![CDATA[Futuro]]></category>
		<category><![CDATA[Indovini]]></category>
		<category><![CDATA[Programma]]></category>
		<category><![CDATA[Python]]></category>

		<guid isPermaLink="false">http://ghvlabs.wordpress.com/?p=8</guid>
		<description><![CDATA[Nome Fortune Teller Descrizione Permette di prevedere il futuro attraverso le risposte che il programma ci darà alle domande che gli porremo. Background Ovviamente il software non prevede veramente il futuro, nessuno può farlo, se vi fidate del caso allora potrebbe tornarvi utile se non avete una monetina da lanciare a portata di mano. Linguaggio [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghvlabs.wordpress.com&amp;blog=3813586&amp;post=8&amp;subd=ghvlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><img src="http://img211.imageshack.us/img211/4555/tn67mmcitrinehi5.jpg" alt="fortune teller logo" width="200" height="262" /></p>
<p><strong>Nome</strong></p>
<p>Fortune Teller</p>
<p><strong>Descrizione</strong></p>
<p>Permette di prevedere il futuro attraverso le risposte che il programma ci darà alle domande che gli porremo.</p>
<p><strong>Background</strong></p>
<p>Ovviamente il software non prevede veramente il futuro, nessuno può farlo, se vi fidate del caso allora potrebbe tornarvi utile se non avete una monetina da lanciare a portata di mano.</p>
<p><strong>Linguaggio</strong></p>
<p>Python</p>
<p><strong>Download</strong></p>
<p><a href="http://www.ghv.netsons.org/software/FortuneTeller1.tar.gz">Sorgente</a></p>
<p><a title="fortune teller" href="http://ghvlabs.files.wordpress.com/2008/05/fortuneteller.jpg">Screenshot</a></p>
<p><span id="more-8"></span></p>
<p><strong>Sorgente</strong></p>
<pre class="brush: python;">#!/usr/bin/env python
&quot;&quot;&quot;#############################################
##############Fortune Teller################
#######Created by GhvLinux##################
###########ghv.netsons.org#################
##########################################&quot;&quot;&quot;
from Tkinter import *
from random import choice
frame=Frame()
text=Label(frame)
text[&quot;text&quot;]=&quot;&quot;&quot;#############################################
##############Fortune Teller################
#######Created by GhvLinux##################
###########ghv.netsons.org#################
##########################################
Istruzione per l'uso:Pensare a una domanda che preveda una riposta con un si o con un no.
Premere il pulsante &quot;Ho pensato&quot; e attendere la risposta di Fortune Teller.
ATTENZIONE:Non ripetere le domande a Fortune Teller perche' e' solo LA PRIMA risposta che conta.&quot;&quot;&quot;
text[&quot;background&quot;]=&quot;white&quot;
text[&quot;foreground&quot;]=&quot;black&quot;
risposta=Label(frame,text=&quot;Sono pronto per rispondere a ogni tua domanda&quot;)
risposta[&quot;background&quot;]=&quot;red&quot;
def r():
risposta[&quot;text&quot;]=choice([&quot;Fortune Teller dice SI&quot;,&quot;Fortune Teller dice NO&quot;])
button=Button(frame,text=&quot;Ho pensato&quot;,command=r)
frame.pack()
text.pack()
risposta.pack()
button.pack()
frame.mainloop()
</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ghvlabs.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ghvlabs.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghvlabs.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghvlabs.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghvlabs.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghvlabs.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghvlabs.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghvlabs.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghvlabs.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghvlabs.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghvlabs.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghvlabs.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghvlabs.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghvlabs.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghvlabs.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghvlabs.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghvlabs.wordpress.com&amp;blog=3813586&amp;post=8&amp;subd=ghvlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghvlabs.wordpress.com/2008/05/27/fortune-teller-lindovino/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/49509467017a8401ddf8c81a439d5810?s=96&#38;d=wavatar" medium="image">
			<media:title type="html">ghvlabs</media:title>
		</media:content>

		<media:content url="http://img211.imageshack.us/img211/4555/tn67mmcitrinehi5.jpg" medium="image">
			<media:title type="html">fortune teller logo</media:title>
		</media:content>
	</item>
		<item>
		<title>Youporn Viewer</title>
		<link>http://ghvlabs.wordpress.com/2008/05/26/youporn-viewer/</link>
		<comments>http://ghvlabs.wordpress.com/2008/05/26/youporn-viewer/#comments</comments>
		<pubDate>Mon, 26 May 2008 16:36:11 +0000</pubDate>
		<dc:creator>ghvlabs</dc:creator>
				<category><![CDATA[Multimedia]]></category>
		<category><![CDATA[Adult]]></category>
		<category><![CDATA[Porn]]></category>
		<category><![CDATA[Porno]]></category>
		<category><![CDATA[Programma]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Sex]]></category>
		<category><![CDATA[Sexy]]></category>
		<category><![CDATA[Youporn]]></category>
		<category><![CDATA[Ypviewer]]></category>

		<guid isPermaLink="false">http://ghvlabs.wordpress.com/?p=4</guid>
		<description><![CDATA[ATTENZIONE QUESTO SORGENTE CONSENTE DI ACCEDERE A CONTENUTI VIETATI AI MINORI DI 18 ANNI. Nome Youporn Viewer Descrizione Permette la visualizzazione dei video presenti su Youporn senza l&#8217;utilizzo di un browser. Linguaggio Python Errori conosciuti Il software è impostato per visualizzare i video attraverso Mplayer e Vlc in caso uno di questi due riproduttori non [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghvlabs.wordpress.com&amp;blog=3813586&amp;post=4&amp;subd=ghvlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<blockquote><p><strong>ATTENZIONE QUESTO SORGENTE CONSENTE DI ACCEDERE A CONTENUTI VIETATI AI MINORI DI 18 ANNI.</strong></p></blockquote>
<p style="text-align:center;"><img class="aligncenter" src="http://ghvlabs.files.wordpress.com/2008/05/provalogo.png?w=425&#038;h=182" alt="ypviewer logo" width="425" height="182" /></p>
<p><strong>Nome</strong></p>
<p>Youporn Viewer</p>
<p><strong>Descrizione</strong></p>
<p>Permette la visualizzazione dei video presenti su Youporn senza l&#8217;utilizzo di un browser.</p>
<p><strong>Linguaggio</strong></p>
<p>Python</p>
<p><strong>Errori conosciuti</strong></p>
<p>Il software è impostato per visualizzare i video attraverso Mplayer e Vlc in caso uno di questi due riproduttori non fosse presente non funzionerà.</p>
<p>Il software non è stato testato su Windows o Mac, esso probabilmente non funzionerà a causa dei percorsi diversi dei riproduttori.</p>
<p>Per risolvere gli errori sopra elencanti è sufficiente correggere manualmente il percorso dei riproduttori.</p>
<p><strong>Uso</strong></p>
<blockquote><p>python ypviewer.py numero (della pagina da visualizzare, lasciare vuoto per ottenere la prima pagina)</p>
<p>Una volta partito il programma sarà sufficiente selezionare un video inserendo il suo  numero.</p></blockquote>
<p><strong>To Do</strong></p>
<p>Possibilità di cercare i video, visualizzare i più visti o i più cliccati</p>
<p>Trovare un metodo per non richiedere l&#8217;uso di lettori esterni</p>
<p>Interfaccia grafica</p>
<p><strong>Download</strong></p>
<p><a title="Sorgente" href="http://www.ghv.netsons.org/software/ypviewer01.tar.gz">Sorgente</a></p>
<p><a title="yp viewer screenshot" href="http://ghvlabs.files.wordpress.com/2008/05/ypv01screen.png">Screenshot</a></p>
<p><span id="more-4"></span><br />
<strong>Sorgente</strong></p>
<pre class="brush: python;">
#!/usr/bin/env python
&quot;&quot;&quot;
http://www.ghvlabs.wordpress.com
************************************************************************
*															    *
*                           YPViewer 0.1                                                                         *
*															    *
************************************************************************
Usage: python ypviewer number of the page (if you leave blank it shows the first page)
&quot;&quot;&quot;
import re
import httplib
import os
import sys&lt;/code&gt;

sock=httplib.HTTPConnection(&quot;youporn.com&quot;,80)
try:
open(&quot;/usr/bin/mplayer&quot;,&quot;r&quot;)
player=&quot;mplayer&quot;
except:
player=&quot;vlc&quot; #Insert here the path of your video player if the standard doesn't work

def mainpage():
try:
page=sys.argv[1]
except:
page=&quot;1&quot;
sock.request(&quot;POST&quot;,&quot;/?page=&quot;+page,&quot;user_choice=Enter&quot;)
#/?page=1 first page
stream=sock.getresponse().read()
exp=re.compile(&quot;/watch/.*/&quot;)
stream=re.findall(exp,stream)

def lista():
c=0
while c&amp;lt;len(stream):
c+=1
del stream[c]
print str(c-1)+&quot;. &quot;+ stream[c-1]
lista()
while 1:
r=input(&quot;Inserire numero video: &quot;)
try:
play(stream[int(r)])
except:
print &quot;Numero non valido.&quot;
def play(link):
sock.request(&quot;POST&quot;,link,&quot;user_choice=Enter&quot;)
flv=sock.getresponse().read()
exp=re.compile(&quot;http://.*flv&quot;)
flv=re.findall(exp,flv)
url=flv[0]
sock.close()
os.system(player+&quot; '&quot;+url+&quot;'&quot;)
mainpage()</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ghvlabs.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ghvlabs.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghvlabs.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghvlabs.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghvlabs.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghvlabs.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghvlabs.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghvlabs.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghvlabs.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghvlabs.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghvlabs.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghvlabs.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghvlabs.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghvlabs.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghvlabs.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghvlabs.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghvlabs.wordpress.com&amp;blog=3813586&amp;post=4&amp;subd=ghvlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghvlabs.wordpress.com/2008/05/26/youporn-viewer/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/49509467017a8401ddf8c81a439d5810?s=96&#38;d=wavatar" medium="image">
			<media:title type="html">ghvlabs</media:title>
		</media:content>

		<media:content url="http://ghvlabs.files.wordpress.com/2008/05/provalogo.png" medium="image">
			<media:title type="html">ypviewer logo</media:title>
		</media:content>
	</item>
		<item>
		<title>Colorcat un cat colorato</title>
		<link>http://ghvlabs.wordpress.com/2008/05/25/colorcat-un-cat-colorato/</link>
		<comments>http://ghvlabs.wordpress.com/2008/05/25/colorcat-un-cat-colorato/#comments</comments>
		<pubDate>Sun, 25 May 2008 14:10:09 +0000</pubDate>
		<dc:creator>ghvlabs</dc:creator>
				<category><![CDATA[Terminale]]></category>
		<category><![CDATA[C++]]></category>
		<category><![CDATA[Cat]]></category>
		<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://ghvlabs.wordpress.com/?p=3</guid>
		<description><![CDATA[Nome Colorcat Descrizione Clone di Cat con alcune migliorie. Linguaggio C++ Errori conosciuti A causa dell&#8217;uso dei colori se si proverà a salvare l&#8217;output di colorcat attraverso pipe il file generato sarà pieno di stringhe riguardanti i colori. Download Sorgente e binario Screenshot Sorgente //Zap ghv.netsons.org #include #include #include using namespace std; int main(int argc,char [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghvlabs.wordpress.com&amp;blog=3813586&amp;post=3&amp;subd=ghvlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p style="text-align:center;"><img class="aligncenter" src="http://img249.imageshack.us/img249/2885/immaginenw1.jpg" alt="Colorcat logo" width="419" height="185" /></p>
<p><strong>Nome</strong></p>
<p>Colorcat</p>
<p><strong>Descrizione</strong></p>
<p>Clone di Cat con alcune migliorie.</p>
<p><strong>Linguaggio</strong></p>
<p>C++</p>
<p><strong>Errori conosciuti</strong></p>
<p>A causa dell&#8217;uso dei colori se si proverà a salvare l&#8217;output di colorcat attraverso pipe il file generato sarà pieno di stringhe riguardanti i colori.</p>
<p><strong>Download</strong></p>
<p><a title="Sorgente e binario" href="http://www.ghv.netsons.org/software/colorcatv1.tar.gz">Sorgente e binario</a></p>
<p><a title="Screenshot" href="http://img444.imageshack.us/img444/20/colorcathk2.png">Screenshot</a></p>
<p><span id="more-3"></span></p>
<p><strong>Sorgente</strong></p>
<p>//Zap ghv.netsons.org<br />
#include <iostream><br />
#include <fstream><br />
#include <vector><br />
using namespace std;<br />
int main(int argc,char *argv[])<br />
{<br />
ifstream in(argv[1]);<br />
if(in==0)(cout<<"33[1;31m"<<"File not found"<<"33[0m"<<endl);</p>
<p>vector<string> testo;<br />
string linea;<br />
while(getline(in,linea))<br />
{<br />
	testo.push_back(linea);<br />
}<br />
for(int i=0;i<testo.size();i++)<br />
{<br />
	if(i%2==0)<br />
	{<br />
	cout<<"33[1;36m"<<i<<"."<<"33[0m"<br />
	<<"\t"<br />
	<<"33[36m"<br />
	<<testo[i]<br />
	<<"33[0m"<br />
	<<endl;<br />
	}<br />
	else<br />
	{<br />
		cout<<"33[1;36m"<<i<<"."<<"33[0m"<br />
			<<"\t"<br />
			<<"33[2;36m"<br />
			<<testo[i]<br />
			<<"33[0m"<br />
			<<endl;<br />
	}<br />
}</p>
<p>}</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/ghvlabs.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/ghvlabs.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/ghvlabs.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/ghvlabs.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/ghvlabs.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/ghvlabs.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/ghvlabs.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/ghvlabs.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/ghvlabs.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/ghvlabs.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/ghvlabs.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/ghvlabs.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/ghvlabs.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/ghvlabs.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/ghvlabs.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/ghvlabs.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=ghvlabs.wordpress.com&amp;blog=3813586&amp;post=3&amp;subd=ghvlabs&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://ghvlabs.wordpress.com/2008/05/25/colorcat-un-cat-colorato/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/49509467017a8401ddf8c81a439d5810?s=96&#38;d=wavatar" medium="image">
			<media:title type="html">ghvlabs</media:title>
		</media:content>

		<media:content url="http://img249.imageshack.us/img249/2885/immaginenw1.jpg" medium="image">
			<media:title type="html">Colorcat logo</media:title>
		</media:content>
	</item>
	</channel>
</rss>
