<?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>nandelbosc</title>
	<atom:link href="http://www.elsxukurs.org/nandelbosc/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://www.elsxukurs.org/nandelbosc</link>
	<description>Recordatoris, Ajudes, Configuracions,... o no!</description>
	<lastBuildDate>Mon, 26 Jul 2010 16:16:41 +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>Saber contrasenya d’un usuari virtual de qmail</title>
		<link>http://www.elsxukurs.org/nandelbosc/?p=847</link>
		<comments>http://www.elsxukurs.org/nandelbosc/?p=847#comments</comments>
		<pubDate>Mon, 26 Jul 2010 16:16:41 +0000</pubDate>
		<dc:creator>nandelbosc</dc:creator>
				<category><![CDATA[Mailserver]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Plesk]]></category>

		<guid isPermaLink="false">http://www.elsxukurs.org/nandelbosc/?p=847</guid>
		<description><![CDATA[Així no cal resetejar la contrasenya…

use psa;
SELECT m.mail_name, d.name, a.password FROM mail AS m LEFT JOIN (domains AS d, accounts AS a) ON (m.dom_id = d.id AND m.account_id = a.id);
]]></description>
			<content:encoded><![CDATA[<p>Així no cal resetejar la contrasenya…<br />
<br/><br />
<code>use psa;</code><br />
<code>SELECT m.mail_name, d.name, a.password FROM mail AS m LEFT JOIN (domains AS d, accounts AS a) ON (m.dom_id = d.id AND m.account_id = a.id);</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.elsxukurs.org/nandelbosc/?feed=rss2&amp;p=847</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>DNS</title>
		<link>http://www.elsxukurs.org/nandelbosc/?p=845</link>
		<comments>http://www.elsxukurs.org/nandelbosc/?p=845#comments</comments>
		<pubDate>Sat, 26 Jun 2010 09:13:08 +0000</pubDate>
		<dc:creator>nandelbosc</dc:creator>
				<category><![CDATA[Xarxa]]></category>

		<guid isPermaLink="false">http://www.elsxukurs.org/nandelbosc/?p=845</guid>
		<description><![CDATA[http://www.opendns.com/familyshield/
IP: 208.67.222.123
http://code.google.com/intl/ca-ES/speed/public-dns/
IP: 8.8.8.8 i 8.8.4.4
]]></description>
			<content:encoded><![CDATA[<p>http://www.opendns.com/familyshield/<br />
IP: 208.67.222.123</p>
<p>http://code.google.com/intl/ca-ES/speed/public-dns/<br />
IP: 8.8.8.8 i 8.8.4.4</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elsxukurs.org/nandelbosc/?feed=rss2&amp;p=845</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Redireccionar subdomini amb plesk</title>
		<link>http://www.elsxukurs.org/nandelbosc/?p=843</link>
		<comments>http://www.elsxukurs.org/nandelbosc/?p=843#comments</comments>
		<pubDate>Thu, 17 Jun 2010 10:52:48 +0000</pubDate>
		<dc:creator>nandelbosc</dc:creator>
				<category><![CDATA[Plesk]]></category>

		<guid isPermaLink="false">http://www.elsxukurs.org/nandelbosc/?p=843</guid>
		<description><![CDATA[Creem el subdomini i dins la carpeta httpdocs hi creem un fitxer anomenat .htaccess amb aquest contingut&#8230;
Redirect / http://www.llocweb.com
]]></description>
			<content:encoded><![CDATA[<p>Creem el subdomini i dins la carpeta httpdocs hi creem un fitxer anomenat .htaccess amb aquest contingut&#8230;<br />
<code>Redirect / http://www.llocweb.com</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.elsxukurs.org/nandelbosc/?feed=rss2&amp;p=843</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Lector codi de barres/PDA PSION Teklogix NEO</title>
		<link>http://www.elsxukurs.org/nandelbosc/?p=841</link>
		<comments>http://www.elsxukurs.org/nandelbosc/?p=841#comments</comments>
		<pubDate>Thu, 17 Jun 2010 10:28:43 +0000</pubDate>
		<dc:creator>nandelbosc</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Manxa]]></category>

		<guid isPermaLink="false">http://www.elsxukurs.org/nandelbosc/?p=841</guid>
		<description><![CDATA[Per suspendre&#8217;l:
FN (blava) + ENTER
Escollim Shutdown -> Suspend (start menu)
Per fer un Warm Reset:
FN (blava) + ENTER durant 6 segons
o&#8230;
Shutdown -> Warm Reset
]]></description>
			<content:encoded><![CDATA[<p>Per suspendre&#8217;l:<br />
<code>FN (blava) + ENTER</code><br />
Escollim <em>Shutdown </em>-> <em>Suspend </em>(start menu)</p>
<p>Per fer un <em>Warm Reset</em>:<br />
<code>FN (blava) + ENTER</code> durant 6 segons<br />
o&#8230;<br />
<em>Shutdown </em>-> <em>Warm Reset</em></p>
]]></content:encoded>
			<wfw:commentRss>http://www.elsxukurs.org/nandelbosc/?feed=rss2&amp;p=841</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Treure el &#8220;Top News&#8221; feed de la barra lateral al Horde</title>
		<link>http://www.elsxukurs.org/nandelbosc/?p=836</link>
		<comments>http://www.elsxukurs.org/nandelbosc/?p=836#comments</comments>
		<pubDate>Wed, 16 Jun 2010 07:08:05 +0000</pubDate>
		<dc:creator>nandelbosc</dc:creator>
				<category><![CDATA[Horde]]></category>
		<category><![CDATA[Plesk]]></category>

		<guid isPermaLink="false">http://www.elsxukurs.org/nandelbosc/?p=836</guid>
		<description><![CDATA[Editem el fitxer
/usr/share/psa-horde/templates/portal/sidebar.inc
i comentem l&#8217;if del feed (de les línies 102 a 117)
]]></description>
			<content:encoded><![CDATA[<p>Editem el fitxer</p>
<li><code>/usr/share/psa-horde/templates/portal/sidebar.inc</code></li>
<p>i comentem l&#8217;<em>if </em>del feed (de les línies 102 a 117)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elsxukurs.org/nandelbosc/?feed=rss2&amp;p=836</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Para l&#8217;hibernació amb Windows 7</title>
		<link>http://www.elsxukurs.org/nandelbosc/?p=833</link>
		<comments>http://www.elsxukurs.org/nandelbosc/?p=833#comments</comments>
		<pubDate>Tue, 15 Jun 2010 10:38:46 +0000</pubDate>
		<dc:creator>nandelbosc</dc:creator>
				<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://www.elsxukurs.org/nandelbosc/?p=833</guid>
		<description><![CDATA[Obrim un intèrpret de comandes ( inici -> executar -> cmd ) i hi posem:
powercfg.exe -h off
Final.
]]></description>
			<content:encoded><![CDATA[<p>Obrim un intèrpret de comandes ( inici -> executar -> cmd ) i hi posem:</p>
<p><code>powercfg.exe -h off</code></p>
<p>Final.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.elsxukurs.org/nandelbosc/?feed=rss2&amp;p=833</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Canviar l&#8217;hora a un VMWare ESX 3.5</title>
		<link>http://www.elsxukurs.org/nandelbosc/?p=819</link>
		<comments>http://www.elsxukurs.org/nandelbosc/?p=819#comments</comments>
		<pubDate>Thu, 13 May 2010 11:15:15 +0000</pubDate>
		<dc:creator>nandelbosc</dc:creator>
				<category><![CDATA[Consola]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Virtual Machines]]></category>

		<guid isPermaLink="false">http://www.elsxukurs.org/nandelbosc/?p=819</guid>
		<description><![CDATA[Ens connectem com a root i:
Enllacem la zona horaria on estem amb el fitxer localtime&#8230;

ln -s /usr/share/zoneinfo/Europe/Madrid  /etc/localtime

Comprobem que ha anat bé (no hem de veure cap resultat)&#8230;

diff /etc/localtime /usr/share/zoneinfo/Europe/Madrid

Posem la nova data (09:00 del 13 de maig de 2010)&#8230;

date 051309002010

Comprobem que ha anat bé&#8230;

date

Sincronitzem el sistema i el hardware&#8230;

/sbin/hwclock --systohc

Una última comprobació&#8230;

date

]]></description>
			<content:encoded><![CDATA[<p>Ens connectem com a <em>root</em> i:</p>
<p>Enllacem la zona horaria on estem amb el fitxer localtime&#8230;</p>
<ul>
<li><code>ln -s /usr/share/zoneinfo/Europe/Madrid  /etc/localtime</code></li>
</ul>
<p>Comprobem que ha anat bé (no hem de veure cap resultat)&#8230;</p>
<ul>
<li><code>diff /etc/localtime /usr/share/zoneinfo/Europe/Madrid</code></li>
</ul>
<p>Posem la nova data (09:00 del 13 de maig de 2010)&#8230;</p>
<ul>
<li><code>date 051309002010</code></li>
</ul>
<p>Comprobem que ha anat bé&#8230;</p>
<ul>
<li><code>date</code></li>
</ul>
<p>Sincronitzem el sistema i el hardware&#8230;</p>
<ul>
<li><code>/sbin/hwclock --systohc</code></li>
</ul>
<p>Una última comprobació&#8230;</p>
<ul>
<li><code>date</code></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.elsxukurs.org/nandelbosc/?feed=rss2&amp;p=819</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Restaurar valors de fàbrica Lexmark X464de</title>
		<link>http://www.elsxukurs.org/nandelbosc/?p=817</link>
		<comments>http://www.elsxukurs.org/nandelbosc/?p=817#comments</comments>
		<pubDate>Thu, 29 Apr 2010 09:35:58 +0000</pubDate>
		<dc:creator>nandelbosc</dc:creator>
				<category><![CDATA[Impressores]]></category>

		<guid isPermaLink="false">http://www.elsxukurs.org/nandelbosc/?p=817</guid>
		<description><![CDATA[
Parem l&#8217;impressora
Apretem i mantenim apretats els botos 6, 7 i 8
Engeguem
Quan hagi engegat (2 o 3 minuts) els deixem anar els botons

]]></description>
			<content:encoded><![CDATA[<ul>
<li>Parem l&#8217;impressora</li>
<li>Apretem i mantenim apretats els botos 6, 7 i 8</li>
<li>Engeguem</li>
<li>Quan hagi engegat (2 o 3 minuts) els deixem anar els botons</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://www.elsxukurs.org/nandelbosc/?feed=rss2&amp;p=817</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Captura de d&#8217;Imatge d&#8217;una webcam (Dlink-2120)</title>
		<link>http://www.elsxukurs.org/nandelbosc/?p=811</link>
		<comments>http://www.elsxukurs.org/nandelbosc/?p=811#comments</comments>
		<pubDate>Tue, 27 Apr 2010 15:39:28 +0000</pubDate>
		<dc:creator>nandelbosc</dc:creator>
				<category><![CDATA[Consola]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[WebCams]]></category>

		<guid isPermaLink="false">http://www.elsxukurs.org/nandelbosc/?p=811</guid>
		<description><![CDATA[Amb WGET&#8230;
 #!/bin/bash
 cd /on/volem/els/fitxers/temporalment/
 wget http://USER:PASS@IP_WEB_CAM:PORT/image/jpeg.cgi&#60;br /&#62;
 mv /on/volem/els/fitxers/temporalment/jpeg.cgi /on/volem/els/fitxers/temporalment/`date +%d-%m-%Y_%H-%M-%S`.jpg
 /usr/bin/sendEmail -f CORREU@DESDE.TLD -t USUARI@DESTI.TLD -u TEXT -m TEXT -a /on/volem/els/fitxers/temporalment/*.jpg -s gmail-smtp-in.l.google.com:25 -xu USUARI@gmail.com -xp PASS
 rm /on/volem/els/fitxers/temporalment/*.jpg

Amb MPLAYER&#8230;
 #!/bin/bash
 mplayer -nosound -vo jpeg:outdir=/on/volem/els/fitxers/temporalment/  -frames 1 -ss 2 rtsp://IP_WEBCAM/play1.sdp -loop 1
 /home/marc/.captura/email-3.1.2/src/email -s TEXT -n TEXT -f CORREU@DESDE.TLD -a /on/volem/els/fitxers/temporalment/00000001.jpg -b [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Amb WGET&#8230;</strong><br />
 <code>#!/bin/bash<br />
 cd /on/volem/els/fitxers/temporalment/<br />
 wget http://USER:PASS@IP_WEB_CAM:PORT/image/jpeg.cgi&lt;br /&gt;<br />
 mv /on/volem/els/fitxers/temporalment/jpeg.cgi /on/volem/els/fitxers/temporalment/`date +%d-%m-%Y_%H-%M-%S`.jpg<br />
 /usr/bin/sendEmail -f CORREU@DESDE.TLD -t USUARI@DESTI.TLD -u TEXT -m TEXT -a /on/volem/els/fitxers/temporalment/*.jpg -s gmail-smtp-in.l.google.com:25 -xu USUARI@gmail.com -xp PASS<br />
 rm /on/volem/els/fitxers/temporalment/*.jpg</code></p>
<p><br class="spacer_" /></p>
<p><strong>Amb MPLAYER&#8230;</strong><br />
 <code>#!/bin/bash<br />
 mplayer -nosound -vo jpeg:outdir=/on/volem/els/fitxers/temporalment/  -frames 1 -ss 2 rtsp://IP_WEBCAM/play1.sdp -loop 1<br />
 /home/marc/.captura/email-3.1.2/src/email -s TEXT -n TEXT -f CORREU@DESDE.TLD -a /on/volem/els/fitxers/temporalment/00000001.jpg -b CORREU@DESTI.TLD -r SERVIDOR -p PORT_SERVIDOR -m plain -u USUARI -i PASS<br />
 rm /on/volem/els/fitxers/temporalment/00000001.jpg</code></p>
<p><br class="spacer_" /></p>
<p><a href="http://www.elsxukurs.org/nandelbosc/wp-content/uploads/2010/04/email-3.1.2.tar.gz">Aquí trobem l&#8217;aplicació Email-3.1.2</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.elsxukurs.org/nandelbosc/?feed=rss2&amp;p=811</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Connexions inverses X11VNC, des d&#8217;SSH</title>
		<link>http://www.elsxukurs.org/nandelbosc/?p=809</link>
		<comments>http://www.elsxukurs.org/nandelbosc/?p=809#comments</comments>
		<pubDate>Sun, 25 Apr 2010 08:00:26 +0000</pubDate>
		<dc:creator>nandelbosc</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Remot]]></category>
		<category><![CDATA[SSh]]></category>

		<guid isPermaLink="false">http://www.elsxukurs.org/nandelbosc/?p=809</guid>
		<description><![CDATA[Ens conectem via ssh al PC que volem controlar&#8230;
ssh usuari@pc
donem accés pel servidor X&#8230;
xhost +
ens connectem al PC on estem davant amb en port 5500 obert i vnc escoltant (vncviewer  -listen -LowColourLevel=0)
x11vnc -display :0 -connect www.elseudomini.net -scale 5/6
]]></description>
			<content:encoded><![CDATA[<p>Ens conectem via ssh al PC que volem controlar&#8230;</p>
<p><code>ssh usuari@pc</code></p>
<p>donem accés pel servidor X&#8230;</p>
<p><code>xhost +</code></p>
<p>ens connectem al PC on estem davant amb en port 5500 obert i vnc escoltant (<code>vncviewer  -listen -LowColourLevel=0</code>)</p>
<p><code>x11vnc -display :0 -connect www.elseudomini.net -scale 5/6</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.elsxukurs.org/nandelbosc/?feed=rss2&amp;p=809</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
