<?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>Tristan622's Weblog</title>
	<atom:link href="http://tristan622.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://tristan622.wordpress.com</link>
	<description>Just another &#60;strong&#62;nonsense&#60;/strong&#62; weblog</description>
	<lastBuildDate>Wed, 26 Jan 2011 15:51:40 +0000</lastBuildDate>
	<language>tl</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tristan622.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Tristan622's Weblog</title>
		<link>http://tristan622.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://tristan622.wordpress.com/osd.xml" title="Tristan622&#039;s Weblog" />
	<atom:link rel='hub' href='http://tristan622.wordpress.com/?pushpress=hub'/>
		<item>
		<title>The Atheist&#8217;s Prayer</title>
		<link>http://tristan622.wordpress.com/2011/01/26/the-atheists-prayer/</link>
		<comments>http://tristan622.wordpress.com/2011/01/26/the-atheists-prayer/#comments</comments>
		<pubDate>Wed, 26 Jan 2011 15:50:59 +0000</pubDate>
		<dc:creator>tristan622</dc:creator>
				<category><![CDATA[atheism]]></category>

		<guid isPermaLink="false">http://tristan622.wordpress.com/?p=52</guid>
		<description><![CDATA[Our brains, which art in our heads, treasured be thy name. Thy reasoning come. Thy best you can do be done on earth as it is. Give us this day new insight to help us resolve conflicts and ease pain. And lead us not into supernatural explanations, deliver us from denial of logic. For thine [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=52&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Our brains, which art in our heads,<br />
treasured be thy name. Thy reasoning<br />
come. Thy best you can do be done<br />
on earth as it is. Give us this day new<br />
insight to help us resolve conflicts and<br />
ease pain. And lead us not<br />
into supernatural explanations,<br />
deliver us from denial of logic.<br />
For thine is the kingdom of reason,<br />
and even though thy powers are limited,<br />
and you&#8217;re not always glorious,<br />
you are the best evolutionary adaptation<br />
we have for helping this earth now and<br />
forever and ever.<br />
So be it.</p>
<p>Reference: <a href="http://www.nobeliefs.com/GAMOW/GAMOW24.htm">http://www.nobeliefs.com/GAMOW/GAMOW24.htm</a></p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tristan622.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tristan622.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tristan622.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tristan622.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tristan622.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tristan622.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tristan622.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tristan622.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tristan622.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tristan622.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tristan622.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tristan622.wordpress.com/52/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tristan622.wordpress.com/52/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tristan622.wordpress.com/52/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=52&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tristan622.wordpress.com/2011/01/26/the-atheists-prayer/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/544179cdd59c578eb8e4e6b234698212?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tristan622</media:title>
		</media:content>
	</item>
		<item>
		<title>CakePHP + jQuery.notifyBar</title>
		<link>http://tristan622.wordpress.com/2010/09/04/cakephp-jquery-notifybar/</link>
		<comments>http://tristan622.wordpress.com/2010/09/04/cakephp-jquery-notifybar/#comments</comments>
		<pubDate>Sat, 04 Sep 2010 04:25:02 +0000</pubDate>
		<dc:creator>tristan622</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://tristan622.wordpress.com/?p=35</guid>
		<description><![CDATA[Ang notifyBar ay ginagamit upang magbigay ng impormasyon sa user. Tulad halimbawa pagtapos ng pagsave, sasabihin ng web application sa user kung ito ay matagumpay o may error. Ipapakita dito kung paano i-setup at paggamit ng jQuery.notifyBar sa Session-&#62;flash() ng CakePHP. Mga kailangan Apache, MySQL at PHP. CakePHP jQuery.notifyBar Setup Hakbang 1: Pumunta sa folder [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=35&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://tristan622.files.wordpress.com/2010/09/cakephp-the-rapid-development-php-framework-home_1283611624856.png"><img src="http://tristan622.files.wordpress.com/2010/09/cakephp-the-rapid-development-php-framework-home_1283611624856.png?w=440&#038;h=217" alt="" title="CakePHP+jQuery.notifyBar" width="440" height="217" class="aligncenter size-full wp-image-45" /></a></p>
<p>Ang notifyBar ay ginagamit upang magbigay ng impormasyon sa user. Tulad halimbawa pagtapos ng pagsave, sasabihin ng web application sa user kung ito ay matagumpay o may error.</p>
<p>Ipapakita dito kung paano i-setup at paggamit ng <a href="http://www.dmitri.me/misc/notify/">jQuery.notifyBar</a> sa <a href="http://book.cakephp.org/view/1467/flash">Session-&gt;flash()</a> ng <a href="http://cakephp.org/">CakePHP</a>.<span id="more-35"></span></p>
<h3>Mga kailangan</h3>
<ul>
<li><a href="http://tristan622.wordpress.com/2007/09/13/ang-pagsetup-ng-apache-mysql-at-php/">Apache, MySQL at PHP.</a></li>
<li>CakePHP</li>
<li>jQuery.notifyBar</li>
</ul>
<h3>Setup</h3>
<p>Hakbang 1: Pumunta sa folder ng cakephp application. Gumawa ng file sa app/views/element/notify_bar.ctp.</p>
<p>Hakbang 2: Ilagay ang sumusunod na code</p>
<pre>&lt;?php
$default = array(
	'cls' =&gt; '',
	'close' =&gt; true,
	'delay' =&gt; 2000,
	'animationSpeed' =&gt; 'normal',
);
extract($default, EXTR_SKIP);
ob_start();
?&gt;
$(function () {
	$.notifyBar({
		html: "&lt;?php echo $message;?&gt;",
		cls: "&lt;?php echo $cls; ?&gt;",
		close: "&lt;?php echo $close; ?&gt;",
		delay: &lt;?php echo $delay; ?&gt;,
		animationSpeed: "&lt;?php echo $animationSpeed; ?&gt;"
	});
});
&lt;?php echo $this-&gt;Javascript-&gt;codeBlock(ob_get_clean()); ?&gt;
</pre>
<h3>Gamit</h3>
<p>Sa inyong controller, maaari kayong mag pasa ng argument sa <code>$this-&gt;Session-&gt;setFlash()</code> tulad ng halimbawang ito:</p>
<pre>if ($success) {
  $this-&gt;Session-&gt;setFlash('Iyong mensahe', 'notify_bar');
}
</pre>
<p>Maaari ding mag-pasa ng params sa notify_bar elements katulad ng pagpasa ng params sa jQuery.notifyBar. Halimbawa:</p>
<pre>if ($success) {
  $this-&gt;Session-&gt;setFlash('Matagumpay na mensahe', 'notify_bar', array('cls' =&gt; 'success'));
} else {
  $this-&gt;Session-&gt;setFlash('May error na mensahe', 'notify_bar', array('cls' =&gt; 'error'));
}
</pre>
<h3>Pagsasaayos</h3>
<p>Mga iba pang params na maaaring i-set.</p>
<ul>
<li>cls &#8211; class</li>
<li>close &#8211; kung mayroong close link</li>
<li>delay &#8211; kung gaano katagal magview ang notify sa milisegundo</li>
<li>animationSpeed &#8211; kung gaano kabilis ang animation, mga pagpipilian: &#8216;normal&#8217;, &#8216;slow&#8217;, &#8216;fast&#8217;</li>
</ul>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tristan622.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tristan622.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tristan622.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tristan622.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tristan622.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tristan622.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tristan622.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tristan622.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tristan622.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tristan622.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tristan622.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tristan622.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tristan622.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tristan622.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=35&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tristan622.wordpress.com/2010/09/04/cakephp-jquery-notifybar/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/544179cdd59c578eb8e4e6b234698212?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tristan622</media:title>
		</media:content>

		<media:content url="http://tristan622.files.wordpress.com/2010/09/cakephp-the-rapid-development-php-framework-home_1283611624856.png" medium="image">
			<media:title type="html">CakePHP+jQuery.notifyBar</media:title>
		</media:content>
	</item>
		<item>
		<title>fdisk</title>
		<link>http://tristan622.wordpress.com/2008/11/23/fdisk/</link>
		<comments>http://tristan622.wordpress.com/2008/11/23/fdisk/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 05:02:12 +0000</pubDate>
		<dc:creator>tristan622</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://tristan622.wordpress.com/?p=28</guid>
		<description><![CDATA[Kung nais mong ilista ang mga hardrive na naka install sa iyong motherboard, maari mong i-execute ang command na ito: sudo fdisk -l Ang lalabas na resulta ay dipende sa iyong hardware na katulad nito: Disk /dev/sda: 120.0 GB, 120034123776 bytes 255 heads, 63 sectors/track, 14593 cylinders Units = cylinders of 16065 * 512 = [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=28&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Kung nais mong ilista ang mga hardrive na naka install sa iyong motherboard, maari mong i-execute ang command na ito:</p>
<p><code>sudo fdisk -l</code></p>
<p>Ang lalabas na resulta ay dipende sa iyong hardware na katulad nito:</p>
<pre>Disk /dev/sda: 120.0 GB, 120034123776 bytes
255 heads, 63 sectors/track, 14593 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Disk identifier: 0xe8df87bc

   Device Boot      Start         End      Blocks   Id  System
/dev/sda1   *           1       13575   109041156    7  HPFS/NTFS
/dev/sda2           13576       14593     8177085    5  Extended
/dev/sda5   *       13576       14475     7229218+  83  Linux
/dev/sda6           14476       14593      947803+  82  Linux swap / Solaris</pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tristan622.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tristan622.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tristan622.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tristan622.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tristan622.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tristan622.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tristan622.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tristan622.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tristan622.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tristan622.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tristan622.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tristan622.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tristan622.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tristan622.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=28&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tristan622.wordpress.com/2008/11/23/fdisk/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/544179cdd59c578eb8e4e6b234698212?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tristan622</media:title>
		</media:content>
	</item>
		<item>
		<title>CSS Rounded Corner in Firefox</title>
		<link>http://tristan622.wordpress.com/2008/07/26/css-rounded-corner-in-firefox/</link>
		<comments>http://tristan622.wordpress.com/2008/07/26/css-rounded-corner-in-firefox/#comments</comments>
		<pubDate>Sat, 26 Jul 2008 02:21:30 +0000</pubDate>
		<dc:creator>tristan622</dc:creator>
				<category><![CDATA[web]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://tristan622.wordpress.com/?p=23</guid>
		<description><![CDATA[This is how to create rounded corners in Firefox ( only tested in firefox 3; IE not supported ). Selector used: border background-color -moz-rounded-border URL: CSS Rounded Corner in Firefox<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=23&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This is how to create <strong>rounded corners</strong> in Firefox ( only tested in firefox 3; IE not supported ).</p>
<p>Selector used:</p>
<ul>
<li>border</li>
<li>background-color</li>
<li>-moz-rounded-border</li>
</ul>
<p>URL: <a href="http://www.pinoycoders.net/rounded.html">CSS Rounded Corner in Firefox</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tristan622.wordpress.com/23/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tristan622.wordpress.com/23/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tristan622.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tristan622.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tristan622.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tristan622.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tristan622.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tristan622.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tristan622.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tristan622.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tristan622.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tristan622.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tristan622.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tristan622.wordpress.com/23/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tristan622.wordpress.com/23/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tristan622.wordpress.com/23/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=23&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tristan622.wordpress.com/2008/07/26/css-rounded-corner-in-firefox/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/544179cdd59c578eb8e4e6b234698212?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tristan622</media:title>
		</media:content>
	</item>
		<item>
		<title>READ program (Linux)</title>
		<link>http://tristan622.wordpress.com/2008/03/11/read-program-linux/</link>
		<comments>http://tristan622.wordpress.com/2008/03/11/read-program-linux/#comments</comments>
		<pubDate>Tue, 11 Mar 2008 23:13:57 +0000</pubDate>
		<dc:creator>tristan622</dc:creator>
				<category><![CDATA[computing]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://tristan622.wordpress.com/2008/03/11/read-program-linux/</guid>
		<description><![CDATA[Ginagamit sa pagkuha ng string user input sa standard stream. Halimbawa ay username and password. Gamit Ito ang halimbawa ng pagkuha ng username. read -p 'Enter your username: ' USERNAME Maiistore ang nakuhang string sa variable na USERNAME, para makita ang naiistore na value, patakbuhin ang command na `to. echo $USERNAME Ang halimbawa naman ng [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=22&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ginagamit sa pagkuha ng <strike>string</strike> user input sa standard stream. Halimbawa ay username and password.</p>
<h3>Gamit</h3>
<p>Ito ang halimbawa ng pagkuha ng username.</p>
<pre>read -p 'Enter your username: ' USERNAME</pre>
<p>Maiistore ang nakuhang string sa variable na USERNAME, para makita ang naiistore na value, patakbuhin ang command na `to.</p>
<pre>echo $USERNAME</pre>
<p>Ang halimbawa naman ng pagkuha ng password. Hindi nito ine-echo ang tinatype na characters sa standard output.</p>
<pre>read -p -s 'Enter your password: ' PASSWORD</pre>
<p>Subukan i-echo ang naistore na value.</p>
<pre>echo $PASSWORD</pre>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tristan622.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tristan622.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tristan622.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tristan622.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tristan622.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tristan622.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tristan622.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tristan622.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tristan622.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tristan622.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tristan622.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tristan622.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tristan622.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tristan622.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tristan622.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tristan622.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=22&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tristan622.wordpress.com/2008/03/11/read-program-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/544179cdd59c578eb8e4e6b234698212?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tristan622</media:title>
		</media:content>
	</item>
		<item>
		<title>Taong 2038</title>
		<link>http://tristan622.wordpress.com/2008/01/30/taong-2038/</link>
		<comments>http://tristan622.wordpress.com/2008/01/30/taong-2038/#comments</comments>
		<pubDate>Wed, 30 Jan 2008 02:26:50 +0000</pubDate>
		<dc:creator>tristan622</dc:creator>
				<category><![CDATA[computing]]></category>

		<guid isPermaLink="false">http://tristan622.wordpress.com/?p=21</guid>
		<description><![CDATA[Sa darating na 2038 ay may isang malaking kaganapan na mangyayari sa mundo ng computer. Sa susunod na 30 taon (mula ng sinulat ang artikulong ito), eksaktong oras ng 03:14:07, Enero 19, 2038 ay mapupuno na ang UNIX time na gumagamit ng 32-bit. Ito ang kalimitang ginagamit na oras upang mai-define ang oras sa UNIX. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=21&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Sa darating na <a href="http://en.wikipedia.org/wiki/Year_2038_problem">2038</a> ay may isang malaking kaganapan na mangyayari sa mundo ng computer. Sa susunod na 30 taon (<em>mula ng sinulat ang artikulong ito</em>), eksaktong oras ng 03:14:07, Enero 19, 2038 ay mapupuno na ang UNIX time na gumagamit ng 32-bit. Ito ang kalimitang ginagamit na oras upang mai-<em>define</em> ang <a href="http://en.wikipedia.org/wiki/Unix_time">oras sa UNIX</a>.</p>
<p>Maraming maapektuhan na program sa UNIX ang pwedeng tamaan ng bug na ito. Lalu na sa mga servers kung saan kalimitan ay gumagamit ng UNIX o kya naman ay Linux. Marami ding natalang prublemang naganap nuong pagdating ng Taong 2000, mas kilala sa tawag ng Y2K bug o &#8220;Millenium Bug&#8221; na matatagpuan sa sa <a href="http://en.wikipedia.org/wiki/Year_2000_problem#Documented_errors">Year 2000 Problem (Wikipedia)</a>.</p>
<p>Abangan ang mga susunod na mga pangyayari.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tristan622.wordpress.com/21/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tristan622.wordpress.com/21/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tristan622.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tristan622.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tristan622.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tristan622.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tristan622.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tristan622.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tristan622.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tristan622.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tristan622.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tristan622.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tristan622.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tristan622.wordpress.com/21/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tristan622.wordpress.com/21/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tristan622.wordpress.com/21/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=21&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tristan622.wordpress.com/2008/01/30/taong-2038/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/544179cdd59c578eb8e4e6b234698212?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tristan622</media:title>
		</media:content>
	</item>
		<item>
		<title>Listahan ng mga Pilipinong Komunidad sa Internet</title>
		<link>http://tristan622.wordpress.com/2007/12/20/listahan-ng-mga-pilipinong-komunidad-sa-internet/</link>
		<comments>http://tristan622.wordpress.com/2007/12/20/listahan-ng-mga-pilipinong-komunidad-sa-internet/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 09:21:01 +0000</pubDate>
		<dc:creator>tristan622</dc:creator>
				<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://tristan622.wordpress.com/2007/12/20/listahan-ng-mga-pilipinong-komunidad-sa-internet/</guid>
		<description><![CDATA[Ang mga sumusunod na listahan ay ang mga Pilipinong komunidad na matatagpuan sa Internet. Maaari kang maki-halubilo sa ibang tao na iyong nais na paksa at magpahayag ng iyong kaalaman at makakuha din ng kaalaman sa ibang tao. Hardware PinoyPC.net &#8211; Ang site para sa mga mahilig sa computer, hardware man o software. TipidPC &#8211; [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=20&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ang mga sumusunod na listahan ay ang mga Pilipinong komunidad na matatagpuan sa Internet. Maaari kang maki-halubilo sa ibang tao na iyong nais na paksa at magpahayag ng iyong kaalaman at makakuha din ng kaalaman sa ibang tao.</p>
<h3>Hardware</h3>
<ul>
<li><a href="http://pinoypc.net/">PinoyPC.net</a> &#8211; Ang site para sa mga mahilig sa computer, hardware man o software.</li>
<li><a href="http://tipidpc.com/">TipidPC</a> &#8211; Ang <i>online black market</i> para sa bentahan ng computer. Maaari kang magbenta at bumili sa mas murang halaga.</li>
</ul>
<h3>Software</h3>
<ul>
<li><a href="http://forum.pinoygeek.org">Pinoygeek.org</a> &#8211; Ang komunidad para sa mga Pilipinong tech savvy o kaya ay &#8230;geek.</li>
<li><a href="http://www.phpugph.com">PHPUGPH</a> &#8211; Ang organisasyon para supportahan ang mga LAMP user.</li>
<li><a href="http://www.pinoylinux.com/">PinoyLinux.com</a> &#8211; Ang komunidad para sa <a href="http://en.wikipedia.org/wiki/Linux">Linux</a> users gayun din ang mga Open-source software.</li>
<li><a href="http://www.pinoycoders.net">PinoyCoders</a> &#8211; Ang forum para sa mga Software at Web Developers sa Pilipinas.</li>
<li><span class="active"><a href="http://www.webmasterforumph.com/">Philippine Webmaster Forums</a> &#8211; HTML, PHP, CSS, SEO atbp.</span></li>
<li><span class="active">A <a href="http://pinoyprogrammers.clicdev.com/f/">Filipino Programmers Community</a></span></li>
</ul>
<h3>Samut-samut</h3>
<ul>
<li><a href="http://forums.mukamo.com/">Mukamo</a> &#8211; Ang komunidad para sa Pilipino.</li>
<li><a href="http://rakista.com">Rakista</a> &#8211; Ang komunidad para sa mga <i>old-school</i> na rakista at mga makabagong rakista.</li>
<li><a href="http://www.pinoyphotography.org/forum/index.php?action=forum">Pinoy Photography</a> &#8211; Ang komunidad para sa mga mahilig at gustong matuto sa photography.</li>
</ul>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tristan622.wordpress.com/20/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tristan622.wordpress.com/20/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tristan622.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tristan622.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tristan622.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tristan622.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tristan622.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tristan622.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tristan622.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tristan622.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tristan622.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tristan622.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tristan622.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tristan622.wordpress.com/20/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tristan622.wordpress.com/20/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tristan622.wordpress.com/20/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=20&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tristan622.wordpress.com/2007/12/20/listahan-ng-mga-pilipinong-komunidad-sa-internet/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/544179cdd59c578eb8e4e6b234698212?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tristan622</media:title>
		</media:content>
	</item>
		<item>
		<title>Ang paggawa ng simpleng HTML</title>
		<link>http://tristan622.wordpress.com/2007/12/20/ang-paggawa-ng-simpleng-html/</link>
		<comments>http://tristan622.wordpress.com/2007/12/20/ang-paggawa-ng-simpleng-html/#comments</comments>
		<pubDate>Thu, 20 Dec 2007 08:56:34 +0000</pubDate>
		<dc:creator>tristan622</dc:creator>
				<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://tristan622.wordpress.com/2007/12/20/ang-paggawa-ng-html/</guid>
		<description><![CDATA[Ang HTML ay isang uri ng lenguaheng markup na ginagamit sa paglipat ng dokumento across Internet gamit ang web browser. Ito ay may kahulugan na Hypertext Markup Language. Maaari ka ding gumawa ng sarili mong HTML gamit ang iyong paboritong text editor tulad ng notepad at makita sa web browser tulad ng Internet Explorer at [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=19&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ang HTML ay isang uri ng lenguaheng <em>markup</em> na ginagamit sa paglipat ng dokumento across Internet gamit ang web browser. Ito ay may kahulugan na <strong>Hypertext Markup Language</strong>. Maaari ka ding gumawa ng sarili mong HTML gamit ang iyong paboritong text editor tulad ng notepad at makita sa web browser tulad ng <a href="http://tl.wikipedia.org/wiki/Internet_Explorer">Internet Explorer</a> at <a href="http://tl.wikipedia.org/wiki/Mozilla_Firefox">Mozilla Firefox</a>. Marami ding editor na software na ginagamit para sa pag-edit ng HTML files tulad ng Microsoft FrontPage. Ang artikulong ito ay nagtuturo kung paano ang paggawa ng simpleng webpage.</p>
<p>Ang HTML ay mayroong mga bukas na tag at saradong na tag na naghahati-hati sa bawat sektion ng dokumento upang makagawa ng elemento o <em>elements</em>. Upang lalung mas maintindihan ang kaibahan ng tags at elements, <a href="http://www.456bereastreet.com/archive/200508/html_tags_vs_elements_vs_attributes/">tignan</a>. Ito ang isang simpleng halimbawa ng dokumentong HTML.</p>
<pre>&lt;html&gt;
&lt;head&gt;
&lt;title&gt;Ang aking Unang HTML na pahina&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
&lt;h1&gt;Ang aking Unang HTML na pahina&lt;/h1&gt;
&lt;p&gt;Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam eget quam. Sed at augue.
Fusce vulputate interdum nisl. Vestibulum eleifend sollicitudin dolor.
&lt;/p&gt;
&lt;/body&gt;
&lt;/html&gt;</pre>
<p>Maari mo itong kopyahin sa Notepad at i-save sa filename na <strong>index.html</strong>. Buksan ang iyong browser at i-open ang nagawang file.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tristan622.wordpress.com/19/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tristan622.wordpress.com/19/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tristan622.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tristan622.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tristan622.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tristan622.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tristan622.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tristan622.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tristan622.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tristan622.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tristan622.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tristan622.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tristan622.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tristan622.wordpress.com/19/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tristan622.wordpress.com/19/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tristan622.wordpress.com/19/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=19&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tristan622.wordpress.com/2007/12/20/ang-paggawa-ng-simpleng-html/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/544179cdd59c578eb8e4e6b234698212?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tristan622</media:title>
		</media:content>
	</item>
		<item>
		<title>PHP para sa nagsisimula</title>
		<link>http://tristan622.wordpress.com/2007/10/16/php-para-sa-nagsisimula/</link>
		<comments>http://tristan622.wordpress.com/2007/10/16/php-para-sa-nagsisimula/#comments</comments>
		<pubDate>Tue, 16 Oct 2007 08:13:06 +0000</pubDate>
		<dc:creator>tristan622</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://tristan622.wordpress.com/2007/10/16/php-para-sa-nagsisimula/</guid>
		<description><![CDATA[Ang PHP ay wikang pamprograma na kadalasang ginagamit sa paggawa ng dynamic web page. Ang PHP ay may rekursibong daglat na ang ibig sabihin ay PHP: Hypertext Preprocessor. Para sa pagsetup ng Apache, MySQL at PHP, tignan ang pahina. Ang PHP code ay nasa loob ng “&#60;?” at “?&#62;”, tinatawag itong PHP tag. Ang nasa [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=17&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ang <strong>PHP</strong> ay <a href="http://tl.wikipedia.org/wiki/Wikang_pamprograma">wikang pamprograma</a> na kadalasang ginagamit sa paggawa ng dynamic web page. Ang PHP ay may rekursibong daglat na ang ibig sabihin ay <strong>P</strong>HP: <strong>H</strong>ypertext <strong>P</strong>reprocessor. Para sa pagsetup ng Apache, MySQL at PHP, <a href="http://tristan622.wordpress.com/2007/09/13/ang-pagsetup-ng-apache-mysql-at-php/">tignan ang pahina</a>.</p>
<p>Ang PHP code ay nasa loob ng “&lt;?” at “?&gt;”, tinatawag itong PHP tag. Ang nasa labas ng PHP tag ay ilalabas lang sa screen o output stream. Ang nasa loob naman ng PHP tag ay ang PHP code, maaari kang gumawa ng logic sa loob ng tag na ito.</p>
<p>Simpleng halimbawa ng PHP Code</p>
<p style="border:1px dashed #2f6fab;font-family:monospace;background-color:#f9f9f9;padding:5px;">&lt;? echo &#8220;Hello World&#8221;; ?&gt;</p>
<p><span id="more-17"></span></p>
<h3>Variable</h3>
<p>Ang <strong>variable</strong> sa PHP ay dynamically typed, na ang ibig sabihin ay hindi mo na kailangan i-declare ang type ng isang variable para mag-assign ng value dito, bagaman may mga exception dito tulad ng String.</p>
<p>Ang pag-assign naman ng value sa variable ay ganito</p>
<p style="border:1px dashed #2f6fab;font-family:monospace;background-color:#f9f9f9;padding:5px;">&lt;?<br />
$num1 = 1;<br />
$num2 = 3;<br />
$sum = $num1 + $num2;<br />
echo $sum;<br />
?&gt;</p>
<blockquote><p>Tanda: Ang &lt;?php echo $konteksto ?&gt; ay kasing kahulugan ng &lt;?=$konteksto?&gt;</p></blockquote>
<p style="border:2px solid #999999;font-family:monospace;background-color:black;color:white;padding:5px;"> /* — output –<br />
4<br />
*/</p>
<p>Maaari ka ding mag-assign ng string sa variable tulad nito</p>
<p style="border:1px dashed #2f6fab;font-family:monospace;background-color:#f9f9f9;padding:5px;">&lt;?<br />
$fname =’Juan’;<br />
$lname = ‘dela Cruz’;<br />
echo $fname . ‘ ‘ . $lname;<br />
?&gt;</p>
<p style="border:2px solid #999999;font-family:monospace;background-color:black;color:white;padding:5px;"> /* — output –<br />
Juan dela Cruz<br />
*/</p>
<h3>Control Structure</h3>
<p>Ang mga <strong>control structure</strong> sa PHP ay hindi nagkakalayo sa control structure ng C++. Isinasakatuparan ang mga kumpol na pangungusap o <em>statement</em> kung ang ibang kalagayan ay tama.</p>
<p>Mga halimbawa ng control structure sa PHP:</p>
<p style="border:1px dashed #2f6fab;font-family:monospace;background-color:#f9f9f9;padding:5px;">// if statement<br />
&lt;?<br />
$a = 5; $b = 3;<br />
if ($a &gt; $b) {<br />
echo “Ang ‘a’ ay mas mas malaki sa ‘b’\n”;<br />
}<br />
?&gt;</p>
<p style="border:1px dashed #2f6fab;font-family:monospace;background-color:#f9f9f9;padding:5px;">// for statement<br />
&lt;?<br />
for($i = 0; $i &lt; 10; $i++) {<br />
echo $i . ‘, ‘;<br />
}<br />
?&gt;</p>
<p style="border:2px solid #999999;font-family:monospace;background-color:black;color:white;padding:5px;"> /* — output<br />
0, 1, 2, 3, 4, 5, 6, 7, 8, 9,<br />
*/</p>
<p style="border:1px dashed #2f6fab;font-family:monospace;background-color:#f9f9f9;padding:5px;">// foreach statement<br />
&lt;?<br />
$mga_prutas = array(”saging”, “mangga”, “mansanas”, “ubas”);<br />
foreach ($mga_prutas as $prutas) {<br />
echo $prutas .”\n”;<br />
}<br />
?&gt;</p>
<p style="border:2px solid #999999;font-family:monospace;background-color:black;color:white;padding:5px;"> /* — output –<br />
saging<br />
mangga<br />
mansanas<br />
ubas<br />
*/</p>
<h3>Function</h3>
<p>Maraming pre-built function sa PHP na pwede mo na agad gamitin. Pwede ka ding gumawa ng sarili mong function. Simple lang ang syntax.<br />
&lt;?<br />
// ang syntax ng function:<br />
function function_name([$param1, $param2, …]) {<br />
mga_statement;<br />
[return $value];<br />
}<br />
// ang pag-tawag sa function<br />
function_name([$param1, $param2, …]);<br />
?&gt;</p>
<p>Ang <strong><em>function</em></strong> o <strong>tungkulin</strong> ay parang subprogram na gumagawa ng sarili nyang task. Maaari din itong mag return ng value base sa nagawa nitong process sa loob ng function. Ginagamit ito upang maiwasan ang pauli-ulit na pag-code sa bawat maliliit na task. Maari ding tawagin ang ibang function sa loob ng function, tulad ng top-down design.</p>
<blockquote><p>Rekursibo ay isang teknik kung saan ay tinatawag ng function ang kanyang sarili.</p></blockquote>
<p>Halimbawa ay ang pagkuha ng square ng isang numero.</p>
<p style="border:1px dashed #2f6fab;font-family:monospace;background-color:#f9f9f9;padding:5px;"> &lt;?<br />
function square($num) {<br />
return $num * $num;<br />
}<br />
$x = square(4);<br />
?&gt;</p>
<p style="border:2px solid #999999;font-family:monospace;background-color:black;color:white;padding:5px;"> /* — output –<br />
16<br />
*/</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tristan622.wordpress.com/17/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tristan622.wordpress.com/17/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tristan622.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tristan622.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tristan622.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tristan622.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tristan622.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tristan622.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tristan622.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tristan622.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tristan622.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tristan622.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tristan622.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tristan622.wordpress.com/17/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tristan622.wordpress.com/17/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tristan622.wordpress.com/17/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=17&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tristan622.wordpress.com/2007/10/16/php-para-sa-nagsisimula/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/544179cdd59c578eb8e4e6b234698212?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tristan622</media:title>
		</media:content>
	</item>
		<item>
		<title>Ang Pagsetup ng Apache, MySQL at PHP</title>
		<link>http://tristan622.wordpress.com/2007/09/13/ang-pagsetup-ng-apache-mysql-at-php/</link>
		<comments>http://tristan622.wordpress.com/2007/09/13/ang-pagsetup-ng-apache-mysql-at-php/#comments</comments>
		<pubDate>Thu, 13 Sep 2007 05:37:15 +0000</pubDate>
		<dc:creator>tristan622</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://tristan622.wordpress.com/2007/09/13/ang-pagset-up-ng-apache-mysql-at-php/</guid>
		<description><![CDATA[Ang artikulong ito ay nagtuturo kung paano mag-install ng Apache, MySQL at PHP sa Windows NT/XP, kadalasan na tinatawag din na W.A.M.P. Ito ay para lamang sa inyong lokal na host at hindi ito naka deploy sa World Wide Web. Ginagamit ito upang makapagpatakbo ng Web Server. Ang Apache, MySQL at PHP ay magkakaibang program [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=15&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Ang artikulong ito ay nagtuturo kung paano mag-install ng Apache, MySQL at PHP sa Windows NT/XP, kadalasan na tinatawag din na W.A.M.P. Ito ay para lamang sa inyong lokal na host at hindi ito naka deploy sa World Wide Web. Ginagamit ito upang makapagpatakbo ng Web Server. Ang Apache, MySQL at PHP ay magkakaibang program na libre at <a href="http://tl.wikipedia.org/wiki/Malayang_software" target="_blank">malayang software</a> na may kanya-kanyang layon. Ang Apache Webserver o HTTPd ang tumatanggap ng hiling o <em>request</em> na galing sa World Wide Web. Ang PHP nanaman ang server-side script na pwedeng ikabit sa HTML pabalik sa Apache, at ang MySQL Database Server naman ang <a href="http://tl.wikipedia.org/wiki/Database" target="_blank">database</a> na humahawak ng malalaking <a href="http://tl.wikipedia.org/wiki/Datos" target="_blank">datos</a>. <span id="more-15"></span></p>
<h3>Mga kailangan na program</h3>
<p>I-download ang mga sumusunod na program sa nasabing address. Piliin lamang ang binary release (hindi source code) na pang Windows at x86 na platform. Nakasaad din ang  bersyon na ginamit na program sa artikulong ito.</p>
<ul>
<li>Apache HTTPd (2.2.4) &#8211; <a href="http://httpd.apache.org/" target="_blank">http://httpd.apache.org/ <img src="http://tristan622.files.wordpress.com/2007/09/external.png?w=450" alt="External Icon" /></a>.</li>
<li>PHP (5.2.4) &#8211; <a href="http://www.php.net/" target="_blank">http://www.php.net/ <img src="http://tristan622.files.wordpress.com/2007/09/external.png?w=450" alt="External Icon" /></a>.</li>
<li>MySQL Database Server (5.0.41) &#8211; <a href="http://dev.mysql.com/downloads/mysql/5.0.html#win32" target="_blank">http://dev.mysql.com/ <img src="http://tristan622.files.wordpress.com/2007/09/external.png?w=450" alt="External Icon" /></a>.</li>
</ul>
<h3>Pagsetup ng Apache HTTPd</h3>
<p>Matatagpuan ang binary release installer na pang Windows sa <a href="http://httpd.apache.org/download.cgi">download section ng Apache</a> at pumunta sa  &#8220;<em>Other files</em> » <em>Binary Releases</em> » <em>win32/</em> » <strong><em>apache_x.x.x-win32-x86-no_ssl.msi</em></strong>&#8220;. Patakbuhin ang na download na Apache HTTPd executable. Pagkatapos ay may makikita kang &#8220;Installation Wizard&#8221; Form. I-click lamang ang Next hanggang sa makita mo ang form na ito at sagutan ang mga sumusunod na field.</p>
<ul>
<li><strong>Network Domain</strong>: localhost</li>
<li><strong>Server Name</strong>: localhost</li>
<li><strong>Admin Email Address</strong>: admin@example.com</li>
</ul>
<p><img src="http://i237.photobucket.com/albums/ff249/tristanperalta/01-server-info2.jpg" /></p>
<p>Piliin ang <strong>Typical</strong> na setup. At I-click ang Next.</p>
<p><img src="http://i237.photobucket.com/albums/ff249/tristanperalta/02-setup-type.jpg" /></p>
<p><img src="http://i237.photobucket.com/albums/ff249/tristanperalta/03-destination-folder.jpg" /></p>
<p><img src="http://i237.photobucket.com/albums/ff249/tristanperalta/04-ready-to-install.jpg" /></p>
<p>Hintaying matapos ang pag-install.</p>
<p><img src="http://i237.photobucket.com/albums/ff249/tristanperalta/05-installing.jpg" /></p>
<p>I-click ang <strong>Finish</strong> na button para sa huling hakbang.</p>
<p><img src="http://i237.photobucket.com/albums/ff249/tristanperalta/06-installation-complete.jpg" /></p>
<p>Subukin ang Apache gamit ang paborito mong web browser. I-type sa location bar ang &#8220;<strong>http://localhost</strong>&#8221; at I-press ang <strong>Enter</strong>.</p>
<p><img src="http://i237.photobucket.com/albums/ff249/tristanperalta/07-test.jpg" /></p>
<blockquote><p>Ang gamit kong web browser ay <a href="http://www.mozilla.com/firefox/" target="_blank">Mozilla Firefox</a>, ito ay libre at <a href="http://tl.wikipedia.org/wiki/Malayang_software" target="_blank">malayang software</a>.</p></blockquote>
<p>Pagnakita mo ang katulad ng nasa itaas ay matagumpay mong na-install ang Apache HTTPd.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/tristan622.wordpress.com/15/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/tristan622.wordpress.com/15/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/tristan622.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/tristan622.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/tristan622.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/tristan622.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/tristan622.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/tristan622.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/tristan622.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/tristan622.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/tristan622.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/tristan622.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/tristan622.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/tristan622.wordpress.com/15/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/tristan622.wordpress.com/15/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/tristan622.wordpress.com/15/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=tristan622.wordpress.com&amp;blog=1460476&amp;post=15&amp;subd=tristan622&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://tristan622.wordpress.com/2007/09/13/ang-pagsetup-ng-apache-mysql-at-php/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/544179cdd59c578eb8e4e6b234698212?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">tristan622</media:title>
		</media:content>

		<media:content url="http://tristan622.files.wordpress.com/2007/09/external.png" medium="image">
			<media:title type="html">External Icon</media:title>
		</media:content>

		<media:content url="http://tristan622.files.wordpress.com/2007/09/external.png" medium="image">
			<media:title type="html">External Icon</media:title>
		</media:content>

		<media:content url="http://tristan622.files.wordpress.com/2007/09/external.png" medium="image">
			<media:title type="html">External Icon</media:title>
		</media:content>

		<media:content url="http://i237.photobucket.com/albums/ff249/tristanperalta/01-server-info2.jpg" medium="image" />

		<media:content url="http://i237.photobucket.com/albums/ff249/tristanperalta/02-setup-type.jpg" medium="image" />

		<media:content url="http://i237.photobucket.com/albums/ff249/tristanperalta/03-destination-folder.jpg" medium="image" />

		<media:content url="http://i237.photobucket.com/albums/ff249/tristanperalta/04-ready-to-install.jpg" medium="image" />

		<media:content url="http://i237.photobucket.com/albums/ff249/tristanperalta/05-installing.jpg" medium="image" />

		<media:content url="http://i237.photobucket.com/albums/ff249/tristanperalta/06-installation-complete.jpg" medium="image" />

		<media:content url="http://i237.photobucket.com/albums/ff249/tristanperalta/07-test.jpg" medium="image" />
	</item>
	</channel>
</rss>
