<?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>Estonian php blog</title>
	<atom:link href="http://estphp.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://estphp.wordpress.com</link>
	<description>Just another WordPress.com weblog</description>
	<lastBuildDate>Wed, 16 Feb 2011 19:49:54 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='estphp.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Estonian php blog</title>
		<link>http://estphp.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://estphp.wordpress.com/osd.xml" title="Estonian php blog" />
	<atom:link rel='hub' href='http://estphp.wordpress.com/?pushpress=hub'/>
		<item>
		<title>PHP tekstiredaktor</title>
		<link>http://estphp.wordpress.com/2011/02/16/php-tekstiredaktor/</link>
		<comments>http://estphp.wordpress.com/2011/02/16/php-tekstiredaktor/#comments</comments>
		<pubDate>Wed, 16 Feb 2011 19:49:31 +0000</pubDate>
		<dc:creator>estphp</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://estphp.wordpress.com/?p=132</guid>
		<description><![CDATA[Sageli tekib küsimus millise tekstiredaktoriga tööd teha? Seega peaks vaatama kõige pealt, mida on vaja, kas projekti haldust, süntaksi värvimist, makrod jne. Ise kasutan kolme erinevat tekstiredaktorit Netbeans(PHP), Scite, Vim. Üks neist on küll rohkem IDE ning võrreldes teistega mugavam suuremate projektide puhul. Kiireks muutmiseks, ülevaatmiseks on hea kasutada tekstiredaktorit, mis laadimiseks aega ei kulutu [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=132&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sageli tekib küsimus millise tekstiredaktoriga tööd teha? Seega peaks vaatama kõige pealt, mida on vaja, kas projekti haldust, süntaksi värvimist, makrod jne.</p>
<p>Ise kasutan kolme erinevat tekstiredaktorit Netbeans(PHP), Scite, Vim. Üks neist on küll rohkem IDE ning võrreldes teistega mugavam suuremate projektide puhul. Kiireks muutmiseks, ülevaatmiseks on hea kasutada tekstiredaktorit, mis laadimiseks aega ei kulutu näiteks Scite ja vim. Kõik kolm näites ära toodud programmeerimise vahendit on nii Linuxi kui ka Windowsi all saadavad.</p>
<p>Netbeans, juhul kui keegi veel ei tea siis kõige rohkem tuntust on kogunud Java IDE-na. Lisaks Java-le on võimalik kirjutada Netbeans-i abil ka paljusi teisi keeli JavaFX, Ruby, C/C++, PHP. Üllatuseks minule on PHP versioon suhteliselt väikese mahuga kõigest 31MB. Downloadi lehele saab <a href="http://netbeans.org/downloads/index.html">siit</a>. Miinuseks võib tuua selle, et eelnevalt on vaja Java-t ja põhiliselt jookseb kogu programm Java peal. Plussideks on kindlasti hea auto complete, näiteks frameworkide puhul. Üksikute failide muutmiseks ei ole kõige parem, selleks võiks hoopis kasutada all järgnevaid programme.<br />
<a href="http://estphp.files.wordpress.com/2011/02/netbeans.png"><img src="http://estphp.files.wordpress.com/2011/02/netbeans.png?w=300&#038;h=254" alt="" title="netbeans" width="300" height="254" class="alignnone size-medium wp-image-139" /></a></p>
<p>Scite, väga kiiresti avaneb, töötab GTK+ peal. Juhul kui Vim tundub liiga keeruline kasutamiseks ning ei soovi väga nostalgiline olla, siis Scite tundub kõige parem variant. Plussideks võib kindlasti tuua süntaksi värvimise, kirja suurust on võimalik lihtsalt muuta sarnaselt brauserile CTRL+Scroll. Ubuntu-s paigaldamiseks kirjuta:<br />
<code>sudo apt-get install scite</code><br />
<a href="http://estphp.files.wordpress.com/2011/02/scite.png"><img src="http://estphp.files.wordpress.com/2011/02/scite.png?w=238&#038;h=300" alt="" title="scite" width="238" height="300" class="alignnone size-medium wp-image-140" /></a></p>
<p>Vim, kõige rohkemate võimalustega tekstiredaktor, mida üldse näinud olen. Samas ka kasutamise mugavuse kätte saamiseks on vaja suhteliselt palju endale selgeks õpetada. Erinevad võimalused, kiirklahvide, regulaaravaldiste kasutamised jne on kõigest väike osa Vim-i poolt pakutud tööriistadest. Igale Vim-i kasutajale on iseloomulik enda loodud confi(.vimrc) fail ja kindlasti pluginate kasutamine. KUbuntu all küll vim kohe kaasa ei tule siis on võimalik installida:<br />
<code>sudo apt-get install vim</code><br />
Uued vim-i kasutajad võivad ära ehmatada süntaksi värvimisest, mis tundub üsna kohutav, kuid on lihtsasti muudetav tänu :colorscheme abil.<br />
<a href="http://estphp.files.wordpress.com/2011/02/vim.png"><img src="http://estphp.files.wordpress.com/2011/02/vim.png?w=300&#038;h=229" alt="" title="vim" width="300" height="229" class="alignnone size-medium wp-image-136" /></a></p>
<p>Tekstiredaktori valimine on kindlasti personaalne, see mis võib ühele meeldida ei meeldi teisele. Mõnele meeldivad väga paljude võimalustega(kellade, viledega) programmid, kuid teised eelistavad minimalismi.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/estphp.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/estphp.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/estphp.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/estphp.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/estphp.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/estphp.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/estphp.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/estphp.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/estphp.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/estphp.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/estphp.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/estphp.wordpress.com/132/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/estphp.wordpress.com/132/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/estphp.wordpress.com/132/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=132&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://estphp.wordpress.com/2011/02/16/php-tekstiredaktor/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aafbb6c51cc6da87026c5e4e761b12e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">estphp</media:title>
		</media:content>

		<media:content url="http://estphp.files.wordpress.com/2011/02/netbeans.png?w=300" medium="image">
			<media:title type="html">netbeans</media:title>
		</media:content>

		<media:content url="http://estphp.files.wordpress.com/2011/02/scite.png?w=238" medium="image">
			<media:title type="html">scite</media:title>
		</media:content>

		<media:content url="http://estphp.files.wordpress.com/2011/02/vim.png?w=300" medium="image">
			<media:title type="html">vim</media:title>
		</media:content>
	</item>
		<item>
		<title>Väike reklaami bänner viimasest blogi sissekandest</title>
		<link>http://estphp.wordpress.com/2011/02/05/vaike-reklaami-banner-viimasest-blogi-sissekandest/</link>
		<comments>http://estphp.wordpress.com/2011/02/05/vaike-reklaami-banner-viimasest-blogi-sissekandest/#comments</comments>
		<pubDate>Sat, 05 Feb 2011 19:46:46 +0000</pubDate>
		<dc:creator>estphp</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://estphp.wordpress.com/?p=124</guid>
		<description><![CDATA[Foorumites on sageli hea võimalus enda blogile lugejaid leida, kuid selleks on vaja teha natuke reklaami. Kõige paremini püüab pilku reklaami osas liikuvad elemendid, kuid antud näites kasutame siiski staatilist pilti, mis siis näitab meie viimast postitust blogis. Milline lahendus on kõige lihtsam? Antud juhul läheb vaja kahte php moodulit simpleXML, millega parsime RSS feedis [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=124&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Foorumites on sageli hea võimalus enda blogile lugejaid leida, kuid selleks on vaja teha natuke reklaami. Kõige paremini püüab pilku reklaami osas liikuvad elemendid, kuid antud näites kasutame siiski staatilist pilti, mis siis näitab meie viimast postitust blogis.</p>
<p>Milline lahendus on kõige lihtsam? Antud juhul läheb vaja kahte php moodulit <a href="http://www.ibm.com/developerworks/library/x-simplexml.html">simpleXML</a>, millega parsime RSS feedis oleva xml-i ja teiseks läheb vaja moodulit GD mis toimetab pildi joonistamisega.</p>
<pre class="brush: php;">
&lt;?php
define('URL', 'http://estphp.wordpress.com/feed/');
$rss =  simplexml_load_file(URL); // Load xml from webpage
$items = $rss-&gt;channel-&gt;item;

foreach ($items as $item) {
    echo $item-&gt;title .&quot; &quot;. $item-&gt;pubDate .&quot;\n&lt;br /&gt;&quot;;
}
?&gt;
</pre>
<p>Antud kood kuvab kõik RSS feedis leiduvate postituste pealkirjad koos kuupäevadega. Ainult viimase postituse näitamiseks kasutame massiivi [0] abi, millega saame esimese elemendi.</p>
<pre class="brush: php;">
&lt;?php
define('URL', 'http://estphp.wordpress.com/feed/');
$rss =  simplexml_load_file(URL); // Load xml from webpage
$item = $rss-&gt;channel-&gt;item[0];
echo $item-&gt;title .&quot; &quot;. date('d-m-Y', strtotime($item-&gt;pubDate)) .&quot;\n&lt;br /&gt;&quot;;
?&gt;
</pre>
<p>Kuna hetkel on mul ainult kasutada tasuta host ning ligipääs php.ini konfile on võimatu, siis pidin realiseerima rakenduse teisiti kui olnuks võimalik. Tasuta hosti puhul pole võimalik simplexml_load_file(url) otse aadresilt andmeid allalaadida, seega oli vajalik eraldi XML alla saada ning siis alles loadida. Demo pidin eemaldama, kuna pole leidnud(ei ole viitsinud otsida) tasuta hosti, kus oleks võimaliks kasutada korralikult fopenit teistelt lehtedelt andmete allalaadimiseks.</p>
<p>rssFeed.php</p>
<pre class="brush: php;">
&lt;?php
//error_reporting(-1);
define('URL', 'http://estphp.wordpress.com/feed/');
define('XML_FILE', './tmp/file.xml');

// Set time zone if the server is in diffrent one
date_default_timezone_set('Europe/Tallinn');

$rss = simplexml_load_file(XML_FILE); // Load xml from webpage
$item = $rss-&gt;channel-&gt;item[0];
$date = date('d-m-Y', strtotime($item-&gt;pubDate)); // Format date
// Create an image
$im = imagecreate(200, 40);
$black = imagecolorallocate($im, 0, 0, 0);
$white = imagecolorallocate($im, 255, 255, 255);

// Set the background to be white
imagefilledrectangle($im, 0, 0, 299, 299, $white);

// Path to our font file
$font = './arial.ttf';

// First we create our bounding box for the first text
$bbox = imagettfbbox(10, 0, $font, $item-&gt;title);

$string = $item-&gt;title;
$wrapWord = 27;
if (strlen($string) &gt;= $wrapWord) {
    $string = substr($string, 0, $wrapWord) . '...';
}
// Write it
imagettftext($im, 11, 0, 5, 18, $black, $font, $string);
// Write it
imagettftext($im, 9, 0, imagesx($im) / 2 + 30, 35, $black, $font, $date);

// Output to browser
header('Content-type: image/png');
imagepng($im);
imagedestroy($im)
?&gt;
</pre>
<p>getXML.php (osa mida cron-ga executada näiteks päevas korra)</p>
<pre class="brush: php;">
&lt;?php
//error_reporting(-1);
define('URL', 'http://www.estphp.wordpress.com/feed/');
define('XML_FILE', './tmp/file.xml');

$write = fopen(XML_FILE, 'w');
$read = fopen(URL, 'r');

if (flock($write, LOCK_EX)) {
    while (($buffer = fgets($read, 4096)) !== false) {
        fwrite($write, $buffer, 4096);
    }
    flock($write, LOCK_UN); // unlock the file
} else {
    // flock() returned false, no lock obtained
    print &quot;Could not lock!\n&quot;;
}

?&gt;
</pre>
<p>Leidsin et parem on jagada failid kahte ossa ning cron-ga tõmmata näiteks üks kord päevas xml fail alla ning siis seda parseda. Veel paremini saaks teha kui ainult salvestada viimane postitus tekstifaili.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/estphp.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/estphp.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/estphp.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/estphp.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/estphp.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/estphp.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/estphp.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/estphp.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/estphp.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/estphp.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/estphp.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/estphp.wordpress.com/124/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/estphp.wordpress.com/124/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/estphp.wordpress.com/124/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=124&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://estphp.wordpress.com/2011/02/05/vaike-reklaami-banner-viimasest-blogi-sissekandest/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aafbb6c51cc6da87026c5e4e761b12e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">estphp</media:title>
		</media:content>
	</item>
		<item>
		<title>E-maili saatmine läbi gmaili konto</title>
		<link>http://estphp.wordpress.com/2011/02/04/e-maili-saatmine-labi-gmaili-konto/</link>
		<comments>http://estphp.wordpress.com/2011/02/04/e-maili-saatmine-labi-gmaili-konto/#comments</comments>
		<pubDate>Fri, 04 Feb 2011 19:13:06 +0000</pubDate>
		<dc:creator>estphp</dc:creator>
				<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://estphp.wordpress.com/?p=111</guid>
		<description><![CDATA[Sageli tuleb ette, et on vaja tegeleda arenduses kirjade saatmisega, kuid pole põhjust olnud maili serverit püsti panna. Lahenduseks on võimalik kasutada näiteks gmaili kontot, mis sobib ka täiesti kirjade saatmiseks. Juhud kus võiks antud lahendust vaja minna: teed kutsed enda peole, kuid ei soovi ükshaaval e-maili aadresseid sisse trükkida. Järgmisena sooviksid kõigile sõpradele teada [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=111&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sageli tuleb ette, et on vaja tegeleda arenduses kirjade saatmisega, kuid pole põhjust olnud maili serverit püsti panna. Lahenduseks on võimalik kasutada näiteks gmaili kontot, mis sobib ka täiesti kirjade saatmiseks.</p>
<p>Juhud kus võiks antud lahendust vaja minna: teed kutsed enda peole, kuid ei soovi ükshaaval e-maili aadresseid sisse trükkida. Järgmisena sooviksid kõigile sõpradele teada anda enda uuest e-maili aadressist. Hoiatus ärge kasutage võimalust kurjasti ära või võite sattuda <a href="http://no.spam.ee/">antud</a> lehele.</p>
<p>Töö lihtsustamiseks kasutame abi klassi class.phpmailer.php projektist <a href="http://sourceforge.net/projects/phpmailer/">PHPMailer</a>, mis pakub võimalust muuta kõik võimalike seadeid. Välja mineva kirja saatmiseks on vajalik ära muuta Host = &#8217;ssl://smtp.gmail.com&#8217;, Port = 465 andmed saab ka <a href="http://mail.google.com/support/bin/answer.py?hl=en&amp;answer=13287">siit</a> lehelt.</p>
<pre class="brush: php;">
&lt;?php
require 'class.phpmailer.php';

if (isset ($_POST['send'])) {
    $mail = new PHPMailer();
    $mail-&gt;IsSMTP(); // send via SMTP
    $mail-&gt;SMTPAuth = true; // turn on SMTP authentication
    $mail-&gt;Host = 'ssl://smtp.gmail.com';
    $mail-&gt;Port = 465;

    $mail-&gt;Username = '....@gmail.com'; // Gmail username
    $mail-&gt;Password = ''; // Gmail password
    $mail-&gt;From = $mail-&gt;Username;
    $mail-&gt;FromName = 'Juku';

    $mail-&gt;WordWrap = 50; // set word wrap
    $mail-&gt;IsHTML(true); // send as HTML

    // Here you can put all your friends names, or just load from other file
    $friends = array(
        'Mihkel' =&gt; 'mihkelson@gmail.com',
        'Juta'  =&gt; 'juta@gmail.com',
    );
$body = &lt;&lt;&lt;HTML

Tere,
Tahtsin teada anda, et kasutusel on uus e-maili aadress eee@ee.ee.
Aitäh, {$mail-&gt;FromName}

HTML;

    foreach ($friends as $name =&gt; $address) {
        $mail-&gt;AddAddress($address, $name);
        $mail-&gt;Subject = 'Tere '. $name .' väike teade';
        $mail-&gt;Body = $body;
        if (!$mail-&gt;Send()) {
            echo 'Mailer Error: ' . $mail-&gt;ErrorInfo;
        } else {
            echo 'Message has been sent to '. $name .' &lt;br /&gt;';

        }
        $mail-&gt;ClearAddresses();

    }
}
?&gt;
&lt;form action=&quot;&quot; method=&quot;POST&quot;&gt;
    &lt;input type=&quot;submit&quot; name=&quot;send&quot; value=&quot;Send&quot; /&gt;
&lt;/form&gt;
</pre>
<p>Kuna sisu on võimalik saata HTML kujul, siis võib selleks luua eraldi fail ning ära vormindada. Hetkel tehtud näite põhjal võib nimekirja kellele saata võtta csv failist, andmebaasist jne. Sellisel viisil kirja saatmisel on veel üks eelis, tervet nimekirja e-maili aadresse ei tule kaasa ning säilib ka teatud mõttes privaatsus.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/estphp.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/estphp.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/estphp.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/estphp.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/estphp.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/estphp.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/estphp.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/estphp.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/estphp.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/estphp.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/estphp.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/estphp.wordpress.com/111/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/estphp.wordpress.com/111/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/estphp.wordpress.com/111/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=111&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://estphp.wordpress.com/2011/02/04/e-maili-saatmine-labi-gmaili-konto/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aafbb6c51cc6da87026c5e4e761b12e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">estphp</media:title>
		</media:content>
	</item>
		<item>
		<title>Arch Linux-i rc.conf</title>
		<link>http://estphp.wordpress.com/2010/11/24/arch-linux-i-rc-conf/</link>
		<comments>http://estphp.wordpress.com/2010/11/24/arch-linux-i-rc-conf/#comments</comments>
		<pubDate>Wed, 24 Nov 2010 21:19:04 +0000</pubDate>
		<dc:creator>estphp</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://estphp.wordpress.com/?p=108</guid>
		<description><![CDATA[Lahkame natuke programme, mis hetkel rc.confis on pandud taustal(daemons) tööle. Hetkel kasutusel siis järgmine rida DAEMONS=(syslog-ng @network netfs crond powernowd @adsl dbus hal avahi-daemon @alsa laptop-mode cups wicd) syslog-ng &#8211; süsteemi logimiseks vajalik @network &#8211; võrgu põhituumik, alustab tegevust taustal netfs &#8211; haagib võrgu failisüsteemid külge crond &#8211; ajastamisega tegelev programm powernowd &#8211; prose takti [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=108&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Lahkame natuke programme, mis hetkel rc.confis on pandud taustal(daemons) tööle.<br />
Hetkel kasutusel siis järgmine rida<br />
<code><br />
DAEMONS=(syslog-ng @network netfs crond powernowd @adsl dbus hal avahi-daemon @alsa laptop-mode cups wicd)<br />
</code></p>
<ul>
<li>syslog-ng &#8211; süsteemi logimiseks vajalik</li>
<li>@network &#8211; võrgu põhituumik, alustab tegevust taustal</li>
<li>netfs &#8211; haagib võrgu failisüsteemid külge</li>
<li>crond &#8211; ajastamisega tegelev programm</li>
<li>powernowd &#8211; prose takti reguleerimiseks, arch wiki soovitab kasutada cpufreq-i</li>
<li>@adsl &#8211; ühenduse loomine pppoe kaudu</li>
<li>dbus &#8211; tarkvara omavaheliseks suhtlemiseks vajalik</li>
<li>hal &#8211; raua abstraktne kiht (Hardware Abstraction Layer)</li>
<li>avahi-daemon &#8211; printeri ülesleidmiseks vajalik</li>
<li>@alsa &#8211; heli saamiseks vajalikud draiverid</li>
<li>laptop-mode &#8211; säästuversioon laptopi jaoks</li>
<li>cups &#8211; printimiseks vajalik, samas kui igapäevaselt ei prindi võiks hoopis käsitsi mooduli käima panna</li>
<li>wicd &#8211; kõige lihtsam viis wifit tööle saada</li>
</ul>
<p>Väikene nimekiri kasutatavst dameons-ist, oleks hea kui keegi teab mõningaid optimeerimis kohti.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/estphp.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/estphp.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/estphp.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/estphp.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/estphp.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/estphp.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/estphp.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/estphp.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/estphp.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/estphp.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/estphp.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/estphp.wordpress.com/108/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/estphp.wordpress.com/108/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/estphp.wordpress.com/108/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=108&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://estphp.wordpress.com/2010/11/24/arch-linux-i-rc-conf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aafbb6c51cc6da87026c5e4e761b12e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">estphp</media:title>
		</media:content>
	</item>
		<item>
		<title>LaTeX is best for math ?</title>
		<link>http://estphp.wordpress.com/2010/09/15/latex-is-best-for-math/</link>
		<comments>http://estphp.wordpress.com/2010/09/15/latex-is-best-for-math/#comments</comments>
		<pubDate>Wed, 15 Sep 2010 17:00:50 +0000</pubDate>
		<dc:creator>estphp</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://estphp.wordpress.com/?p=104</guid>
		<description><![CDATA[I have tried many programs/applications to get perfect and easy output of math formulas. For me the best applications are LaTeX and Open Office formula editor. Short guide to the LaTeX math http://www.personal.ceu.hu/tex/math.htm One latex editor online gives output as image http://www.equationsheet.com/textoimage.php More like advanced editor online + wysiwg, you can export even as pdf [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=104&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have tried many programs/applications to get perfect and easy output of math formulas. For me the best applications are LaTeX and Open Office formula editor. </p>
<p>Short guide to the LaTeX math<br />
<a href="http://www.personal.ceu.hu/tex/math.htm">http://www.personal.ceu.hu/tex/math.htm</a></p>
<p>One latex editor online gives output as image <a href="http://www.equationsheet.com/textoimage.php">http://www.equationsheet.com/textoimage.php</a></p>
<p>More like advanced editor online + wysiwg, you can export even as pdf files, if you have to make something fast and access it on google docs.<br />
<a href="http://docs.latexlab.org">http://docs.latexlab.org</a></p>
<p>Yes you can even make math formulas even in terminal, can save output as image(.png). Why not use this to show off your formulas in web?<br />
<a href="http://redsymbol.net/software/l2p/">http://redsymbol.net/software/l2p/</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/estphp.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/estphp.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/estphp.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/estphp.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/estphp.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/estphp.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/estphp.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/estphp.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/estphp.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/estphp.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/estphp.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/estphp.wordpress.com/104/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/estphp.wordpress.com/104/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/estphp.wordpress.com/104/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=104&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://estphp.wordpress.com/2010/09/15/latex-is-best-for-math/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aafbb6c51cc6da87026c5e4e761b12e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">estphp</media:title>
		</media:content>
	</item>
		<item>
		<title>Euler Prob 36</title>
		<link>http://estphp.wordpress.com/2010/09/06/euler-prob-36/</link>
		<comments>http://estphp.wordpress.com/2010/09/06/euler-prob-36/#comments</comments>
		<pubDate>Mon, 06 Sep 2010 20:05:02 +0000</pubDate>
		<dc:creator>estphp</dc:creator>
				<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://estphp.wordpress.com/?p=100</guid>
		<description><![CDATA[Had to use Java, so yes the code can be optimized&#8230; package euler; public class Prob36 { private static final int SUM = 1000000; private String reverse(String s) { char[] copyStr = s.toCharArray(); int len = copyStr.length - 1; char[] str = new char[len + 1]; for (int i = len, j = 0; i [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=100&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Had to use Java, so yes the code can be optimized&#8230;</p>
<pre class="brush: java;">
package euler;

public class Prob36 {

	private static final int SUM = 1000000;

	private String reverse(String s) {
		char[] copyStr = s.toCharArray();

		int len = copyStr.length - 1;
		char[] str = new char[len + 1];

		for (int i = len, j = 0; i &gt;= 0; i--, j++) {
			str[j] = copyStr[i];
			//System.out.println(copyStr[i]);
		}

		return String.copyValueOf(str);

	}

	public static void main(String[] args) {

		Prob36 p = new Prob36();
		long sumPalindromes = 0;

		for (int i = 0; i &lt; SUM; i++) {
			if (Integer.toString(i).equals(p.reverse(Integer.toString(i)))
					&amp;&amp; Integer.toBinaryString(i).equals(p.reverse(Integer.toBinaryString(i)))) {
				System.out.println(i);
				sumPalindromes += i;
			}
		}

		System.out.println(&quot;Sum is &quot; + sumPalindromes);
	}

}
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/estphp.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/estphp.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/estphp.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/estphp.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/estphp.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/estphp.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/estphp.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/estphp.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/estphp.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/estphp.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/estphp.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/estphp.wordpress.com/100/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/estphp.wordpress.com/100/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/estphp.wordpress.com/100/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=100&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://estphp.wordpress.com/2010/09/06/euler-prob-36/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aafbb6c51cc6da87026c5e4e761b12e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">estphp</media:title>
		</media:content>
	</item>
		<item>
		<title>Euler problem 25</title>
		<link>http://estphp.wordpress.com/2010/08/24/euler-problem-25/</link>
		<comments>http://estphp.wordpress.com/2010/08/24/euler-problem-25/#comments</comments>
		<pubDate>Tue, 24 Aug 2010 19:31:17 +0000</pubDate>
		<dc:creator>estphp</dc:creator>
				<category><![CDATA[Scala]]></category>

		<guid isPermaLink="false">http://estphp.wordpress.com/?p=94</guid>
		<description><![CDATA[Here&#8217;s scala solution, the fibonacci tail recrusion method is taken from pastebin object Prob25 { def main(args: Array[String]) = { // Found this in internet def f(n: Int) = f_tr(n, 1, 0) def f_tr(n: Int, b: BigInt, a: BigInt): BigInt = n match { case 0 =&#62; a case _ =&#62; f_tr(n - 1, a [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=94&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Here&#8217;s scala solution, the fibonacci tail recrusion method is taken from pastebin</p>
<pre class="brush: scala;">
object Prob25 {
  def main(args: Array[String]) = {

    // Found this in internet
    def f(n: Int) = f_tr(n, 1, 0)

    def f_tr(n: Int, b: BigInt, a: BigInt): BigInt = n match {
      case 0 =&gt; a
      case _ =&gt; f_tr(n - 1, a + b, b)
    }

    var nth: Int = 1
    val digits = 1000
    while (f(nth).toString.length &lt; digits) {
      // for debugging the right sequance
      //println(nth + &quot; &quot; + f(nth).toString)
      nth += 1
    }

    println(nth)

  }
}
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/estphp.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/estphp.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/estphp.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/estphp.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/estphp.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/estphp.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/estphp.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/estphp.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/estphp.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/estphp.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/estphp.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/estphp.wordpress.com/94/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/estphp.wordpress.com/94/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/estphp.wordpress.com/94/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=94&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://estphp.wordpress.com/2010/08/24/euler-problem-25/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aafbb6c51cc6da87026c5e4e761b12e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">estphp</media:title>
		</media:content>
	</item>
		<item>
		<title>Euler problem 4 Scala</title>
		<link>http://estphp.wordpress.com/2010/08/21/euler-problem-4-scala/</link>
		<comments>http://estphp.wordpress.com/2010/08/21/euler-problem-4-scala/#comments</comments>
		<pubDate>Sat, 21 Aug 2010 18:59:42 +0000</pubDate>
		<dc:creator>estphp</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://estphp.wordpress.com/?p=84</guid>
		<description><![CDATA[Ok here is scala solution for problem 4. I am sure there would be easier, better and more functional ways. So feel free to post any more functional approaches object Prob4 { def main(args: Array[String]) = { println(&#34;Start euler prob 4&#34;) val listOne = (999 to 1 by -1) val result = for {i &#60;- [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=84&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ok here is scala solution for problem 4. I am sure there would be easier, better and more functional ways. So feel free to post any more functional approaches</p>
<pre class="brush: scala;">
object Prob4 {
  def main(args: Array[String]) = {
    println(&quot;Start euler prob 4&quot;)
    val listOne = (999 to 1 by -1)
    val result =
        for {i &lt;- 999 to 1 by -1
         j &lt;- 999 to 1 by -1
         val mult = i * j
        if (mult.toString == mult.toString.reverse)
        } yield mult
    println(result.sortWith((A, B) =&gt; (A &gt; B)).head)
  }
}
</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/estphp.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/estphp.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/estphp.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/estphp.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/estphp.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/estphp.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/estphp.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/estphp.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/estphp.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/estphp.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/estphp.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/estphp.wordpress.com/84/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/estphp.wordpress.com/84/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/estphp.wordpress.com/84/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=84&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://estphp.wordpress.com/2010/08/21/euler-problem-4-scala/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aafbb6c51cc6da87026c5e4e761b12e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">estphp</media:title>
		</media:content>
	</item>
		<item>
		<title>Scala lingid, õpetused jne</title>
		<link>http://estphp.wordpress.com/2010/08/06/scala-lingid-opetused-jne/</link>
		<comments>http://estphp.wordpress.com/2010/08/06/scala-lingid-opetused-jne/#comments</comments>
		<pubDate>Fri, 06 Aug 2010 08:24:09 +0000</pubDate>
		<dc:creator>estphp</dc:creator>
				<category><![CDATA[Scala]]></category>

		<guid isPermaLink="false">http://estphp.wordpress.com/?p=81</guid>
		<description><![CDATA[Palju bloge koos: http://www.scala-blogs.org/ http://www.artima.com/forums/forum.jsp?forum=283 http://scala.sygneca.com/ http://scala-forum.org/ http://davetron5000.github.com/scala-style/index.html<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=81&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Palju bloge koos: http://www.scala-blogs.org/</p>
<p>http://www.artima.com/forums/forum.jsp?forum=283</p>
<p>http://scala.sygneca.com/</p>
<p>http://scala-forum.org/</p>
<p>http://davetron5000.github.com/scala-style/index.html</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/estphp.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/estphp.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/estphp.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/estphp.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/estphp.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/estphp.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/estphp.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/estphp.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/estphp.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/estphp.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/estphp.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/estphp.wordpress.com/81/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/estphp.wordpress.com/81/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/estphp.wordpress.com/81/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=81&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://estphp.wordpress.com/2010/08/06/scala-lingid-opetused-jne/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aafbb6c51cc6da87026c5e4e761b12e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">estphp</media:title>
		</media:content>
	</item>
		<item>
		<title>Scala 2.8.** paigaldamine Ubuntus</title>
		<link>http://estphp.wordpress.com/2010/08/05/scala-2-8-paigaldamine-ubuntus/</link>
		<comments>http://estphp.wordpress.com/2010/08/05/scala-2-8-paigaldamine-ubuntus/#comments</comments>
		<pubDate>Thu, 05 Aug 2010 07:32:49 +0000</pubDate>
		<dc:creator>estphp</dc:creator>
				<category><![CDATA[Scala]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://estphp.wordpress.com/?p=79</guid>
		<description><![CDATA[Originaal õpetus asub lehel http://lovehateubuntu.blogspot.com/2008/05/adventures-in-scala-part-i.html wget http://www.scala-lang.org/downloads/distrib/files/scala-2.7.7.final.tgz tar -zxvf scala-2.7.7.final.tgz sudo mv scala-2.7.7.final /usr/share/scala sudo ln -s /usr/share/scala/bin/scala /usr/bin/scala sudo ln -s /usr/share/scala/bin/scalac /usr/bin/scalac<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=79&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Originaal õpetus asub lehel http://lovehateubuntu.blogspot.com/2008/05/adventures-in-scala-part-i.html</p>
<pre>wget http://www.scala-lang.org/downloads/distrib/files/scala-2.7.7.final.tgz
tar -zxvf scala-2.7.7.final.tgz
sudo mv scala-2.7.7.final /usr/share/scala
sudo ln -s /usr/share/scala/bin/scala /usr/bin/scala
sudo ln -s /usr/share/scala/bin/scalac /usr/bin/scalac</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/estphp.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/estphp.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/estphp.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/estphp.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/estphp.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/estphp.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/estphp.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/estphp.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/estphp.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/estphp.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/estphp.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/estphp.wordpress.com/79/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/estphp.wordpress.com/79/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/estphp.wordpress.com/79/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=estphp.wordpress.com&amp;blog=2811411&amp;post=79&amp;subd=estphp&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://estphp.wordpress.com/2010/08/05/scala-2-8-paigaldamine-ubuntus/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/aafbb6c51cc6da87026c5e4e761b12e6?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">estphp</media:title>
		</media:content>
	</item>
	</channel>
</rss>
