<?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; productivity</title>
	<atom:link href="http://www.cybervaldez.com/category/productivity/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>[Solution] How to use this in setInterval and setTimeout problems inside objects</title>
		<link>http://www.cybervaldez.com/solution-how-to-use-this-in-setinterval-and-settimeout-problems-inside-objects/2011/</link>
		<comments>http://www.cybervaldez.com/solution-how-to-use-this-in-setinterval-and-settimeout-problems-inside-objects/2011/#comments</comments>
		<pubDate>Tue, 30 Aug 2011 16:48:15 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Bug Fixes]]></category>
		<category><![CDATA[How-tos]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Super Tip!]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.cybervaldez.com/?p=1299</guid>
		<description><![CDATA[Problem: One of the problems we find when using setInterval and setTimeout functions in javascript is how the special variable this is switched to the window object on the instance the function executes inside the interval. Answer: Store the current object in a variable (for this example, the variable is called self) and use that [...]]]></description>
			<content:encoded><![CDATA[<p><strong>Problem</strong>: One of the problems we find when using setInterval and setTimeout functions in javascript is how the special variable <strong><em>this</em></strong> is switched to the window object on the instance the function executes inside the interval.</p>

<p><strong>Answer</strong>:  Store the current object in a variable (for this example, the variable is called <strong><em>self</em></strong>) and use that variable for your interval&#8217;s function instead of <em><strong>this</strong></em>.</p>

<blockquote>
<p>function foo() <br/>
{<br/>
  this.init = function () {<br/>
      var self = this;<br/>
      this.interval = setInterval(function(){ self.update(); }, 1000); // this can be setTimeout <br/>
  };</p>

<p>
  this.update = function () {<br/>
      this.counter++;<br/>
      console.log(this.counter);<br/>
  };<br/>
}
</p>

<p>Json Example</p>
<textarea cols=70 rows=12>
var foo = {
  init : function() {
      var self = this;
      this.interval = setInterval(function(){ self.update(); }, 1000); // this can be setTimeout
  },
  update : function () {
      this.counter++;
      console.log(this.counter);
  };
} 
</textarea>
</blockquote>
]]></content:encoded>
			<wfw:commentRss>http://www.cybervaldez.com/solution-how-to-use-this-in-setinterval-and-settimeout-problems-inside-objects/2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to login as root or how to fix the permission problems when running su commands in WHM</title>
		<link>http://www.cybervaldez.com/how-to-login-as-root-or-how-to-fix-the-permission-problems-when-running-su-commands-in-whm/2011/</link>
		<comments>http://www.cybervaldez.com/how-to-login-as-root-or-how-to-fix-the-permission-problems-when-running-su-commands-in-whm/2011/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 14:27:08 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Cpanel]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[How-tos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[Super Tip!]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Websites]]></category>
		<category><![CDATA[WHM]]></category>

		<guid isPermaLink="false">http://www.cybervaldez.com/?p=1292</guid>
		<description><![CDATA[You can&#8217;t use the root user when SSH&#8217;ing to WHM but what you can do is issue a SU command once you&#8217;ve logged in with another user which isn&#8217;t root. On some occassions, you may encounter a no permission error when doing this. Problem: Help! I can&#8217;t seem to login as root in whm so [...]]]></description>
			<content:encoded><![CDATA[<p>You can&#8217;t use the root user when SSH&#8217;ing to WHM but what you can do is issue a <strong>SU</strong> command once you&#8217;ve logged in with another user which isn&#8217;t root. On some occassions, you may encounter a no permission error when doing this.</p>

<p><strong>Problem</strong>: Help! I can&#8217;t seem to login as root in whm so I need to do a <strong>SU</strong> command instead but i&#8217;m getting a permission error!</p>

<p><strong>Answer</strong>: In your whm panel, access <strong>Security Center -> Manage Wheel Group Users</strong> and you will be able to assign the username to the group that allows <strong>SU</strong></p>

<p>And that&#8217;s the solution to your problem!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cybervaldez.com/how-to-login-as-root-or-how-to-fix-the-permission-problems-when-running-su-commands-in-whm/2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to find, look or search for a specific file in linux</title>
		<link>http://www.cybervaldez.com/how-to-find-look-or-search-for-a-specific-file-in-linux/2011/</link>
		<comments>http://www.cybervaldez.com/how-to-find-look-or-search-for-a-specific-file-in-linux/2011/#comments</comments>
		<pubDate>Wed, 10 Aug 2011 14:18:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[How-tos]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[Super Tip!]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Unix]]></category>

		<guid isPermaLink="false">http://www.cybervaldez.com/?p=1289</guid>
		<description><![CDATA[A common problem for those aren&#8217;t aware of using linux are locating certain files(this is when troubleshooting, or simply doing steps from a guide) Problem: I&#8217;m looking for a file in linux! How do I find this? Answer: You can easily find a file by using the find command: find / -name &#8220;httpd.conf&#8221; -print Note: [...]]]></description>
			<content:encoded><![CDATA[<p>A common problem for those aren&#8217;t aware of using linux are locating certain files(this is when troubleshooting, or simply doing steps from a guide)</p>

<p><strong>Problem</strong>: I&#8217;m looking for a file in linux! How do I find this?</p>

<p><strong>Answer</strong>: You can easily find a file by using the <strong>find</strong> command:</p>

<blockquote>
  <p>find / -name &#8220;httpd.conf&#8221; -print</p>
</blockquote>

<p><strong>Note: the -print option will print out the location of the name, / represents what location to start.</strong></p>

<p>If you are interested in knowing more about the find command, look no further than the following link:

http://www.ling.ohio-state.edu/~kyoon/tts/unix-help/unix-find-command-examples.htm</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cybervaldez.com/how-to-find-look-or-search-for-a-specific-file-in-linux/2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Super Tool: (Probably) the best SQLite Editor/IDE for web development and production use</title>
		<link>http://www.cybervaldez.com/super-tool-probably-the-best-sqlite-editoride-for-development-and-production-use/2009/</link>
		<comments>http://www.cybervaldez.com/super-tool-probably-the-best-sqlite-editoride-for-development-and-production-use/2009/#comments</comments>
		<pubDate>Fri, 26 Jun 2009 18:18:37 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Super Tool]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[administrator]]></category>
		<category><![CDATA[awesome]]></category>
		<category><![CDATA[complement]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[firefox]]></category>
		<category><![CDATA[footprint]]></category>
		<category><![CDATA[free]]></category>
		<category><![CDATA[great]]></category>
		<category><![CDATA[ide]]></category>
		<category><![CDATA[plugin]]></category>
		<category><![CDATA[production]]></category>
		<category><![CDATA[small]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[sqlite]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://www.cybervaldez.com/?p=1061</guid>
		<description><![CDATA[A great IDE/editor to complement SQLite's small footprint.]]></description>
			<content:encoded><![CDATA[<p>I really <a href="http://www.sqlite.org/">love</a> SQLite. It&#8217;s lightweight and got a really small footprint. I use it as my database initially when i&#8217;m creating web applications(I then move to mySQL during production), the only issue I have is the lack of IDE for working with it. Of course there&#8217;s <a href="http://wzpo1.ask.com/r?t=p&#038;d=mys&#038;s=ads&#038;c=a&#038;l=dis&#038;o=13927&#038;sv=0a5c425b&#038;ip=781c4047&#038;id=E042DFC40D6748CBA41FB6DF6185413F&#038;q=sqlite+administrator&#038;p=1&#038;qs=2873&#038;ac=24&#038;g=0e73O8O5b25qHg&#038;en=te&#038;io=0&#038;ep=&#038;eo=&#038;b=a001&#038;bc=&#038;br=&#038;tp=d&#038;ec=1&#038;pt=SQLite%20Administrator%20-%20International%20Milestone%20Beta&#038;ex=tsrc%3Dvnru&#038;url=&#038;u=http://sqliteadmin.orbmu2k.de/">SQLite Administrator</a>, i&#8217;m just not into the idea of installing a software especially with SQLite being small(I prefer not to cramp up as much software possible in my Windows).</p>

<blockquote>This is where <a href="http://code.google.com/p/sqlite-manager/">sqlite-manager</a> comes along. It&#8217;s a 100kb plugin for Firefox(which also means cross compatibility with other OS), it&#8217;s a great complement to SQLite&#8217;s lightweight and small footprint. If you need to work with the database, you simply fire up sqlite-manager from the Tools menu.</blockquote>

<p>That&#8217;s It!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.cybervaldez.com/super-tool-probably-the-best-sqlite-editoride-for-development-and-production-use/2009/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

