<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments for Dream House</title>
	<atom:link href="http://sajjadhossain.com/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://sajjadhossain.com</link>
	<description>Courage to do something...</description>
	<lastBuildDate>Mon, 08 Mar 2010 18:51:01 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on JavaScript: String trimming and padding by fijiwebdesign</title>
		<link>http://sajjadhossain.com/2008/10/31/javascript-string-trimming-and-padding/comment-page-1/#comment-2966</link>
		<dc:creator>fijiwebdesign</dc:creator>
		<pubDate>Mon, 08 Mar 2010 18:51:01 +0000</pubDate>
		<guid isPermaLink="false">http://sajjadhossain.com/?p=74#comment-2966</guid>
		<description>With padding strings, it would probably be better to create an array of the length of the padding, and do Array.join() with the padding as the parameter. The reason is that arrays are mutable and thus would be able to join large strings very quickly, while a loop that mutates a string on every iteration would be significantly slower. This won&#039;t be apparent for small strings, but will be significant for larger paddings.</description>
		<content:encoded><![CDATA[<p>With padding strings, it would probably be better to create an array of the length of the padding, and do Array.join() with the padding as the parameter. The reason is that arrays are mutable and thus would be able to join large strings very quickly, while a loop that mutates a string on every iteration would be significantly slower. This won&#8217;t be apparent for small strings, but will be significant for larger paddings.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on JavaScript: String trimming and padding by fijiwebdesign</title>
		<link>http://sajjadhossain.com/2008/10/31/javascript-string-trimming-and-padding/comment-page-1/#comment-2965</link>
		<dc:creator>fijiwebdesign</dc:creator>
		<pubDate>Mon, 08 Mar 2010 18:44:53 +0000</pubDate>
		<guid isPermaLink="false">http://sajjadhossain.com/?p=74#comment-2965</guid>
		<description>You may want to trim other characters as well:

String.prototype.trim = function(c) {
    c = (c &#124;&#124; &quot;\s&quot;);
    return this.replace(new RegExp(&quot;^[&quot;+c+&quot;]+&#124;[&quot;+c+&quot;]+$&quot;, &quot;g&quot;),&quot;&quot;);
};

Eg:

&quot; test\n&quot;.trim(&quot;\\s\\n&quot;); // trim spaces and line breaks</description>
		<content:encoded><![CDATA[<p>You may want to trim other characters as well:</p>
<p>String.prototype.trim = function(c) {<br />
    c = (c || &#8220;\s&#8221;);<br />
    return this.replace(new RegExp(&#8220;^["+c+"]+|["+c+"]+$&#8221;, &#8220;g&#8221;),&#8221;");<br />
};</p>
<p>Eg:</p>
<p>&#8221; test\n&#8221;.trim(&#8220;\\s\\n&#8221;); // trim spaces and line breaks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reverse engineering MySQL database with Microsoft Visio by Mishant</title>
		<link>http://sajjadhossain.com/2009/02/12/reverse-engineering-mysql-database-with-microsoft-visio/comment-page-1/#comment-2946</link>
		<dc:creator>Mishant</dc:creator>
		<pubDate>Sun, 28 Feb 2010 14:15:11 +0000</pubDate>
		<guid isPermaLink="false">http://sajjadhossain.com/?p=126#comment-2946</guid>
		<description>it works. thnx :).</description>
		<content:encoded><![CDATA[<p>it works. thnx <img src='http://sajjadhossain.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on CodeIgniter &#8211; Plugin for DOMPDF by mello.capinpin</title>
		<link>http://sajjadhossain.com/2008/06/21/codeigniter-plugin-for-dompdf/comment-page-1/#comment-2814</link>
		<dc:creator>mello.capinpin</dc:creator>
		<pubDate>Tue, 16 Feb 2010 07:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://sajjadhossain.com/2008/06/21/codeigniter-plugin-for-dompdf/#comment-2814</guid>
		<description>Commenting &quot;extension=lib_pdf.dll&quot; on php.ini did the trick.

Thanks</description>
		<content:encoded><![CDATA[<p>Commenting &#8220;extension=lib_pdf.dll&#8221; on php.ini did the trick.</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Great Saying by Alen Strike by Ajith</title>
		<link>http://sajjadhossain.com/2008/01/18/great-saying/comment-page-1/#comment-2719</link>
		<dc:creator>Ajith</dc:creator>
		<pubDate>Thu, 04 Feb 2010 09:44:37 +0000</pubDate>
		<guid isPermaLink="false">http://sajjadhossain.com/?p=12#comment-2719</guid>
		<description>his sayings ll impress every man not only Indians but all over the world human being........</description>
		<content:encoded><![CDATA[<p>his sayings ll impress every man not only Indians but all over the world human being&#8230;&#8230;..</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SSL (HTTPS) URLs and CodeIgniter by pk</title>
		<link>http://sajjadhossain.com/2008/10/27/ssl-https-urls-and-codeigniter/comment-page-1/#comment-2653</link>
		<dc:creator>pk</dc:creator>
		<pubDate>Thu, 28 Jan 2010 11:20:11 +0000</pubDate>
		<guid isPermaLink="false">http://sajjadhossain.com/?p=55#comment-2653</guid>
		<description>Here&#039;s a simple &lt;a href=&quot;http://it.euphoriatwentythree.com/web-development/codeigniter/codeigniter-ssl-https-helper/&quot; rel=&quot;nofollow&quot;&gt;CodeIgniter SSL (HTTPS) Helper&lt;/a&gt; which i wrote.</description>
		<content:encoded><![CDATA[<p>Here&#8217;s a simple <a href="http://it.euphoriatwentythree.com/web-development/codeigniter/codeigniter-ssl-https-helper/" rel="nofollow">CodeIgniter SSL (HTTPS) Helper</a> which i wrote.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Date control using JavaScript by &#124; Abdullah Al Mamun</title>
		<link>http://sajjadhossain.com/2008/03/13/date-control-using-javascript/comment-page-1/#comment-2484</link>
		<dc:creator>&#124; Abdullah Al Mamun</dc:creator>
		<pubDate>Tue, 05 Jan 2010 06:37:38 +0000</pubDate>
		<guid isPermaLink="false">http://sajjadhossain.com/?p=29#comment-2484</guid>
		<description>[...] Date control using JavaScript [...]</description>
		<content:encoded><![CDATA[<p>[...] Date control using JavaScript [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Great Saying by Swami Vivekananda by shiuli mandal</title>
		<link>http://sajjadhossain.com/2008/01/20/great-saying-2/comment-page-1/#comment-2469</link>
		<dc:creator>shiuli mandal</dc:creator>
		<pubDate>Sun, 03 Jan 2010 09:46:13 +0000</pubDate>
		<guid isPermaLink="false">http://sajjadhossain.com/?p=14#comment-2469</guid>
		<description>at my childhood it&#039;s only the image of swami vivekananda  inspired me but now as i&#039;ve been flipping through his books and listening different discussions on him,i&#039;m getting a exclusive essence of life to live.</description>
		<content:encoded><![CDATA[<p>at my childhood it&#8217;s only the image of swami vivekananda  inspired me but now as i&#8217;ve been flipping through his books and listening different discussions on him,i&#8217;m getting a exclusive essence of life to live.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on SSL (HTTPS) URLs and CodeIgniter by Max Fellows</title>
		<link>http://sajjadhossain.com/2008/10/27/ssl-https-urls-and-codeigniter/comment-page-1/#comment-2265</link>
		<dc:creator>Max Fellows</dc:creator>
		<pubDate>Thu, 03 Dec 2009 04:35:23 +0000</pubDate>
		<guid isPermaLink="false">http://sajjadhossain.com/?p=55#comment-2265</guid>
		<description>Thanks Mohammad and Mahbub -- I recently used this for a school project and it works great; I extended the base url_helper as Martin suggested.

One other thing that came in handy was overriding CI&#039;s base_url() method in MY_url_helper; other libraries like Template call base_url() when you do things like add_js() or add_css(), which causes warnings to pop up in IE if you&#039;re on a secure page.  This was the fix:

&lt;pre lang=&quot;php&quot;&gt;
function base_url() {
   $framework =&amp; get_instance();

   if (isset($_SERVER[&#039;HTTPS&#039;])) {
      return $framework-&gt;config-&gt;slash_item(&#039;secure_base_url&#039;);
   } else {
      return $framework-&gt;config-&gt;slash_item(&#039;base_url&#039;);
   }
}
&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>Thanks Mohammad and Mahbub &#8212; I recently used this for a school project and it works great; I extended the base url_helper as Martin suggested.</p>
<p>One other thing that came in handy was overriding CI&#8217;s base_url() method in MY_url_helper; other libraries like Template call base_url() when you do things like add_js() or add_css(), which causes warnings to pop up in IE if you&#8217;re on a secure page.  This was the fix:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">function</span> base_url<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
   <span style="color: #000088;">$framework</span> <span style="color: #339933;">=&amp;</span> get_instance<span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
   <span style="color: #b1b100;">if</span> <span style="color: #009900;">&#40;</span><span style="color: #990000;">isset</span><span style="color: #009900;">&#40;</span><span style="color: #000088;">$_SERVER</span><span style="color: #009900;">&#91;</span><span style="color: #0000ff;">'HTTPS'</span><span style="color: #009900;">&#93;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #b1b100;">return</span> <span style="color: #000088;">$framework</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">config</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">slash_item</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'secure_base_url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span> <span style="color: #b1b100;">else</span> <span style="color: #009900;">&#123;</span>
      <span style="color: #b1b100;">return</span> <span style="color: #000088;">$framework</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">config</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">slash_item</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'base_url'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
   <span style="color: #009900;">&#125;</span>
<span style="color: #009900;">&#125;</span></pre></div></div>

]]></content:encoded>
	</item>
	<item>
		<title>Comment on Reverse engineering MySQL database with Microsoft Visio by garcon1986</title>
		<link>http://sajjadhossain.com/2009/02/12/reverse-engineering-mysql-database-with-microsoft-visio/comment-page-1/#comment-2222</link>
		<dc:creator>garcon1986</dc:creator>
		<pubDate>Fri, 06 Nov 2009 17:02:03 +0000</pubDate>
		<guid isPermaLink="false">http://sajjadhossain.com/?p=126#comment-2222</guid>
		<description>it works, thanks a lot.</description>
		<content:encoded><![CDATA[<p>it works, thanks a lot.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
