<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>The Filipino Programmer &#187; Might-be-useful</title>
	<atom:link href="http://www.cybervaldez.com/category/might-be-useful/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.cybervaldez.com</link>
	<description></description>
	<lastBuildDate>Wed, 26 Oct 2011 08:05:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>[Tip] How to pass an array as an argument to a function.</title>
		<link>http://www.cybervaldez.com/tip-how-to-pass-an-array-as-an-argument-to-a-function/2011/</link>
		<comments>http://www.cybervaldez.com/tip-how-to-pass-an-array-as-an-argument-to-a-function/2011/#comments</comments>
		<pubDate>Wed, 14 Sep 2011 10:13:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How-tos]]></category>
		<category><![CDATA[Might-be-useful]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Super Tip!]]></category>

		<guid isPermaLink="false">http://www.cybervaldez.com/?p=1319</guid>
		<description><![CDATA[Problem: Help! Iis it possible to pass the values of an array as an argument in my function? Anwer: Conveniently, Yes! You can indeed use set an array as the argument of a function. var mapArgs = [0,20,50,10]; draw.apply(this, mapArgs); function draw(x1,x2,y1,y2) { // do something&#8230; alert(x1 + &#8216; &#8216; + x2 + &#8216; &#8216; [...]]]></description>
			<content:encoded><![CDATA[<h1>Problem: Help! Iis it possible to pass the values of an array as an argument in my function?</h1>

<p><strong>Anwer</strong>: Conveniently, Yes! You can indeed use set an array as the argument of a function.</p>

<blockquote>
  <p>var mapArgs = [0,20,50,10];<br />
  draw.apply(this, mapArgs);</p>
  
  <p>function draw(x1,x2,y1,y2)<br />
  {
    // do something&#8230;<br />
    alert(x1 + &#8216; &#8216; + x2 + &#8216; &#8216; + +y1 + &#8216; &#8216;+ y2);<br />
  }</p>
</blockquote>

<p>Of course you can use it in a more creative way</p>

<blockquote>
  <p>var run = { ready : ["Is this awesome?"], getset : ["or…"], go: ["What?!"] }<br />
  var func = {<br />
    ready: function(str)<br />
    {<br />
        alert(str);<br />
    },<br />
    getset: function(str)<br />
    {<br />
        alert(str.toUpperCase());<br />
    },<br />
    go: function(str)<br />
    {<br />
        alert(str + &#8216;!!!&#8217;);<br />
    }<br />
  }</p>
  
  <p>for (x in run)<br />
    func[x].apply(this, run[x]);</p>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.cybervaldez.com/tip-how-to-pass-an-array-as-an-argument-to-a-function/2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to: Create logos in 1 easy step (placeholder purposes)</title>
		<link>http://www.cybervaldez.com/how-to-create-brand-logos-in-1-easy-step/2009/</link>
		<comments>http://www.cybervaldez.com/how-to-create-brand-logos-in-1-easy-step/2009/#comments</comments>
		<pubDate>Fri, 08 May 2009 15:15:23 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Just-for-fun]]></category>
		<category><![CDATA[Might-be-useful]]></category>
		<category><![CDATA[Logo]]></category>
		<category><![CDATA[placeholder]]></category>
		<category><![CDATA[quick]]></category>
		<category><![CDATA[temporary]]></category>

		<guid isPermaLink="false">http://www.cybervaldez.com/?p=903</guid>
		<description><![CDATA[Looking to build a logo but don&#8217;t have the time? Need a temporary logo for your website, software or documents? Here&#8217;s a good website that you might find very useful. Logo54.com allows you to create similar logos of the following: Cars: Ferrari Movies: Star Wars, Harry Potter, Monster&#8217;s Inc. Games: Nintendo Others: Yahoo, Kanji Here [...]]]></description>
			<content:encoded><![CDATA[<p>Looking to build a logo but don&#8217;t have the time? Need a <strong>temporary</strong> logo for your website, software or documents? <a href="http://logo54.com">Here&#8217;s</a> a good website that you might find very useful. <a href="http://logo54.com" target="_blank">Logo54.com</a> allows you to create similar logos of the following:</p>

<ul>
    <li>Cars: <a href="http://logo54.com/car/ferrari" target="_blank">Ferrari</a></li>
    <li>Movies: <a href="http://logo54.com/movie/starwars" target="_blank">Star Wars</a>, <a href="http://logo54.com/movie/harry" target="_blank">Harry Potter</a>, <a href="http://logo54.com/movie/monster" target="_blank">Monster&#8217;s Inc.</a></li>
    <li>Games: <a href="http://logo54.com/game/nintendo" target="_blank">Nintendo</a></li>
    <li>Others: <a href="http://logo54.com/net/yahoo" target="_blank">Yahoo</a>, <a href="http://www.kanjisymbol.net/" target="_blank">Kanji</a></li>
</ul>

<p>Here are some examples:</p>

<p><img class="aligncenter size-full wp-image-908" title="logo-paw" src="http://www.cybervaldez.com/myuploads/logo-paw.png" alt="logo-paw" width="107" height="34" /></p>

<p><img class="aligncenter size-full wp-image-909" title="logo-mock" src="http://www.cybervaldez.com/myuploads/logo-mock.png" alt="logo-mock" width="167" height="41" /></p>

<p><img class="aligncenter size-full wp-image-910" title="logo-omg" src="http://www.cybervaldez.com/myuploads/logo-omg.png" alt="logo-omg" width="177" height="44" /></p>

<p>Pretty nifty huh? Oh, and please remember that the patterns used for building these logos are patented (copyright?) so only use it for placeholders or &#8220;just-for-fun&#8221; activities.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cybervaldez.com/how-to-create-brand-logos-in-1-easy-step/2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

