<?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>thephpx - codeigniter junky</title>
	<atom:link href="http://www.thephpx.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thephpx.com</link>
	<description>codeigniter, jquery, php, mysql</description>
	<lastBuildDate>Sun, 29 Apr 2012 20:40:07 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Bangla typing in linux</title>
		<link>http://www.thephpx.com/2012/04/30/bangla-typing-in-linux/</link>
		<comments>http://www.thephpx.com/2012/04/30/bangla-typing-in-linux/#comments</comments>
		<pubDate>Sun, 29 Apr 2012 20:40:07 +0000</pubDate>
		<dc:creator>thephpx</dc:creator>
				<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[bangla]]></category>
		<category><![CDATA[l10n]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[localization]]></category>
		<category><![CDATA[typing]]></category>
		<category><![CDATA[unijoy]]></category>

		<guid isPermaLink="false">http://www.thephpx.com/?p=287</guid>
		<description><![CDATA[To use unijoy keyboard layout on linux you need to have iBus and the unijoy keyboard layout installed and the... <a href="http://www.thephpx.com/2012/04/30/bangla-typing-in-linux/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>
To use unijoy keyboard layout on linux you need to have iBus and the unijoy keyboard layout installed and the following is the way to get the job done <img src='http://www.thephpx.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  -
</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">sudo apt-get install ibus
</div>
</li>
<li class="li1">
<div class="de1">sudo apt-get install ibus-m17n m17n-db m17n-contrib ibus-gtk
</div>
</li>
<li class="li1">
<div class="de1">sudo dpkg -L m17n-db|grep bn
</div>
</li>
<li class="li2">
<div class="de2">sudo dpkg -L m17n-contrib|grep bn
</div>
</li>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
</ol>
</div>
<p><br/><br />
<br/><br />
thanks,</p>
<blockquote>
<h4>faisal ahmed</h4>
<p><em style="padding: 0; margin: 0;">web application developer</em><br />
<strong style="padding: 0; margin: 0;">web: </strong>http://www.faisalbd.com/<br />
<strong style="padding: 0; margin: 0;">email: </strong>thephpx(at)gmail(dot)com</p></blockquote>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://www.thephpx.com/2012/04/30/bangla-typing-in-linux/"></g:plusone></div><div class="shr-publisher-287"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.thephpx.com%2F2012%2F04%2F30%2Fbangla-typing-in-linux%2F&amp;title=Bangla%20typing%20in%20linux" id="wpa2a_2" onclick="pageTracker._trackPageview('/outgoing/www.addtoany.com/share_save_url=http_3A_2F_2Fwww.thephpx.com_2F2012_2F04_2F30_2Fbangla-typing-in-linux_2F_amp_title=Bangla_20typing_20in_20linux?referer=');"><img src="http://www.thephpx.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thephpx.com/2012/04/30/bangla-typing-in-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Number to text expression library</title>
		<link>http://www.thephpx.com/2012/02/07/number-to-text-expression-library/</link>
		<comments>http://www.thephpx.com/2012/02/07/number-to-text-expression-library/#comments</comments>
		<pubDate>Mon, 06 Feb 2012 21:19:51 +0000</pubDate>
		<dc:creator>thephpx</dc:creator>
				<category><![CDATA[php]]></category>
		<category><![CDATA[num2text]]></category>
		<category><![CDATA[number to text]]></category>
		<category><![CDATA[number2text]]></category>
		<category><![CDATA[numeric to text]]></category>

		<guid isPermaLink="false">http://www.thephpx.com/?p=282</guid>
		<description><![CDATA[Hello all, This one I just finished writing. It&#8217;s focused towards generating text expressions from numeric value such as 1000... <a href="http://www.thephpx.com/2012/02/07/number-to-text-expression-library/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hello all,</p>
<p>This one I just finished writing. It&#8217;s focused towards generating text expressions from numeric value such as 1000 becomes &#8220;Taka One Thousand Only.&#8221;. This particular library is focused towards Bangladesh standard number expressions but can easily be adjusted into any other format, as the code is quite easy to understand.</p>
<p>For downloading the library click <a href="http://thephpx.com/files/numbertotext.zip" title="numbertotext.zip" target="_blank" onclick="pageTracker._trackPageview('/outgoing/thephpx.com/files/numbertotext.zip?referer=');">here</a>.</p>
<p><br/><br />
<br/><br />
thanks,</p>
<blockquote>
<h4>faisal ahmed</h4>
<p><em style="padding: 0; margin: 0;">web application developer</em><br />
<strong style="padding: 0; margin: 0;">web: </strong>http://www.faisalbd.com/<br />
<strong style="padding: 0; margin: 0;">email: </strong>thephpx(at)gmail(dot)com</p></blockquote>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://www.thephpx.com/2012/02/07/number-to-text-expression-library/"></g:plusone></div><div class="shr-publisher-282"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.thephpx.com%2F2012%2F02%2F07%2Fnumber-to-text-expression-library%2F&amp;title=Number%20to%20text%20expression%20library" id="wpa2a_4" onclick="pageTracker._trackPageview('/outgoing/www.addtoany.com/share_save_url=http_3A_2F_2Fwww.thephpx.com_2F2012_2F02_2F07_2Fnumber-to-text-expression-library_2F_amp_title=Number_20to_20text_20expression_20library?referer=');"><img src="http://www.thephpx.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thephpx.com/2012/02/07/number-to-text-expression-library/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stress testing and profiling tools for web application</title>
		<link>http://www.thephpx.com/2011/11/22/stress-testing-and-profiling-tools-for-web-application/</link>
		<comments>http://www.thephpx.com/2011/11/22/stress-testing-and-profiling-tools-for-web-application/#comments</comments>
		<pubDate>Mon, 21 Nov 2011 21:16:56 +0000</pubDate>
		<dc:creator>thephpx</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[efficiency]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[benchmarking]]></category>
		<category><![CDATA[productivity]]></category>
		<category><![CDATA[stress testing]]></category>

		<guid isPermaLink="false">http://www.thephpx.com/?p=276</guid>
		<description><![CDATA[Hi there, Recently I came across some cool new tools along with some of my old favorites and thought this... <a href="http://www.thephpx.com/2011/11/22/stress-testing-and-profiling-tools-for-web-application/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hi there,</p>
<p>Recently I came across some cool new tools along with some of my old favorites and thought this calls for a quick post -</p>
<h2>Front End Profiling Tool:</h2>
<p><b>FireBug:</b> Firebug is pretty handy to find out how long it is taking your website to load and render as well as how many header calls are made to fetch external java-script and css files. It also packs lots of useful tools and a must have for any serious web application developer.</p>
<p><b>YSlow:</b>YSlow sort of gives your an easy to understand report on your web pages flaws and how to overcome them.</p>
<h2>Web Server Stress Testing Tool:</h2>
<p><b>Siege:</b> Siege is a command line tool that you can install and simulate concurrent hits to any particular URL.</p>
<p><strong>Example:</strong></p>
<pre code="html">siege -c 10 -r 10 http://www.mydomain.com/</pre>
<p>Above code pings the URL concurrently with 10 connections repeating 10 times making 100 hits to the URL.</p>
<h2>MySQL database Profiling Tool:</h2>
<p><b>Jet Profiler:</b>Jet profiler Shows the real time activity of the connected mysql database once its hooked up. It is pretty useful when used together with the siege tool and see how concurrent hits affect the database.</p>
<p><br/></p>
<p>Naturally these are not all that is out there so any new inputs from the readers will be most welcomed <img src='http://www.thephpx.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><br/><br />
<br/><br />
thanks,</p>
<blockquote>
<h4>faisal ahmed</h4>
<p><em style="padding: 0; margin: 0;">web application developer</em><br />
<strong style="padding: 0; margin: 0;">web: </strong>http://www.faisalbd.com/<br />
<strong style="padding: 0; margin: 0;">email: </strong>thephpx(at)gmail(dot)com</p></blockquote>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://www.thephpx.com/2011/11/22/stress-testing-and-profiling-tools-for-web-application/"></g:plusone></div><div class="shr-publisher-276"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.thephpx.com%2F2011%2F11%2F22%2Fstress-testing-and-profiling-tools-for-web-application%2F&amp;title=Stress%20testing%20and%20profiling%20tools%20for%20web%20application" id="wpa2a_6" onclick="pageTracker._trackPageview('/outgoing/www.addtoany.com/share_save_url=http_3A_2F_2Fwww.thephpx.com_2F2011_2F11_2F22_2Fstress-testing-and-profiling-tools-for-web-application_2F_amp_title=Stress_20testing_20and_20profiling_20tools_20for_20web_20application?referer=');"><img src="http://www.thephpx.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thephpx.com/2011/11/22/stress-testing-and-profiling-tools-for-web-application/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Mint: Fixing Tray icon issue</title>
		<link>http://www.thephpx.com/2011/10/01/linux-mint-fixing-tray-icon-issue/</link>
		<comments>http://www.thephpx.com/2011/10/01/linux-mint-fixing-tray-icon-issue/#comments</comments>
		<pubDate>Sat, 01 Oct 2011 13:15:51 +0000</pubDate>
		<dc:creator>thephpx</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[linux mint]]></category>

		<guid isPermaLink="false">http://www.thephpx.com/?p=250</guid>
		<description><![CDATA[Hi all, Soon after installing mint 11 I started facing the issue where some applications when closed did not minimized... <a href="http://www.thephpx.com/2011/10/01/linux-mint-fixing-tray-icon-issue/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hi all,</p>
<p>Soon after installing mint 11 I started facing the issue where some applications when closed did not minimized to tray but was still running. Skype, Pidgin are the two that I have faced this issue.</p>
<p>The solution is two-folds, first ensure you have notification area added to your system tray. Then goto <strong>System > Administration > Compiz Fusion Icon</strong></p>
<p>A new icon should now show up for the Compiz Fusion, right click and then select -<br />
<strong>Select Window Manager > Metacity</strong></p>
<p>After some screen flickers everything started working fine for me hope it does the same for you too <img src='http://www.thephpx.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>take care,</p>
<blockquote>
<h4>faisal ahmed</h4>
<p><em style="padding: 0; margin: 0;">web application developer</em><br />
<strong style="padding: 0; margin: 0;">web: </strong>http://www.faisalbd.com/<br />
<strong style="padding: 0; margin: 0;">email: </strong>thephpx(at)gmail(dot)com</p></blockquote>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://www.thephpx.com/2011/10/01/linux-mint-fixing-tray-icon-issue/"></g:plusone></div><div class="shr-publisher-250"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.thephpx.com%2F2011%2F10%2F01%2Flinux-mint-fixing-tray-icon-issue%2F&amp;title=Linux%20Mint%3A%20Fixing%20Tray%20icon%20issue" id="wpa2a_8" onclick="pageTracker._trackPageview('/outgoing/www.addtoany.com/share_save_url=http_3A_2F_2Fwww.thephpx.com_2F2011_2F10_2F01_2Flinux-mint-fixing-tray-icon-issue_2F_amp_title=Linux_20Mint_3A_20Fixing_20Tray_20icon_20issue?referer=');"><img src="http://www.thephpx.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thephpx.com/2011/10/01/linux-mint-fixing-tray-icon-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux: Bash script for dynamic symbolic link creation</title>
		<link>http://www.thephpx.com/2011/08/26/linux-bash-script-for-dynamic-symbolic-link-creation/</link>
		<comments>http://www.thephpx.com/2011/08/26/linux-bash-script-for-dynamic-symbolic-link-creation/#comments</comments>
		<pubDate>Fri, 26 Aug 2011 02:54:25 +0000</pubDate>
		<dc:creator>thephpx</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[efficiency]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://www.thephpx.com/?p=247</guid>
		<description><![CDATA[Hello everyone, I just created this simple but useful bash script to create symbolic link. It lets me avoid going... <a href="http://www.thephpx.com/2011/08/26/linux-bash-script-for-dynamic-symbolic-link-creation/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hello everyone,</p>
<p>I just created this simple but useful bash script to create symbolic link. It lets me avoid going into my local server root located at /var/www/ and instead symbolic link of a folder located at /home/public/ is created at /var/www/ so anything that you put inside /home/public/project1 or project2 or whatever the folder name is it also gets reflected and thus can be accessed via link http://localhost/project1 or http://localhost/project2 and so on.</p>
<p><strong>STEP 1:</strong> create a file named <strong>symlink</strong> at /home/public/ or anywhere you like. Then copy the following code inside it and save it.</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1"><span class="co2">#! /bin/bash</span></div>
</li>
<li class="li1">
<div class="de1">sudo mkdir -m <span class="nu0">777</span> $<span class="nu0">1</span></div>
</li>
<li class="li1">
<div class="de1">sudo ln -s /home/<span class="kw1">default</span>/Public/$<span class="nu0">1</span> /var/www</div>
</li>
<li class="li1">
<div class="de1">echo $<span class="nu0">1</span> symbolic link created</div>
</li>
</ol>
</div>
<p>
<br/><strong>STEP 2:</strong> To use the script to create a folder and create a symbolic link at the server root located at /var/www/ you have to type in the following code and press enter.</p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">sh symlink faisal</div>
</li>
</ol>
</div>
<p><br/>
<p>
On the above code sh is the prefix required to run the bash script named symlink and faisal is the name of the folder i want to create and link to /var/www/</p>
<p>Hope the above snippet was useful.</p>
<p><br/><br />
thanks,</p>
<blockquote>
<h4>faisal ahmed</h4>
<p><em style="padding: 0; margin: 0;">web application developer</em><br />
<strong style="padding: 0; margin: 0;">web: </strong>http://www.faisalbd.com/<br />
<strong style="padding: 0; margin: 0;">email: </strong>thephpx(at)gmail(dot)com</p></blockquote>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://www.thephpx.com/2011/08/26/linux-bash-script-for-dynamic-symbolic-link-creation/"></g:plusone></div><div class="shr-publisher-247"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.thephpx.com%2F2011%2F08%2F26%2Flinux-bash-script-for-dynamic-symbolic-link-creation%2F&amp;title=Linux%3A%20Bash%20script%20for%20dynamic%20symbolic%20link%20creation" id="wpa2a_10" onclick="pageTracker._trackPageview('/outgoing/www.addtoany.com/share_save_url=http_3A_2F_2Fwww.thephpx.com_2F2011_2F08_2F26_2Flinux-bash-script-for-dynamic-symbolic-link-creation_2F_amp_title=Linux_3A_20Bash_20script_20for_20dynamic_20symbolic_20link_20creation?referer=');"><img src="http://www.thephpx.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thephpx.com/2011/08/26/linux-bash-script-for-dynamic-symbolic-link-creation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>google +1 button onClick event</title>
		<link>http://www.thephpx.com/2011/06/10/google-1-button-onclick-event/</link>
		<comments>http://www.thephpx.com/2011/06/10/google-1-button-onclick-event/#comments</comments>
		<pubDate>Fri, 10 Jun 2011 10:25:02 +0000</pubDate>
		<dc:creator>thephpx</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google +1]]></category>
		<category><![CDATA[google +1 callback]]></category>

		<guid isPermaLink="false">http://www.thephpx.com/?p=238</guid>
		<description><![CDATA[Hello there, I was recently working with google +1 feature and came about this trick to trace if someone clicked... <a href="http://www.thephpx.com/2011/06/10/google-1-button-onclick-event/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hello there,<br/><br />
I was recently working with google +1 feature and came about this trick to trace if someone clicked the button or not.</p>
<p><b>CODE :</b></p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">&nbsp;</div>
</li>
<li class="li1">
<div class="de1">&lt;html&gt;</div>
</li>
<li class="li1">
<div class="de1">&lt;head&gt;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &lt;script type=<span class="st0">&quot;text/javascript&quot;</span> src=<span class="st0">&quot;https://apis.google.com/js/plusone.js&quot;</span>&gt;&lt;/script&gt;</div>
</li>
<li class="li2">
<div class="de2">&nbsp; &nbsp; &lt;script type=<span class="st0">&quot;text/javascript&quot;</span>&gt;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp;<span class="kw2">function</span> testme<span class="br0">&#40;</span><span class="br0">&#41;</span><span class="br0">&#123;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; alert<span class="br0">&#40;</span><span class="st0">&#8216;test&#8217;</span><span class="br0">&#41;</span>;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &nbsp; &nbsp;<span class="br0">&#125;</span></div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; <span class="kw2">&lt;/script&gt;</span></div>
</li>
<li class="li2">
<div class="de2">&lt;/head&gt;</div>
</li>
<li class="li1">
<div class="de1">&lt;body&gt;</div>
</li>
<li class="li1">
<div class="de1">&nbsp; &nbsp; &lt;g:plusone callback=<span class="st0">&quot;testme&quot;</span> href=<span class="st0">&quot;http://www.faisalbd.com/&quot;</span>&gt;&lt;/g:plusone&gt;</div>
</li>
<li class="li1">
<div class="de1">&lt;/body&gt;</div>
</li>
<li class="li1">
<div class="de1">&lt;/html&gt;</div>
</li>
<li class="li2">
<div class="de2">&nbsp;</div>
</li>
</ol>
</div>
<p><br/><br />
Hope it helped someone <img src='http://www.thephpx.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
<br/><br />
thanks,</p>
<blockquote>
<h4>faisal ahmed</h4>
<p><em style="padding: 0; margin: 0;">web application developer</em><br />
<strong style="padding: 0; margin: 0;">web: </strong>http://www.faisalbd.com/<br />
<strong style="padding: 0; margin: 0;">email: </strong>thephpx(at)gmail(dot)com</p></blockquote>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://www.thephpx.com/2011/06/10/google-1-button-onclick-event/"></g:plusone></div><div class="shr-publisher-238"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.thephpx.com%2F2011%2F06%2F10%2Fgoogle-1-button-onclick-event%2F&amp;title=google%20%2B1%20button%20onClick%20event" id="wpa2a_12" onclick="pageTracker._trackPageview('/outgoing/www.addtoany.com/share_save_url=http_3A_2F_2Fwww.thephpx.com_2F2011_2F06_2F10_2Fgoogle-1-button-onclick-event_2F_amp_title=google_20_2B1_20button_20onClick_20event?referer=');"><img src="http://www.thephpx.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thephpx.com/2011/06/10/google-1-button-onclick-event/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Dummies guide to LAMP setup on linux :)</title>
		<link>http://www.thephpx.com/2011/05/31/dummies-guide-to-lamp-setup-on-linux/</link>
		<comments>http://www.thephpx.com/2011/05/31/dummies-guide-to-lamp-setup-on-linux/#comments</comments>
		<pubDate>Tue, 31 May 2011 15:40:35 +0000</pubDate>
		<dc:creator>thephpx</dc:creator>
				<category><![CDATA[development]]></category>
		<category><![CDATA[efficiency]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[LAMP]]></category>
		<category><![CDATA[LAMP Stack]]></category>
		<category><![CDATA[phpMyadmin]]></category>

		<guid isPermaLink="false">http://www.thephpx.com/?p=224</guid>
		<description><![CDATA[Hello everyone, Recently I came across several nifty apt-get commands that quite handy and if used properly can be a... <a href="http://www.thephpx.com/2011/05/31/dummies-guide-to-lamp-setup-on-linux/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hello everyone,<br />
<br/><br />
Recently I came across several nifty apt-get commands that quite handy and if used properly can be a life saver while setting up LAMP stack on your system.<br />
<br/><br />
<strong>Step 1 : One line LAMP setup on linux -</strong></p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">sudo apt-get install lamp-server^</div>
</li>
</ol>
</div>
<p><br/><br />
<strong>Step 2 : Setup phpMyadmin to manage your mysql databases -</strong></p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">sudo apt-get install phpmyadmin</div>
</li>
</ol>
</div>
<p><br/><br />
<strong>Step 3 : Setup xdebug and integrate with php5 installation -</strong></p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">sudo apt-get install php5-xdebug</div>
</li>
</ol>
</div>
<p><br/><br />
<strong>Step 4 : Setup cURL -</strong></p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">sudo apt-get install php5-curl</div>
</li>
</ol>
</div>
<p><br/><br />
<strong>After the above command finishes installing curl do the following -</strong></p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">cd /etc/php5/conf.d/
</div>
</li>
<li class="li1">
<div class="de1">sudo gedit xdebug.ini</div>
</li>
</ol>
</div>
<p><br/><br />
<strong>After opening the file in gedit, add the following lines at the end of the file then save and close it.</strong></p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">xdebug.remote_enable=On
</div>
</li>
<li class="li1">
<div class="de1">xdebug.remote_host=&quot;localhost&quot;
</div>
</li>
<li class="li1">
<div class="de1">xdebug.remote_port=9000
</div>
</li>
<li class="li1">
<div class="de1">xdebug.remote_handler=&quot;dbgp&quot;</div>
</li>
</ol>
</div>
<p><br/><br />
The following step is helpful for those who later want to integrate andorid SDK, because only Sun JDK is supported when running the android SDK app, is handy if you use it.<br />
<br/><br />
<strong>Step 5 : Setup sun -</strong></p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">sudo apt-get install sun-java6</div>
</li>
</ol>
</div>
<p><br/><br />
<strong>Step 6 : Enable Rewrite Module for PHP -</strong></p>
<div class="dean_ch" style="white-space: wrap;">
<ol>
<li class="li1">
<div class="de1">a2enmod rewrite</div>
</li>
</ol>
</div>
<p><br/><br />
<br/><br />
The above will do a smooth install of a functioning LAMP server on the system <img src='http://www.thephpx.com/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> , comments and queries are always welcomed.<br />
<br/><br />
thanks,</p>
<blockquote>
<h4>faisal ahmed</h4>
<p><em style="padding: 0; margin: 0;">web application developer</em><br />
<strong style="padding: 0; margin: 0;">web: </strong>http://www.faisalbd.com/<br />
<strong style="padding: 0; margin: 0;">email: </strong>thephpx(at)gmail(dot)com</p></blockquote>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://www.thephpx.com/2011/05/31/dummies-guide-to-lamp-setup-on-linux/"></g:plusone></div><div class="shr-publisher-224"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.thephpx.com%2F2011%2F05%2F31%2Fdummies-guide-to-lamp-setup-on-linux%2F&amp;title=Dummies%20guide%20to%20LAMP%20setup%20on%20linux%20%3A%29" id="wpa2a_14" onclick="pageTracker._trackPageview('/outgoing/www.addtoany.com/share_save_url=http_3A_2F_2Fwww.thephpx.com_2F2011_2F05_2F31_2Fdummies-guide-to-lamp-setup-on-linux_2F_amp_title=Dummies_20guide_20to_20LAMP_20setup_20on_20linux_20_3A_29?referer=');"><img src="http://www.thephpx.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thephpx.com/2011/05/31/dummies-guide-to-lamp-setup-on-linux/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Oauth2 library for CodeIgniter framework</title>
		<link>http://www.thephpx.com/2011/04/20/google-oauth2-library-for-codeigniter-framework/</link>
		<comments>http://www.thephpx.com/2011/04/20/google-oauth2-library-for-codeigniter-framework/#comments</comments>
		<pubDate>Wed, 20 Apr 2011 08:15:51 +0000</pubDate>
		<dc:creator>thephpx</dc:creator>
				<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[codeigniter library]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[google api]]></category>
		<category><![CDATA[google codeigniter library]]></category>
		<category><![CDATA[oauth2]]></category>

		<guid isPermaLink="false">http://www.thephpx.com/?p=216</guid>
		<description><![CDATA[Hello everyone, I am back with google oauth2 integration library this time. Before you use the google oauth2 library you... <a href="http://www.thephpx.com/2011/04/20/google-oauth2-library-for-codeigniter-framework/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hello everyone,</p>
<p>I am back with google oauth2 integration library this time. Before you use the google oauth2 library you must have a google application registered so that you have access to api client id and client key which you will need to use it.</p>
<p>Also the redirect url must match your application location. Otherwise google does not provide access to the api. So, best way to test the code is to test it on a live site.</p>
<p>I am not going to go through the code here as I have commented the code well enough for you to understand <img src='http://www.thephpx.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>For any extra query feel free to comment.<br />
<a href="http://www.thephpx.com/files/google_oauth.zip"><br />
<h3>DOWNLOAD THE LIBRARY</h3>
<p></a></p>
<p>thanks,</p>
<blockquote>
<h4>faisal ahmed</h4>
<p><em style="padding: 0; margin: 0;">web application developer</em><br />
<strong style="padding: 0; margin: 0;">web: </strong>http://www.faisalbd.com/<br />
<strong style="padding: 0; margin: 0;">email: </strong>thephpx(at)gmail(dot)com</p></blockquote>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://www.thephpx.com/2011/04/20/google-oauth2-library-for-codeigniter-framework/"></g:plusone></div><div class="shr-publisher-216"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.thephpx.com%2F2011%2F04%2F20%2Fgoogle-oauth2-library-for-codeigniter-framework%2F&amp;title=Google%20Oauth2%20library%20for%20CodeIgniter%20framework" id="wpa2a_16" onclick="pageTracker._trackPageview('/outgoing/www.addtoany.com/share_save_url=http_3A_2F_2Fwww.thephpx.com_2F2011_2F04_2F20_2Fgoogle-oauth2-library-for-codeigniter-framework_2F_amp_title=Google_20Oauth2_20library_20for_20CodeIgniter_20framework?referer=');"><img src="http://www.thephpx.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thephpx.com/2011/04/20/google-oauth2-library-for-codeigniter-framework/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Codeigniter: Helper for template library dynamic view partial loading</title>
		<link>http://www.thephpx.com/2011/02/23/codeigniter-helper-for-template-library-dynamic-view-partial-loading/</link>
		<comments>http://www.thephpx.com/2011/02/23/codeigniter-helper-for-template-library-dynamic-view-partial-loading/#comments</comments>
		<pubDate>Wed, 23 Feb 2011 13:43:51 +0000</pubDate>
		<dc:creator>thephpx</dc:creator>
				<category><![CDATA[codeigniter]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[efficiency]]></category>
		<category><![CDATA[fun]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[codeigniter library]]></category>
		<category><![CDATA[codeigniter template library]]></category>
		<category><![CDATA[template]]></category>
		<category><![CDATA[template library]]></category>
		<category><![CDATA[template parser helper]]></category>

		<guid isPermaLink="false">http://www.thephpx.com/?p=167</guid>
		<description><![CDATA[Hello everyone, I have recently been in quick-fire blogging mode. After playing with the superb template library developed by Phil... <a href="http://www.thephpx.com/2011/02/23/codeigniter-helper-for-template-library-dynamic-view-partial-loading/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Hello everyone,</p>
<p>I have recently been in quick-fire blogging mode. After playing with the superb <a href="http://philsturgeon.co.uk/demos/codeigniter-template/user_guide/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/philsturgeon.co.uk/demos/codeigniter-template/user_guide/?referer=');">template library</a> developed by <a href="http://philsturgeon.co.uk/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/philsturgeon.co.uk/?referer=');">Phil Sturgeon</a>.</p>
<p>The following template helper is the outcome of tweaking that makes life easier while setting up view partials and calling them inside the layout dynamically. The helper also has an add-on use which gives user the option to use region specific partial loading.</p>
<h5>Controller:</h5>
<p> welcome.php<br/></p>
<pre>
$partial_list[]['region'] = 'left';
$partial_list[]['name'] = 'category';
$partial_list[]['view'] = 'partial_category';
$partial_list[]['region'] = 'right';
$partial_list[]['name'] = 'login_box';
$partial_list[]['view'] = 'partial_login';

/* following functionautomatically sets the partials
* based on the above array and also passes $partial_list
* variable to the view.
*/

/*
* make sure the pareser helper is loaded before
* calling this function
*/

setup_partials($partial_list);

$this-&gt;template-&gt;set_layout('home_layout');
$this-&gt;template-&gt;build('home_view');
</pre>
<p><br/></p>
<h5>Layout:</h5>
<p> home_view.php<br/></p>
<pre>
&lt;html&gt;
&lt;head&gt;
	&lt;title&gt;&lt;?php echo $template[&#039;title&#039;];?&gt;&lt;/title&gt;
&lt;/head&gt;
&lt;body&gt;
	&lt;div class=&quot;left&quot;&gt;
		/* Will show only partials with region set as left */
		&lt;?php show_partials(&#039;list&#039;, &#039;left&#039;, $partial_list, $template); ?&gt;
	&lt;/div&gt;
	&lt;div class=&quot;mid&quot;&gt;&lt;?php echo $template[&#039;body&#039;];?&gt;&lt;/div&gt;
	&lt;div class=&quot;right&quot;&gt;
		/* Will show only partials with region set as right */
		&lt;?php show_partials(&#039;list&#039;, &#039;right&#039;, $partial_list, $template);?&gt;
	&lt;/div&gt;
&lt;/body&gt;
&lt;/html&gt;
</pre>
<p>Detail about the usage can be found in the actual helper file, also feel free to comment here and I will try my best to help out.</p>
<h3>Download Helper:</h3>
<p><a href="http://www.thephpx.com/files/partial_helper.zip">DOWNLOAD PARSER HELPER</a></p>
<p>thanks,</p>
<blockquote>
<h4>faisal ahmed</h4>
<p><i style="padding:0;margin:0;">web application developer</i><br />
<b style="padding:0;margin:0;">web:&nbsp;</b>http://www.faisalbd.com/<br />
<b style="padding:0;margin:0;">email:&nbsp;</b>thephpx(at)gmail(dot)com
</p></blockquote>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://www.thephpx.com/2011/02/23/codeigniter-helper-for-template-library-dynamic-view-partial-loading/"></g:plusone></div><div class="shr-publisher-167"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.thephpx.com%2F2011%2F02%2F23%2Fcodeigniter-helper-for-template-library-dynamic-view-partial-loading%2F&amp;title=Codeigniter%3A%20Helper%20for%20template%20library%20dynamic%20view%20partial%20loading" id="wpa2a_18" onclick="pageTracker._trackPageview('/outgoing/www.addtoany.com/share_save_url=http_3A_2F_2Fwww.thephpx.com_2F2011_2F02_2F23_2Fcodeigniter-helper-for-template-library-dynamic-view-partial-loading_2F_amp_title=Codeigniter_3A_20Helper_20for_20template_20library_20dynamic_20view_20partial_20loading?referer=');"><img src="http://www.thephpx.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thephpx.com/2011/02/23/codeigniter-helper-for-template-library-dynamic-view-partial-loading/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Internet explorer compatibility test with expression web super preview</title>
		<link>http://www.thephpx.com/2011/02/17/internet-explorer-compatibility-test-with-expression-web-super-preview/</link>
		<comments>http://www.thephpx.com/2011/02/17/internet-explorer-compatibility-test-with-expression-web-super-preview/#comments</comments>
		<pubDate>Thu, 17 Feb 2011 05:30:03 +0000</pubDate>
		<dc:creator>thephpx</dc:creator>
				<category><![CDATA[efficiency]]></category>
		<category><![CDATA[web]]></category>
		<category><![CDATA[xhtml]]></category>
		<category><![CDATA[compatibility]]></category>
		<category><![CDATA[cross browser]]></category>
		<category><![CDATA[expression web super preview]]></category>
		<category><![CDATA[IE]]></category>
		<category><![CDATA[internet explorer]]></category>

		<guid isPermaLink="false">http://www.thephpx.com/?p=149</guid>
		<description><![CDATA[In the recent past I was involved in couple of UI development and cross browser integration and its during this... <a href="http://www.thephpx.com/2011/02/17/internet-explorer-compatibility-test-with-expression-web-super-preview/">Continue reading &#187;</a>]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><!-- End Shareaholic LikeButtonSetTop Automatic --><p><a href="http://www.thephpx.com/wp-content/uploads/2011/02/superpreviewforie.jpg"><img class="aligncenter size-medium wp-image-169" title="superpreviewforie" src="http://www.thephpx.com/wp-content/uploads/2011/02/superpreviewforie-300x168.jpg" alt="" width="300" height="168" /></a>In the recent past I was involved in couple of UI development and cross browser integration and its during this time I came across &#8220;expression web super preview&#8221; , which comes from Microsoft for <strong>FREE</strong> <img src='http://www.thephpx.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<p>This application can be called an AIO (all in one) IE test suit in terms of UI consistency checks. It allows you to compare different version of the same site in 2 different version of the internet explorer side by side. It also has the option to view the site in various screen resolutions.</p>
<p>I felt it was too nice a product to be shared online and hope it remains free till something else comes up <img src='http://www.thephpx.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  only downside is I can use it only on windows systems only.</p>
<p>To download the application click <a href="http://expression.microsoft.com/en-us/dd565874.aspx" target="_blank" onclick="pageTracker._trackPageview('/outgoing/expression.microsoft.com/en-us/dd565874.aspx?referer=');">here</a>.</p>
<p>thanks,</p>
<blockquote><p>thephpx</p></blockquote>
<div name="googleone_share_1" style="position:relative;z-index:5;float: right; margin-left: 10px;"><g:plusone size="tall" count="1" href="http://www.thephpx.com/2011/02/17/internet-explorer-compatibility-test-with-expression-web-super-preview/"></g:plusone></div><div class="shr-publisher-149"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><!-- End Shareaholic LikeButtonSetBottom Automatic --><p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fwww.thephpx.com%2F2011%2F02%2F17%2Finternet-explorer-compatibility-test-with-expression-web-super-preview%2F&amp;title=Internet%20explorer%20compatibility%20test%20with%20expression%20web%20super%20preview" id="wpa2a_20" onclick="pageTracker._trackPageview('/outgoing/www.addtoany.com/share_save_url=http_3A_2F_2Fwww.thephpx.com_2F2011_2F02_2F17_2Finternet-explorer-compatibility-test-with-expression-web-super-preview_2F_amp_title=Internet_20explorer_20compatibility_20test_20with_20expression_20web_20super_20preview?referer=');"><img src="http://www.thephpx.com/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://www.thephpx.com/2011/02/17/internet-explorer-compatibility-test-with-expression-web-super-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

