<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss 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:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Connecting the dots...</title>
	
	<link>http://blog.rajatpandit.com</link>
	<description>Thoughts on Web and Personal Development</description>
	<lastBuildDate>Sat, 11 Jul 2009 11:02:21 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" href="http://feeds.feedburner.com/rajatpandit/connectingthedots" type="application/rss+xml" /><item>
		<title>Symfony development process</title>
		<link>http://feedproxy.google.com/~r/rajatpandit/connectingthedots/~3/yczgRs2Xrgo/</link>
		<comments>http://blog.rajatpandit.com/2009/07/11/symfony-development-process/#comments</comments>
		<pubDate>Sat, 11 Jul 2009 10:48:55 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[build process]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[doctrine]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=345</guid>
		<description><![CDATA[My development process involves using doctrine and svn. Documenting my development steps to make sure I can put this is some sort of build script in future.
Creating svn directories

svn mkdir -m &#34;create default directories&#34; http://svn.clients.rajatpandit.com/project-name/trunk http://svn.clients.rajatpandit.com/project-name/tags http://svn.clients.rajatpandit.com/project-name/branches

Checkout these directories locally:

svn co http://svn.clients.rajatpandit.com/project-name/ .

Move to the trunk directory

cd trunk

Creating a new project

$  symfony generate:project brp
$ [...]]]></description>
			<content:encoded><![CDATA[<p>My development process involves using <a href="http://www.doctrine-project.org/">doctrine</a> and <a href="http://subversion.tigris.org/">svn</a>. Documenting my development steps to make sure I can put this is some sort of build script in future.</p>
<p>Creating svn directories</p>
<pre class="brush: bash;">
svn mkdir -m &quot;create default directories&quot; http://svn.clients.rajatpandit.com/project-name/trunk http://svn.clients.rajatpandit.com/project-name/tags http://svn.clients.rajatpandit.com/project-name/branches
</pre>
<p>Checkout these directories locally:</p>
<pre class="brush: bash;">
svn co http://svn.clients.rajatpandit.com/project-name/ .
</pre>
<p>Move to the <code>trunk</code> directory</p>
<pre class="brush: bash;">
cd trunk
</pre>
<p>Creating a new project</p>
<pre class="brush: bash;">
$  symfony generate:project brp
$ php symfony generate:app --escaping-strategy=on --csrf-secret=s3cr3t fe
</pre>
<p>Clear cache and log and add that to svn</p>
<pre class="brush: bash;">
rm -rf cache/* log/*
chmod 777 cache/ log/
svn add *
</pre>
<pre class="brush: bash;">
svn propedit svn:ignore cache
svn propedit svn:ignore log
</pre>
<p>Enter * in both the cases so that no files in cache and log get commited to svn</p>
<p>Add the new files to svn</p>
<pre class="brush: bash;">
svn ci -m 'adding the initial set of files'
</pre>
<p>Update the database settings, add the doctrine plugin and disable the propel plugin instead, edit the file <code>config/ProjectConfiguration.class.php</code><br />
and update the line with the following line:</p>
<pre class="brush: php;">
  $this-&gt;enableAllPluginsExcept(array('sfPropelPlugin', 'sfCompat10Plugin'));
</pre>
<p>Publish the plug-in assets</p>
<pre class="brush: bash;">
rp@devbox:~/websites/project-name/trunk$ php symfony plugin:publish-assets
    plugin    Configuring plugin - sfProtoculousPlugin
    plugin    Configuring plugin - sfDoctrinePlugin
</pre>
<p>Delete the files for the propel plugin:</p>
<pre class="brush: bash;">
svn delete web/sfPropelPlugin
svn delete config/propel.ini
svn delete config/schema.yml
svn mkdir config/doctrine
</pre>
<p>Create new schema file and remove the default schema file.</p>
<pre class="brush: bash;">
rp@devbox:~/websites/project-name/trunk$ cd config/doctrine/
rp@devbox:~/websites/project-name/trunk/config/doctrine$ touch schema.yml
rp@devbox:~/websites/project-name/trunk/config/doctrine$ svn add schema.yml
A         schema.yml
rp@devbox:~/websites/project-name/trunk/config/doctrine$ svn ci -m 'adding schema for app'

svn delete config/databases.yml
svn ci -m 'removed the default databases.yml file'
</pre>
<p>Add database configuration settings:</p>
<pre class="brush: bash;">
php symfony configure:database --name=doctrine --class=sfDoctrineDatabase &quot;mysql:host=127.0.0.1;dbname=project1&quot; root password
</pre>
<p>Link to externals so that the  latest version of the plugins and symfony gets checked out:</p>
<pre class="brush: bash;">
cd lib/
svn mkdir vendor
svn propedit svn:externals lib/vendor
svn ci -m 'updating symfony to version 1.2.7'
svn update lib/vendor/
</pre>
<p>That pulls out the most updated tagged version  of <a href="http://symfony-project.org">symfony</a>.</p>
<p>Update the configuration file <code>config/ProjectConfiguration.class.php</code> to use the local <a href="http://symfony-project.org">symfony</a> version instead of the site-wide settings. </p>
<pre class="brush: php;">
require_once dirname(__FILE__) . '/../lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php';
</pre>
<p>Share:</p>
<p>	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F11%2Fsymfony-development-process%2F&amp;title=Symfony%20development%20process&amp;bodytext=My%20development%20process%20involves%20using%20doctrine%20and%20svn.%20Documenting%20my%20development%20steps%20to%20make%20sure%20I%20can%20put%20this%20is%20some%20sort%20of%20build%20script%20in%20future.%0D%0A%0D%0ACreating%20svn%20directories%0D%0A%5Bbash%5D%0D%0Asvn%20mkdir%20-m%20%26quot%3Bcreate%20default%20directories%26quot%3B%20http" title="Digg"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F11%2Fsymfony-development-process%2F&amp;title=Symfony%20development%20process&amp;notes=My%20development%20process%20involves%20using%20doctrine%20and%20svn.%20Documenting%20my%20development%20steps%20to%20make%20sure%20I%20can%20put%20this%20is%20some%20sort%20of%20build%20script%20in%20future.%0D%0A%0D%0ACreating%20svn%20directories%0D%0A%5Bbash%5D%0D%0Asvn%20mkdir%20-m%20%26quot%3Bcreate%20default%20directories%26quot%3B%20http" title="del.icio.us"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F11%2Fsymfony-development-process%2F&amp;title=Symfony%20development%20process&amp;annotation=My%20development%20process%20involves%20using%20doctrine%20and%20svn.%20Documenting%20my%20development%20steps%20to%20make%20sure%20I%20can%20put%20this%20is%20some%20sort%20of%20build%20script%20in%20future.%0D%0A%0D%0ACreating%20svn%20directories%0D%0A%5Bbash%5D%0D%0Asvn%20mkdir%20-m%20%26quot%3Bcreate%20default%20directories%26quot%3B%20http" title="Google Bookmarks"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F11%2Fsymfony-development-process%2F&amp;title=Symfony%20development%20process" title="Sphinn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F11%2Fsymfony-development-process%2F&amp;t=Symfony%20development%20process" title="Facebook"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F11%2Fsymfony-development-process%2F&amp;title=Symfony%20development%20process" title="Mixx"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F11%2Fsymfony-development-process%2F&amp;title=Symfony%20development%20process&amp;source=Connecting+the+dots...+Thoughts+on+Web+and+Personal+Development&amp;summary=My%20development%20process%20involves%20using%20doctrine%20and%20svn.%20Documenting%20my%20development%20steps%20to%20make%20sure%20I%20can%20put%20this%20is%20some%20sort%20of%20build%20script%20in%20future.%0D%0A%0D%0ACreating%20svn%20directories%0D%0A%5Bbash%5D%0D%0Asvn%20mkdir%20-m%20%26quot%3Bcreate%20default%20directories%26quot%3B%20http" title="LinkedIn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="Ma.gnolia"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="Ma.gnolia" alt="Ma.gnolia" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F11%2Fsymfony-development-process%2F&amp;title=Symfony%20development%20process" title="StumbleUpon"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="TwitThis"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F11%2Fsymfony-development-process%2F&amp;submitHeadline=Symfony%20development%20process&amp;submitSummary=My%20development%20process%20involves%20using%20doctrine%20and%20svn.%20Documenting%20my%20development%20steps%20to%20make%20sure%20I%20can%20put%20this%20is%20some%20sort%20of%20build%20script%20in%20future.%0D%0A%0D%0ACreating%20svn%20directories%0D%0A%5Bbash%5D%0D%0Asvn%20mkdir%20-m%20%26quot%3Bcreate%20default%20directories%26quot%3B%20http&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></p>
<p><br/><br/></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=yczgRs2Xrgo:kB-9xa20kw0:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=yczgRs2Xrgo:kB-9xa20kw0:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=yczgRs2Xrgo:kB-9xa20kw0:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=yczgRs2Xrgo:kB-9xa20kw0:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=yczgRs2Xrgo:kB-9xa20kw0:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=yczgRs2Xrgo:kB-9xa20kw0:KwTdNBX3Jqk"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=yczgRs2Xrgo:kB-9xa20kw0:KwTdNBX3Jqk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2009/07/11/symfony-development-process/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.rajatpandit.com/2009/07/11/symfony-development-process/</feedburner:origLink></item>
		<item>
		<title>JeOS running on VirtualBox looses its networking settings when imported on another machine.</title>
		<link>http://feedproxy.google.com/~r/rajatpandit/connectingthedots/~3/z2r2xNnBGKE/</link>
		<comments>http://blog.rajatpandit.com/2009/07/08/jeos-running-on-virtualbox-looses-its-networking-settings-when-imported-on-another-machine/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 22:30:58 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[export]]></category>
		<category><![CDATA[import]]></category>
		<category><![CDATA[JeOS]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[service]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=337</guid>
		<description><![CDATA[
JeOS on VirtualBox has been my preferred distro/app for running vm for basic development for a while now, thanks for Brad&#8217;s post and it has worked quite well for me so far. 
One of the problems that I faced when setting up development environments for the team was when we prepared an image and copied [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://blog.rajatpandit.com/wp-content/uploads/2009/07/ubuntu-1280x1024-150x150.png" alt="JeOS" title="JeOS" width="150" height="150" class="alignleft size-thumbnail wp-image-336" /></p>
<p>JeOS on VirtualBox has been my preferred distro/app for running vm for basic development for a while now, thanks for <a href="http://intranation.com/entries/2009/03/development-virtual-machines-os-x-using-vmware-and/">Brad&#8217;s post</a> and it has worked quite well for me so far. </p>
<p>One of the problems that I faced when setting up development environments for the team was when we prepared an image and copied over to a server to run it for other users to use, it would loose all its networking settings. The solution for its fix was as follows:</p>
<pre class="brush: bash;">
#ifconfig -a
</pre>
<p>This will show you all the interfaces, even the ones that dont show up when you run <code>ifconfig</code> by itself. If you can see the <code>eth0</code>.. etc in there then edit the file at <code>/etc/udev/rules.d/70-persistent-net.rules </code></p>
<pre class="brush: bash;">
#sudo vi /etc/udev/rules.d/70-persistent-net.rules
</pre>
<p>remove all the entries in it that were returned by the <code>ifconfig -a</code> command, save and reboot. When the networking service gets started again (actually you could just restart the service &#8216;networking&#8217; rather than rebooting the vm) the interfaces would get configured correctly.<br />
<script type="text/javascript"><!--
google_ad_client = "pub-4254382394977039";
/* 468x60, created 1/25/09 */
google_ad_slot = "5105478585";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script><br />
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
<p>Share:</p>
<p>	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fjeos-running-on-virtualbox-looses-its-networking-settings-when-imported-on-another-machine%2F&amp;title=JeOS%20running%20on%20VirtualBox%20looses%20its%20networking%20settings%20when%20imported%20on%20another%20machine.&amp;bodytext=%0D%0A%0D%0AJeOS%20on%20VirtualBox%20has%20been%20my%20preferred%20distro%2Fapp%20for%20running%20vm%20for%20basic%20development%20for%20a%20while%20now%2C%20thanks%20for%20Brad%27s%20post%20and%20it%20has%20worked%20quite%20well%20for%20me%20so%20far.%20%0D%0A%0D%0AOne%20of%20the%20problems%20that%20I%20faced%20when%20setting%20up%20development%20environm" title="Digg"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fjeos-running-on-virtualbox-looses-its-networking-settings-when-imported-on-another-machine%2F&amp;title=JeOS%20running%20on%20VirtualBox%20looses%20its%20networking%20settings%20when%20imported%20on%20another%20machine.&amp;notes=%0D%0A%0D%0AJeOS%20on%20VirtualBox%20has%20been%20my%20preferred%20distro%2Fapp%20for%20running%20vm%20for%20basic%20development%20for%20a%20while%20now%2C%20thanks%20for%20Brad%27s%20post%20and%20it%20has%20worked%20quite%20well%20for%20me%20so%20far.%20%0D%0A%0D%0AOne%20of%20the%20problems%20that%20I%20faced%20when%20setting%20up%20development%20environm" title="del.icio.us"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fjeos-running-on-virtualbox-looses-its-networking-settings-when-imported-on-another-machine%2F&amp;title=JeOS%20running%20on%20VirtualBox%20looses%20its%20networking%20settings%20when%20imported%20on%20another%20machine.&amp;annotation=%0D%0A%0D%0AJeOS%20on%20VirtualBox%20has%20been%20my%20preferred%20distro%2Fapp%20for%20running%20vm%20for%20basic%20development%20for%20a%20while%20now%2C%20thanks%20for%20Brad%27s%20post%20and%20it%20has%20worked%20quite%20well%20for%20me%20so%20far.%20%0D%0A%0D%0AOne%20of%20the%20problems%20that%20I%20faced%20when%20setting%20up%20development%20environm" title="Google Bookmarks"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fjeos-running-on-virtualbox-looses-its-networking-settings-when-imported-on-another-machine%2F&amp;title=JeOS%20running%20on%20VirtualBox%20looses%20its%20networking%20settings%20when%20imported%20on%20another%20machine." title="Sphinn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fjeos-running-on-virtualbox-looses-its-networking-settings-when-imported-on-another-machine%2F&amp;t=JeOS%20running%20on%20VirtualBox%20looses%20its%20networking%20settings%20when%20imported%20on%20another%20machine." title="Facebook"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fjeos-running-on-virtualbox-looses-its-networking-settings-when-imported-on-another-machine%2F&amp;title=JeOS%20running%20on%20VirtualBox%20looses%20its%20networking%20settings%20when%20imported%20on%20another%20machine." title="Mixx"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fjeos-running-on-virtualbox-looses-its-networking-settings-when-imported-on-another-machine%2F&amp;title=JeOS%20running%20on%20VirtualBox%20looses%20its%20networking%20settings%20when%20imported%20on%20another%20machine.&amp;source=Connecting+the+dots...+Thoughts+on+Web+and+Personal+Development&amp;summary=%0D%0A%0D%0AJeOS%20on%20VirtualBox%20has%20been%20my%20preferred%20distro%2Fapp%20for%20running%20vm%20for%20basic%20development%20for%20a%20while%20now%2C%20thanks%20for%20Brad%27s%20post%20and%20it%20has%20worked%20quite%20well%20for%20me%20so%20far.%20%0D%0A%0D%0AOne%20of%20the%20problems%20that%20I%20faced%20when%20setting%20up%20development%20environm" title="LinkedIn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="Ma.gnolia"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="Ma.gnolia" alt="Ma.gnolia" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fjeos-running-on-virtualbox-looses-its-networking-settings-when-imported-on-another-machine%2F&amp;title=JeOS%20running%20on%20VirtualBox%20looses%20its%20networking%20settings%20when%20imported%20on%20another%20machine." title="StumbleUpon"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="TwitThis"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fjeos-running-on-virtualbox-looses-its-networking-settings-when-imported-on-another-machine%2F&amp;submitHeadline=JeOS%20running%20on%20VirtualBox%20looses%20its%20networking%20settings%20when%20imported%20on%20another%20machine.&amp;submitSummary=%0D%0A%0D%0AJeOS%20on%20VirtualBox%20has%20been%20my%20preferred%20distro%2Fapp%20for%20running%20vm%20for%20basic%20development%20for%20a%20while%20now%2C%20thanks%20for%20Brad%27s%20post%20and%20it%20has%20worked%20quite%20well%20for%20me%20so%20far.%20%0D%0A%0D%0AOne%20of%20the%20problems%20that%20I%20faced%20when%20setting%20up%20development%20environm&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></p>
<p><br/><br/></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=z2r2xNnBGKE:cQM9A2gg4AA:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=z2r2xNnBGKE:cQM9A2gg4AA:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=z2r2xNnBGKE:cQM9A2gg4AA:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=z2r2xNnBGKE:cQM9A2gg4AA:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=z2r2xNnBGKE:cQM9A2gg4AA:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=z2r2xNnBGKE:cQM9A2gg4AA:KwTdNBX3Jqk"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=z2r2xNnBGKE:cQM9A2gg4AA:KwTdNBX3Jqk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2009/07/08/jeos-running-on-virtualbox-looses-its-networking-settings-when-imported-on-another-machine/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.rajatpandit.com/2009/07/08/jeos-running-on-virtualbox-looses-its-networking-settings-when-imported-on-another-machine/</feedburner:origLink></item>
		<item>
		<title>Custom Events in JQuery</title>
		<link>http://feedproxy.google.com/~r/rajatpandit/connectingthedots/~3/Hpr3ErSrPIQ/</link>
		<comments>http://blog.rajatpandit.com/2009/07/08/custom-events-in-jquery/#comments</comments>
		<pubDate>Wed, 08 Jul 2009 10:36:05 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA["custom events"]]></category>
		<category><![CDATA["progressive enhancement"]]></category>
		<category><![CDATA[Javascript]]></category>
		<category><![CDATA[jquery]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=272</guid>
		<description><![CDATA[Its barely been 1 week and I am already missing out the loveliness of YUI and have to work on JQuery, not saying its bad just missing out on the lack of verbosity that JQuery has to offer.
I had to implement custom events on JQuery found this kind of working for what I needed it [...]]]></description>
			<content:encoded><![CDATA[<p>Its barely been 1 week and I am already missing out the loveliness of <a href="http://developer.yahoo.com/yui">YUI</a> and have to work on <a href="http://jquery.com">JQuery</a>, not saying its bad just missing out on the lack of verbosity that <a href="http://jquery.com">JQuery</a> has to offer.</p>
<p>I had to implement custom events on <a href="http://jquery.com">JQuery</a> found this kind of working for what I needed it to do. Not so sure if this was the most ideal way to do it, but would be worth getting your views on it.</p>
<pre class="brush: js;">
$(document).ready(function() {
	$(document).bind('custom-event', doSomething);
	$(document).bind('custom-event', doAnotherthing);

	$('#some_name').click(function() {
		$(document).trigger('custom-event', ['foo1', 'foo2']);
	});

});

function doSomething(e, param1, param2) {
	console.log(arguments);
	console.log('doing something..');
}
function doAnotherthing(e, param1, param2)
{
	console.log(arguments);
	console.log('doing another thing..');
}
</pre>
<p>Share:</p>
<p>	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fcustom-events-in-jquery%2F&amp;title=Custom%20Events%20in%20JQuery&amp;bodytext=Its%20barely%20been%201%20week%20and%20I%20am%20already%20missing%20out%20the%20loveliness%20of%20YUI%20and%20have%20to%20work%20on%20JQuery%2C%20not%20saying%20its%20bad%20just%20missing%20out%20on%20the%20lack%20of%20verbosity%20that%20JQuery%20has%20to%20offer.%0D%0A%0D%0AI%20had%20to%20implement%20custom%20events%20on%20JQuery%20found%20this%20kind" title="Digg"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fcustom-events-in-jquery%2F&amp;title=Custom%20Events%20in%20JQuery&amp;notes=Its%20barely%20been%201%20week%20and%20I%20am%20already%20missing%20out%20the%20loveliness%20of%20YUI%20and%20have%20to%20work%20on%20JQuery%2C%20not%20saying%20its%20bad%20just%20missing%20out%20on%20the%20lack%20of%20verbosity%20that%20JQuery%20has%20to%20offer.%0D%0A%0D%0AI%20had%20to%20implement%20custom%20events%20on%20JQuery%20found%20this%20kind" title="del.icio.us"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fcustom-events-in-jquery%2F&amp;title=Custom%20Events%20in%20JQuery&amp;annotation=Its%20barely%20been%201%20week%20and%20I%20am%20already%20missing%20out%20the%20loveliness%20of%20YUI%20and%20have%20to%20work%20on%20JQuery%2C%20not%20saying%20its%20bad%20just%20missing%20out%20on%20the%20lack%20of%20verbosity%20that%20JQuery%20has%20to%20offer.%0D%0A%0D%0AI%20had%20to%20implement%20custom%20events%20on%20JQuery%20found%20this%20kind" title="Google Bookmarks"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fcustom-events-in-jquery%2F&amp;title=Custom%20Events%20in%20JQuery" title="Sphinn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fcustom-events-in-jquery%2F&amp;t=Custom%20Events%20in%20JQuery" title="Facebook"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fcustom-events-in-jquery%2F&amp;title=Custom%20Events%20in%20JQuery" title="Mixx"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fcustom-events-in-jquery%2F&amp;title=Custom%20Events%20in%20JQuery&amp;source=Connecting+the+dots...+Thoughts+on+Web+and+Personal+Development&amp;summary=Its%20barely%20been%201%20week%20and%20I%20am%20already%20missing%20out%20the%20loveliness%20of%20YUI%20and%20have%20to%20work%20on%20JQuery%2C%20not%20saying%20its%20bad%20just%20missing%20out%20on%20the%20lack%20of%20verbosity%20that%20JQuery%20has%20to%20offer.%0D%0A%0D%0AI%20had%20to%20implement%20custom%20events%20on%20JQuery%20found%20this%20kind" title="LinkedIn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="Ma.gnolia"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="Ma.gnolia" alt="Ma.gnolia" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fcustom-events-in-jquery%2F&amp;title=Custom%20Events%20in%20JQuery" title="StumbleUpon"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="TwitThis"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F07%2F08%2Fcustom-events-in-jquery%2F&amp;submitHeadline=Custom%20Events%20in%20JQuery&amp;submitSummary=Its%20barely%20been%201%20week%20and%20I%20am%20already%20missing%20out%20the%20loveliness%20of%20YUI%20and%20have%20to%20work%20on%20JQuery%2C%20not%20saying%20its%20bad%20just%20missing%20out%20on%20the%20lack%20of%20verbosity%20that%20JQuery%20has%20to%20offer.%0D%0A%0D%0AI%20had%20to%20implement%20custom%20events%20on%20JQuery%20found%20this%20kind&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></p>
<p><br/><br/></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=Hpr3ErSrPIQ:F69esLn6Iks:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=Hpr3ErSrPIQ:F69esLn6Iks:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=Hpr3ErSrPIQ:F69esLn6Iks:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=Hpr3ErSrPIQ:F69esLn6Iks:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=Hpr3ErSrPIQ:F69esLn6Iks:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=Hpr3ErSrPIQ:F69esLn6Iks:KwTdNBX3Jqk"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=Hpr3ErSrPIQ:F69esLn6Iks:KwTdNBX3Jqk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2009/07/08/custom-events-in-jquery/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.rajatpandit.com/2009/07/08/custom-events-in-jquery/</feedburner:origLink></item>
		<item>
		<title>VirtualBox: hosting LAMP Server on the guest OS and making it available to the host</title>
		<link>http://feedproxy.google.com/~r/rajatpandit/connectingthedots/~3/2pKnveKsYQI/</link>
		<comments>http://blog.rajatpandit.com/2009/06/28/virtualbox-hosting-lamp-server-on-the-guest-os-and-making-it-available-to-the-host/#comments</comments>
		<pubDate>Sun, 28 Jun 2009 21:53:34 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[dhcp server]]></category>
		<category><![CDATA[fusion]]></category>
		<category><![CDATA[ip address]]></category>
		<category><![CDATA[ip adress]]></category>
		<category><![CDATA[nat network]]></category>
		<category><![CDATA[network address]]></category>
		<category><![CDATA[network interface]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[private network]]></category>
		<category><![CDATA[servers]]></category>
		<category><![CDATA[subnet]]></category>
		<category><![CDATA[virtual machine]]></category>
		<category><![CDATA[vm]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=267</guid>
		<description><![CDATA[I have been guilty of not reporting my findings at work on this blog  as regularly as I had intend to. This can be attributed to various reasons more notably due to the change in place of work (more on that to come in the next weeks,  need some time to put my [...]]]></description>
			<content:encoded><![CDATA[<p>I have been guilty of not reporting my findings at work on this blog  as regularly as I had intend to. This can be attributed to various reasons more notably due to the change in place of work (more on that to come in the next weeks,  need some time to put my thoughts together on that one).</p>
<p>This week, since I no longer have access to VMWare Fusion (where things just worked out of the box), i had to consider setting up my vms on the one of the popular open source alternatives <a href="http://www.virtualbox.org/">VirtualBox</a>.<br />
<img class="alignnone" style="margin: 10px;" src="http://www.virtualbox.org/attachment/wiki/Screenshots/VirtualBox_OSX_beta_3.png?format=raw" alt="VirtualBox" width="480" height="300" /><br />
Its pretty neat and easy to setup and getting a vm installed and running on it, however the first thing that struck me was that the VM are setup to use <a href="http://en.wikipedia.org/wiki/Network_address_translation">NAT</a> which means that the VM can ping the host and the internet, but cannot be contacted by the outside world, not even the host. This being a great idea in case you need it just to check your emails or surf the internet in a safe manner, turns out to be a limitation is you are like me, interested in hosting your servers on the vm to be used as a dev box.</p>
<p>It turns out that virtual machine receives its network address and configuration on the private network from a DHCP server integrated into VirtualBox. The IP address thus assigned to the virtual machine is usually on a completely different network than the host. As more than one card of a virtual machine can be set up to use NAT, the first card is connected to the private network 10.0.2.0, the second card to the network 10.0.3.0 and so on. If you need to change the guest-assigned IP range for some reason, please refer to the section called “Configuring the address of a NAT network interface”.</p>
<p>Pinging this ip adress from the host doesnt work as its on a different subnet than the host (as its usually the case). The documentation for virtualbox states if you need to access a server on the guest on the host, you would need to setup <a href="http://en.wikipedia.org/wiki/Port_forwarding">Port Forwarding</a> on the host so that the traffic on the host is directed to a port on the vm.</p>
<p>This turns out to be a pretty handy feature, especially since it can be used to protected your server from OS specific exploitable vulnerabilities, as the actual OS hosting the service can not be contacted. Obviously its assumed that in this case the host/guest OS are not the same <img src='http://blog.rajatpandit.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> .</p>
<p>So here&#8217;s my sample setup. I am running a LAMP server on my guest os an image of <a href="https://help.ubuntu.com/community/JeOS">JeOS</a> and for now i am only concerned about accessing the webserver on my host machine and also from other machines on the network (something that you cant do out of the box on VMWare Fusion, though i am sure it can be done on it by one means or the other).</p>
<p>I run the following commands:</p>
<pre class="brush: bash;">
  # VBoxManage setextradata &quot;JeOS&quot; &quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/Protocol&quot; TCP
  # VBoxManage setextradata &quot;JeOS&quot; &quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/GuestPort&quot; 80
  # VBoxManage setextradata &quot;JeOS&quot; &quot;VBoxInternal/Devices/pcnet/0/LUN#0/Config/guesthttp/HostPort&quot; 8080
</pre>
<p>The above example assumes a PCNet virtual network card; if you have configured the guest to use the Intel PRO/1000, replace &#8220;pcnet&#8221; with &#8220;e1000&#8243; in the above commands. Similarly, if you want to configure a different interface instance replace the /0/ with the appropriate index. pcnet and e1000 are counted separately in this respect, and counting starts at 0 for both types.</p>
<p>The name guesthttp is an arbitrary one chosen for this particular forwarding configuration. With that configuration in place, all TCP connections to port 8080 on the host will be forwarded to port 80 on the guest. Protocol can be either of TCP or UDP (these are case insensitive). To remove a mapping again, use the same commands, but leaving out the values (in this case TCP, 80 and 8080).</p>
<p>It is not possible to configure incoming NAT connections while the VM is running. However you can change the settings for a VM which is currently saved (or powered off at a snapshot).</p>
<p>Share:</p>
<p>	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F28%2Fvirtualbox-hosting-lamp-server-on-the-guest-os-and-making-it-available-to-the-host%2F&amp;title=VirtualBox%3A%20hosting%20LAMP%20Server%20on%20the%20guest%20OS%20and%20making%20it%20available%20to%20the%20host&amp;bodytext=I%20have%20been%20guilty%20of%20not%20reporting%20my%20findings%20at%20work%20on%20this%20blog%20%20as%20regularly%20as%20I%20had%20intend%20to.%20This%20can%20be%20attributed%20to%20various%20reasons%20more%20notably%20due%20to%20the%20change%20in%20place%20of%20work%20%28more%20on%20that%20to%20come%20in%20the%20next%20weeks%2C%20%20need%20some%20time%20" title="Digg"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F28%2Fvirtualbox-hosting-lamp-server-on-the-guest-os-and-making-it-available-to-the-host%2F&amp;title=VirtualBox%3A%20hosting%20LAMP%20Server%20on%20the%20guest%20OS%20and%20making%20it%20available%20to%20the%20host&amp;notes=I%20have%20been%20guilty%20of%20not%20reporting%20my%20findings%20at%20work%20on%20this%20blog%20%20as%20regularly%20as%20I%20had%20intend%20to.%20This%20can%20be%20attributed%20to%20various%20reasons%20more%20notably%20due%20to%20the%20change%20in%20place%20of%20work%20%28more%20on%20that%20to%20come%20in%20the%20next%20weeks%2C%20%20need%20some%20time%20" title="del.icio.us"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F28%2Fvirtualbox-hosting-lamp-server-on-the-guest-os-and-making-it-available-to-the-host%2F&amp;title=VirtualBox%3A%20hosting%20LAMP%20Server%20on%20the%20guest%20OS%20and%20making%20it%20available%20to%20the%20host&amp;annotation=I%20have%20been%20guilty%20of%20not%20reporting%20my%20findings%20at%20work%20on%20this%20blog%20%20as%20regularly%20as%20I%20had%20intend%20to.%20This%20can%20be%20attributed%20to%20various%20reasons%20more%20notably%20due%20to%20the%20change%20in%20place%20of%20work%20%28more%20on%20that%20to%20come%20in%20the%20next%20weeks%2C%20%20need%20some%20time%20" title="Google Bookmarks"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F28%2Fvirtualbox-hosting-lamp-server-on-the-guest-os-and-making-it-available-to-the-host%2F&amp;title=VirtualBox%3A%20hosting%20LAMP%20Server%20on%20the%20guest%20OS%20and%20making%20it%20available%20to%20the%20host" title="Sphinn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F28%2Fvirtualbox-hosting-lamp-server-on-the-guest-os-and-making-it-available-to-the-host%2F&amp;t=VirtualBox%3A%20hosting%20LAMP%20Server%20on%20the%20guest%20OS%20and%20making%20it%20available%20to%20the%20host" title="Facebook"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F28%2Fvirtualbox-hosting-lamp-server-on-the-guest-os-and-making-it-available-to-the-host%2F&amp;title=VirtualBox%3A%20hosting%20LAMP%20Server%20on%20the%20guest%20OS%20and%20making%20it%20available%20to%20the%20host" title="Mixx"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F28%2Fvirtualbox-hosting-lamp-server-on-the-guest-os-and-making-it-available-to-the-host%2F&amp;title=VirtualBox%3A%20hosting%20LAMP%20Server%20on%20the%20guest%20OS%20and%20making%20it%20available%20to%20the%20host&amp;source=Connecting+the+dots...+Thoughts+on+Web+and+Personal+Development&amp;summary=I%20have%20been%20guilty%20of%20not%20reporting%20my%20findings%20at%20work%20on%20this%20blog%20%20as%20regularly%20as%20I%20had%20intend%20to.%20This%20can%20be%20attributed%20to%20various%20reasons%20more%20notably%20due%20to%20the%20change%20in%20place%20of%20work%20%28more%20on%20that%20to%20come%20in%20the%20next%20weeks%2C%20%20need%20some%20time%20" title="LinkedIn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="Ma.gnolia"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="Ma.gnolia" alt="Ma.gnolia" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F28%2Fvirtualbox-hosting-lamp-server-on-the-guest-os-and-making-it-available-to-the-host%2F&amp;title=VirtualBox%3A%20hosting%20LAMP%20Server%20on%20the%20guest%20OS%20and%20making%20it%20available%20to%20the%20host" title="StumbleUpon"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="TwitThis"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F28%2Fvirtualbox-hosting-lamp-server-on-the-guest-os-and-making-it-available-to-the-host%2F&amp;submitHeadline=VirtualBox%3A%20hosting%20LAMP%20Server%20on%20the%20guest%20OS%20and%20making%20it%20available%20to%20the%20host&amp;submitSummary=I%20have%20been%20guilty%20of%20not%20reporting%20my%20findings%20at%20work%20on%20this%20blog%20%20as%20regularly%20as%20I%20had%20intend%20to.%20This%20can%20be%20attributed%20to%20various%20reasons%20more%20notably%20due%20to%20the%20change%20in%20place%20of%20work%20%28more%20on%20that%20to%20come%20in%20the%20next%20weeks%2C%20%20need%20some%20time%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></p>
<p><br/><br/></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=2pKnveKsYQI:RrsQdnlseKE:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=2pKnveKsYQI:RrsQdnlseKE:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=2pKnveKsYQI:RrsQdnlseKE:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=2pKnveKsYQI:RrsQdnlseKE:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=2pKnveKsYQI:RrsQdnlseKE:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=2pKnveKsYQI:RrsQdnlseKE:KwTdNBX3Jqk"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=2pKnveKsYQI:RrsQdnlseKE:KwTdNBX3Jqk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2009/06/28/virtualbox-hosting-lamp-server-on-the-guest-os-and-making-it-available-to-the-host/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.rajatpandit.com/2009/06/28/virtualbox-hosting-lamp-server-on-the-guest-os-and-making-it-available-to-the-host/</feedburner:origLink></item>
		<item>
		<title>Disable textmate from creating ._* files over the network</title>
		<link>http://feedproxy.google.com/~r/rajatpandit/connectingthedots/~3/vjhVAOHgFOM/</link>
		<comments>http://blog.rajatpandit.com/2009/06/11/disable-textmate-from-creating-_-files-over-the-network/#comments</comments>
		<pubDate>Thu, 11 Jun 2009 21:59:04 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[._]]></category>
		<category><![CDATA[Add new tag]]></category>
		<category><![CDATA[sshfs]]></category>
		<category><![CDATA[textmate]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=263</guid>
		<description><![CDATA[I have this problem every so often when I setup a new work env, this time is running a vm and accessing the share via sshfs.

defaults write com.macromates.textmate OakDocumentDisableFSMetaData 1

Share:
	
	
	
	
	
	
	
	
	
	
	

]]></description>
			<content:encoded><![CDATA[<p>I have this problem every so often when I setup a new work env, this time is running a vm and accessing the share via sshfs.</p>
<pre class="brush: bash;">
defaults write com.macromates.textmate OakDocumentDisableFSMetaData 1
</pre>
<p>Share:</p>
<p>	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F11%2Fdisable-textmate-from-creating-_-files-over-the-network%2F&amp;title=Disable%20textmate%20from%20creating%20._%2A%20files%20over%20the%20network&amp;bodytext=I%20have%20this%20problem%20every%20so%20often%20when%20I%20setup%20a%20new%20work%20env%2C%20this%20time%20is%20running%20a%20vm%20and%20accessing%20the%20share%20via%20sshfs.%0D%0A%0D%0A%5Bbash%5D%0D%0Adefaults%20write%20com.macromates.textmate%20OakDocumentDisableFSMetaData%201%0D%0A%5B%2Fbash%5D" title="Digg"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F11%2Fdisable-textmate-from-creating-_-files-over-the-network%2F&amp;title=Disable%20textmate%20from%20creating%20._%2A%20files%20over%20the%20network&amp;notes=I%20have%20this%20problem%20every%20so%20often%20when%20I%20setup%20a%20new%20work%20env%2C%20this%20time%20is%20running%20a%20vm%20and%20accessing%20the%20share%20via%20sshfs.%0D%0A%0D%0A%5Bbash%5D%0D%0Adefaults%20write%20com.macromates.textmate%20OakDocumentDisableFSMetaData%201%0D%0A%5B%2Fbash%5D" title="del.icio.us"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F11%2Fdisable-textmate-from-creating-_-files-over-the-network%2F&amp;title=Disable%20textmate%20from%20creating%20._%2A%20files%20over%20the%20network&amp;annotation=I%20have%20this%20problem%20every%20so%20often%20when%20I%20setup%20a%20new%20work%20env%2C%20this%20time%20is%20running%20a%20vm%20and%20accessing%20the%20share%20via%20sshfs.%0D%0A%0D%0A%5Bbash%5D%0D%0Adefaults%20write%20com.macromates.textmate%20OakDocumentDisableFSMetaData%201%0D%0A%5B%2Fbash%5D" title="Google Bookmarks"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F11%2Fdisable-textmate-from-creating-_-files-over-the-network%2F&amp;title=Disable%20textmate%20from%20creating%20._%2A%20files%20over%20the%20network" title="Sphinn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F11%2Fdisable-textmate-from-creating-_-files-over-the-network%2F&amp;t=Disable%20textmate%20from%20creating%20._%2A%20files%20over%20the%20network" title="Facebook"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F11%2Fdisable-textmate-from-creating-_-files-over-the-network%2F&amp;title=Disable%20textmate%20from%20creating%20._%2A%20files%20over%20the%20network" title="Mixx"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F11%2Fdisable-textmate-from-creating-_-files-over-the-network%2F&amp;title=Disable%20textmate%20from%20creating%20._%2A%20files%20over%20the%20network&amp;source=Connecting+the+dots...+Thoughts+on+Web+and+Personal+Development&amp;summary=I%20have%20this%20problem%20every%20so%20often%20when%20I%20setup%20a%20new%20work%20env%2C%20this%20time%20is%20running%20a%20vm%20and%20accessing%20the%20share%20via%20sshfs.%0D%0A%0D%0A%5Bbash%5D%0D%0Adefaults%20write%20com.macromates.textmate%20OakDocumentDisableFSMetaData%201%0D%0A%5B%2Fbash%5D" title="LinkedIn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="Ma.gnolia"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="Ma.gnolia" alt="Ma.gnolia" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F11%2Fdisable-textmate-from-creating-_-files-over-the-network%2F&amp;title=Disable%20textmate%20from%20creating%20._%2A%20files%20over%20the%20network" title="StumbleUpon"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="TwitThis"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F06%2F11%2Fdisable-textmate-from-creating-_-files-over-the-network%2F&amp;submitHeadline=Disable%20textmate%20from%20creating%20._%2A%20files%20over%20the%20network&amp;submitSummary=I%20have%20this%20problem%20every%20so%20often%20when%20I%20setup%20a%20new%20work%20env%2C%20this%20time%20is%20running%20a%20vm%20and%20accessing%20the%20share%20via%20sshfs.%0D%0A%0D%0A%5Bbash%5D%0D%0Adefaults%20write%20com.macromates.textmate%20OakDocumentDisableFSMetaData%201%0D%0A%5B%2Fbash%5D&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></p>
<p><br/><br/></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=vjhVAOHgFOM:r3lF4VuLu-w:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=vjhVAOHgFOM:r3lF4VuLu-w:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=vjhVAOHgFOM:r3lF4VuLu-w:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=vjhVAOHgFOM:r3lF4VuLu-w:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=vjhVAOHgFOM:r3lF4VuLu-w:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=vjhVAOHgFOM:r3lF4VuLu-w:KwTdNBX3Jqk"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=vjhVAOHgFOM:r3lF4VuLu-w:KwTdNBX3Jqk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2009/06/11/disable-textmate-from-creating-_-files-over-the-network/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.rajatpandit.com/2009/06/11/disable-textmate-from-creating-_-files-over-the-network/</feedburner:origLink></item>
		<item>
		<title>Setting hostname on Leopard permanently</title>
		<link>http://feedproxy.google.com/~r/rajatpandit/connectingthedots/~3/V67Ckph8Gzg/</link>
		<comments>http://blog.rajatpandit.com/2009/05/04/setting-hostname-on-leopard-permanently/#comments</comments>
		<pubDate>Mon, 04 May 2009 16:24:25 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[dns server]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[naming convention]]></category>
		<category><![CDATA[sudo]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=261</guid>
		<description><![CDATA[One of the annoying things about Leopard is that it keeps changing the hosting to whatever the DNS server dishes out and in my case its something like 12-32-145-23.config, not the most pretty/useful naming convention.
Also means that it looks really ugly on the terminal. So here are the commands to reset it permanently so that [...]]]></description>
			<content:encoded><![CDATA[<p>One of the annoying things about Leopard is that it keeps changing the hosting to whatever the DNS server dishes out and in my case its something like 12-32-145-23.config, not the most pretty/useful naming convention.</p>
<p>Also means that it looks really ugly on the terminal. So here are the commands to reset it permanently so that it doesn&#8217;t change again after a reboot.</p>
<pre class="brush: bash;">
$ sudo hostname foobox.local
$ sudo scutil --set HostName foobox.local
$ sudo scutil --set LocalHostName foobox
</pre>
<p>Share:</p>
<p>	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F05%2F04%2Fsetting-hostname-on-leopard-permanently%2F&amp;title=Setting%20hostname%20on%20Leopard%20permanently%20&amp;bodytext=One%20of%20the%20annoying%20things%20about%20Leopard%20is%20that%20it%20keeps%20changing%20the%20hosting%20to%20whatever%20the%20DNS%20server%20dishes%20out%20and%20in%20my%20case%20its%20something%20like%2012-32-145-23.config%2C%20not%20the%20most%20pretty%2Fuseful%20naming%20convention.%0D%0A%0D%0AAlso%20means%20that%20it%20looks%20real" title="Digg"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F05%2F04%2Fsetting-hostname-on-leopard-permanently%2F&amp;title=Setting%20hostname%20on%20Leopard%20permanently%20&amp;notes=One%20of%20the%20annoying%20things%20about%20Leopard%20is%20that%20it%20keeps%20changing%20the%20hosting%20to%20whatever%20the%20DNS%20server%20dishes%20out%20and%20in%20my%20case%20its%20something%20like%2012-32-145-23.config%2C%20not%20the%20most%20pretty%2Fuseful%20naming%20convention.%0D%0A%0D%0AAlso%20means%20that%20it%20looks%20real" title="del.icio.us"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F05%2F04%2Fsetting-hostname-on-leopard-permanently%2F&amp;title=Setting%20hostname%20on%20Leopard%20permanently%20&amp;annotation=One%20of%20the%20annoying%20things%20about%20Leopard%20is%20that%20it%20keeps%20changing%20the%20hosting%20to%20whatever%20the%20DNS%20server%20dishes%20out%20and%20in%20my%20case%20its%20something%20like%2012-32-145-23.config%2C%20not%20the%20most%20pretty%2Fuseful%20naming%20convention.%0D%0A%0D%0AAlso%20means%20that%20it%20looks%20real" title="Google Bookmarks"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F05%2F04%2Fsetting-hostname-on-leopard-permanently%2F&amp;title=Setting%20hostname%20on%20Leopard%20permanently%20" title="Sphinn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F05%2F04%2Fsetting-hostname-on-leopard-permanently%2F&amp;t=Setting%20hostname%20on%20Leopard%20permanently%20" title="Facebook"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F05%2F04%2Fsetting-hostname-on-leopard-permanently%2F&amp;title=Setting%20hostname%20on%20Leopard%20permanently%20" title="Mixx"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F05%2F04%2Fsetting-hostname-on-leopard-permanently%2F&amp;title=Setting%20hostname%20on%20Leopard%20permanently%20&amp;source=Connecting+the+dots...+Thoughts+on+Web+and+Personal+Development&amp;summary=One%20of%20the%20annoying%20things%20about%20Leopard%20is%20that%20it%20keeps%20changing%20the%20hosting%20to%20whatever%20the%20DNS%20server%20dishes%20out%20and%20in%20my%20case%20its%20something%20like%2012-32-145-23.config%2C%20not%20the%20most%20pretty%2Fuseful%20naming%20convention.%0D%0A%0D%0AAlso%20means%20that%20it%20looks%20real" title="LinkedIn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="Ma.gnolia"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="Ma.gnolia" alt="Ma.gnolia" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F05%2F04%2Fsetting-hostname-on-leopard-permanently%2F&amp;title=Setting%20hostname%20on%20Leopard%20permanently%20" title="StumbleUpon"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="TwitThis"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F05%2F04%2Fsetting-hostname-on-leopard-permanently%2F&amp;submitHeadline=Setting%20hostname%20on%20Leopard%20permanently%20&amp;submitSummary=One%20of%20the%20annoying%20things%20about%20Leopard%20is%20that%20it%20keeps%20changing%20the%20hosting%20to%20whatever%20the%20DNS%20server%20dishes%20out%20and%20in%20my%20case%20its%20something%20like%2012-32-145-23.config%2C%20not%20the%20most%20pretty%2Fuseful%20naming%20convention.%0D%0A%0D%0AAlso%20means%20that%20it%20looks%20real&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></p>
<p><br/><br/></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=V67Ckph8Gzg:u5Sb_jD7iMQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=V67Ckph8Gzg:u5Sb_jD7iMQ:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=V67Ckph8Gzg:u5Sb_jD7iMQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=V67Ckph8Gzg:u5Sb_jD7iMQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=V67Ckph8Gzg:u5Sb_jD7iMQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=V67Ckph8Gzg:u5Sb_jD7iMQ:KwTdNBX3Jqk"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=V67Ckph8Gzg:u5Sb_jD7iMQ:KwTdNBX3Jqk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2009/05/04/setting-hostname-on-leopard-permanently/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.rajatpandit.com/2009/05/04/setting-hostname-on-leopard-permanently/</feedburner:origLink></item>
		<item>
		<title>Writing a Criteria statement for the IN Operator</title>
		<link>http://feedproxy.google.com/~r/rajatpandit/connectingthedots/~3/gdhzPbS1AEw/</link>
		<comments>http://blog.rajatpandit.com/2009/04/16/writing-a-criteria-statement-for-the-in-operator/#comments</comments>
		<pubDate>Thu, 16 Apr 2009 23:20:51 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[array]]></category>
		<category><![CDATA[criteria]]></category>
		<category><![CDATA[propel]]></category>
		<category><![CDATA[sql statement]]></category>
		<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=256</guid>
		<description><![CDATA[This is going to be a quick post as I needed to write this done as its quite useful for anyone who either doesnt like or doesnt understand how the complex criteria objects work.
If you want to write code for a criteria object for the SQL statement which is something like this.

SELECT field1, field2 from [...]]]></description>
			<content:encoded><![CDATA[<p>This is going to be a quick post as I needed to write this done as its quite useful for anyone who either doesnt like or doesnt understand how the complex criteria objects work.</p>
<p>If you want to write code for a criteria object for the SQL statement which is something like this.</p>
<pre class="brush: sql;">
SELECT field1, field2 from table1 where field1 in (5,30,23)
</pre>
<p>The corresponding <code>PHP</code> for that would be as follows</p>
<pre class="brush: php;">
$values = array(5,30,23);
$criteria_for_select = new Criteria();
$c = new Criteria();
$criteria_for_select = $c-&gt;getNewCriterion(table1::field1, $values, Criteria::IN);
</pre>
<p>That&#8217;s pretty much it, now this criteria object <code>$criteria_for_select</code> can now be used in your <code>doSelectXXX</code> calls.</p>
<p>Another really cool app that automates the task of writing criteria object is availabile here.<br />
<a href="http://propel.jondh.me.uk/">http://propel.jondh.me.uk/</a></p>
<p>The cool thing about this utility is you drop in your selection condition and it will write the code for the criteria object for you, now that&#8217;s really cool.</p>
<p>Share:</p>
<p>	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F16%2Fwriting-a-criteria-statement-for-the-in-operator%2F&amp;title=Writing%20a%20Criteria%20statement%20for%20the%20IN%20Operator&amp;bodytext=This%20is%20going%20to%20be%20a%20quick%20post%20as%20I%20needed%20to%20write%20this%20done%20as%20its%20quite%20useful%20for%20anyone%20who%20either%20doesnt%20like%20or%20doesnt%20understand%20how%20the%20complex%20criteria%20objects%20work.%0D%0A%0D%0AIf%20you%20want%20to%20write%20code%20for%20a%20criteria%20object%20for%20the%20SQL%20statement" title="Digg"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F16%2Fwriting-a-criteria-statement-for-the-in-operator%2F&amp;title=Writing%20a%20Criteria%20statement%20for%20the%20IN%20Operator&amp;notes=This%20is%20going%20to%20be%20a%20quick%20post%20as%20I%20needed%20to%20write%20this%20done%20as%20its%20quite%20useful%20for%20anyone%20who%20either%20doesnt%20like%20or%20doesnt%20understand%20how%20the%20complex%20criteria%20objects%20work.%0D%0A%0D%0AIf%20you%20want%20to%20write%20code%20for%20a%20criteria%20object%20for%20the%20SQL%20statement" title="del.icio.us"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F16%2Fwriting-a-criteria-statement-for-the-in-operator%2F&amp;title=Writing%20a%20Criteria%20statement%20for%20the%20IN%20Operator&amp;annotation=This%20is%20going%20to%20be%20a%20quick%20post%20as%20I%20needed%20to%20write%20this%20done%20as%20its%20quite%20useful%20for%20anyone%20who%20either%20doesnt%20like%20or%20doesnt%20understand%20how%20the%20complex%20criteria%20objects%20work.%0D%0A%0D%0AIf%20you%20want%20to%20write%20code%20for%20a%20criteria%20object%20for%20the%20SQL%20statement" title="Google Bookmarks"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F16%2Fwriting-a-criteria-statement-for-the-in-operator%2F&amp;title=Writing%20a%20Criteria%20statement%20for%20the%20IN%20Operator" title="Sphinn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F16%2Fwriting-a-criteria-statement-for-the-in-operator%2F&amp;t=Writing%20a%20Criteria%20statement%20for%20the%20IN%20Operator" title="Facebook"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F16%2Fwriting-a-criteria-statement-for-the-in-operator%2F&amp;title=Writing%20a%20Criteria%20statement%20for%20the%20IN%20Operator" title="Mixx"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F16%2Fwriting-a-criteria-statement-for-the-in-operator%2F&amp;title=Writing%20a%20Criteria%20statement%20for%20the%20IN%20Operator&amp;source=Connecting+the+dots...+Thoughts+on+Web+and+Personal+Development&amp;summary=This%20is%20going%20to%20be%20a%20quick%20post%20as%20I%20needed%20to%20write%20this%20done%20as%20its%20quite%20useful%20for%20anyone%20who%20either%20doesnt%20like%20or%20doesnt%20understand%20how%20the%20complex%20criteria%20objects%20work.%0D%0A%0D%0AIf%20you%20want%20to%20write%20code%20for%20a%20criteria%20object%20for%20the%20SQL%20statement" title="LinkedIn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="Ma.gnolia"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="Ma.gnolia" alt="Ma.gnolia" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F16%2Fwriting-a-criteria-statement-for-the-in-operator%2F&amp;title=Writing%20a%20Criteria%20statement%20for%20the%20IN%20Operator" title="StumbleUpon"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="TwitThis"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F16%2Fwriting-a-criteria-statement-for-the-in-operator%2F&amp;submitHeadline=Writing%20a%20Criteria%20statement%20for%20the%20IN%20Operator&amp;submitSummary=This%20is%20going%20to%20be%20a%20quick%20post%20as%20I%20needed%20to%20write%20this%20done%20as%20its%20quite%20useful%20for%20anyone%20who%20either%20doesnt%20like%20or%20doesnt%20understand%20how%20the%20complex%20criteria%20objects%20work.%0D%0A%0D%0AIf%20you%20want%20to%20write%20code%20for%20a%20criteria%20object%20for%20the%20SQL%20statement&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></p>
<p><br/><br/></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=gdhzPbS1AEw:kalLWi00lIQ:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=gdhzPbS1AEw:kalLWi00lIQ:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=gdhzPbS1AEw:kalLWi00lIQ:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=gdhzPbS1AEw:kalLWi00lIQ:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=gdhzPbS1AEw:kalLWi00lIQ:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=gdhzPbS1AEw:kalLWi00lIQ:KwTdNBX3Jqk"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=gdhzPbS1AEw:kalLWi00lIQ:KwTdNBX3Jqk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2009/04/16/writing-a-criteria-statement-for-the-in-operator/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.rajatpandit.com/2009/04/16/writing-a-criteria-statement-for-the-in-operator/</feedburner:origLink></item>
		<item>
		<title>IE6 and Webdevelopers</title>
		<link>http://feedproxy.google.com/~r/rajatpandit/connectingthedots/~3/VLectQfDCg8/</link>
		<comments>http://blog.rajatpandit.com/2009/04/06/ie6-and-webdevelopers/#comments</comments>
		<pubDate>Mon, 06 Apr 2009 10:30:51 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[developers]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=253</guid>
		<description><![CDATA[I havent been posting for a while and I guess I should be doing that a little more often, however in the meantime I found this post really funny. An IE6 voodo doll. This goes how out to show the extent to which developers hate IE6 and frankly I dont blame them for that.

Link: http://www.chigarden.com/2007/10/tutorial-making-the-ie-voodoo-doll/
Share:
	
	
	
	
	
	
	
	
	
	
	

]]></description>
			<content:encoded><![CDATA[<p>I havent been posting for a while and I guess I should be doing that a little more often, however in the meantime I found this post really funny. An IE6 voodo doll. This goes how out to show the extent to which developers hate IE6 and frankly I dont blame them for that.<br />
<img src="http://farm2.static.flickr.com/1285/1349759901_0d2249c88c.jpg?v=0" alt="IE6 Voodo Doll." width="350" height="278" /><br />
Link: <a href="http://www.chigarden.com/2007/10/tutorial-making-the-ie-voodoo-doll/">http://www.chigarden.com/2007/10/tutorial-making-the-ie-voodoo-doll/</a></p>
<p>Share:</p>
<p>	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F06%2Fie6-and-webdevelopers%2F&amp;title=IE6%20and%20Webdevelopers&amp;bodytext=I%20havent%20been%20posting%20for%20a%20while%20and%20I%20guess%20I%20should%20be%20doing%20that%20a%20little%20more%20often%2C%20however%20in%20the%20meantime%20I%20found%20this%20post%20really%20funny.%20An%20IE6%20voodo%20doll.%20This%20goes%20how%20out%20to%20show%20the%20extent%20to%20which%20developers%20hate%20IE6%20and%20frankly%20I%20dont%20" title="Digg"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F06%2Fie6-and-webdevelopers%2F&amp;title=IE6%20and%20Webdevelopers&amp;notes=I%20havent%20been%20posting%20for%20a%20while%20and%20I%20guess%20I%20should%20be%20doing%20that%20a%20little%20more%20often%2C%20however%20in%20the%20meantime%20I%20found%20this%20post%20really%20funny.%20An%20IE6%20voodo%20doll.%20This%20goes%20how%20out%20to%20show%20the%20extent%20to%20which%20developers%20hate%20IE6%20and%20frankly%20I%20dont%20" title="del.icio.us"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F06%2Fie6-and-webdevelopers%2F&amp;title=IE6%20and%20Webdevelopers&amp;annotation=I%20havent%20been%20posting%20for%20a%20while%20and%20I%20guess%20I%20should%20be%20doing%20that%20a%20little%20more%20often%2C%20however%20in%20the%20meantime%20I%20found%20this%20post%20really%20funny.%20An%20IE6%20voodo%20doll.%20This%20goes%20how%20out%20to%20show%20the%20extent%20to%20which%20developers%20hate%20IE6%20and%20frankly%20I%20dont%20" title="Google Bookmarks"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F06%2Fie6-and-webdevelopers%2F&amp;title=IE6%20and%20Webdevelopers" title="Sphinn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F06%2Fie6-and-webdevelopers%2F&amp;t=IE6%20and%20Webdevelopers" title="Facebook"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F06%2Fie6-and-webdevelopers%2F&amp;title=IE6%20and%20Webdevelopers" title="Mixx"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F06%2Fie6-and-webdevelopers%2F&amp;title=IE6%20and%20Webdevelopers&amp;source=Connecting+the+dots...+Thoughts+on+Web+and+Personal+Development&amp;summary=I%20havent%20been%20posting%20for%20a%20while%20and%20I%20guess%20I%20should%20be%20doing%20that%20a%20little%20more%20often%2C%20however%20in%20the%20meantime%20I%20found%20this%20post%20really%20funny.%20An%20IE6%20voodo%20doll.%20This%20goes%20how%20out%20to%20show%20the%20extent%20to%20which%20developers%20hate%20IE6%20and%20frankly%20I%20dont%20" title="LinkedIn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="Ma.gnolia"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="Ma.gnolia" alt="Ma.gnolia" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F06%2Fie6-and-webdevelopers%2F&amp;title=IE6%20and%20Webdevelopers" title="StumbleUpon"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="TwitThis"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F04%2F06%2Fie6-and-webdevelopers%2F&amp;submitHeadline=IE6%20and%20Webdevelopers&amp;submitSummary=I%20havent%20been%20posting%20for%20a%20while%20and%20I%20guess%20I%20should%20be%20doing%20that%20a%20little%20more%20often%2C%20however%20in%20the%20meantime%20I%20found%20this%20post%20really%20funny.%20An%20IE6%20voodo%20doll.%20This%20goes%20how%20out%20to%20show%20the%20extent%20to%20which%20developers%20hate%20IE6%20and%20frankly%20I%20dont%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></p>
<p><br/><br/></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=VLectQfDCg8:XI8iCvJVQxM:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=VLectQfDCg8:XI8iCvJVQxM:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=VLectQfDCg8:XI8iCvJVQxM:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=VLectQfDCg8:XI8iCvJVQxM:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=VLectQfDCg8:XI8iCvJVQxM:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=VLectQfDCg8:XI8iCvJVQxM:KwTdNBX3Jqk"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=VLectQfDCg8:XI8iCvJVQxM:KwTdNBX3Jqk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2009/04/06/ie6-and-webdevelopers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://blog.rajatpandit.com/2009/04/06/ie6-and-webdevelopers/</feedburner:origLink></item>
		<item>
		<title>Enabling HTTPS support in curl installed through MacPorts on OSX</title>
		<link>http://feedproxy.google.com/~r/rajatpandit/connectingthedots/~3/kO1NSlt_Gnk/</link>
		<comments>http://blog.rajatpandit.com/2009/03/31/enabling-https-support-in-curl-installed-through-macports-on-osx/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 22:27:40 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Clean]]></category>
		<category><![CDATA[dependencies]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[protocol]]></category>
		<category><![CDATA[variants]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=250</guid>
		<description><![CDATA[While doing development just noticed that if you have installed php with curl support using macports it does&#8217;nt install ssl support in curl by default which is quite frustrating. Especially I just spent 30mins of my life trying to debugging what had gone wrong.
This is what you would get if you have a similar problem:

% [...]]]></description>
			<content:encoded><![CDATA[<p>While doing development just noticed that if you have installed php with curl support using macports it does&#8217;nt install ssl support in curl by default which is quite frustrating. Especially I just spent 30mins of my life trying to debugging what had gone wrong.</p>
<p>This is what you would get if you have a similar problem:</p>
<pre class="brush: bash;">
% curl -k https://www.yahoo.com
curl: (1) Protocol https not supported or disabled in libcurl
</pre>
<p>The problem is that you would usually have something that depends on curl so you cant install the version of curl with its variant straightaway, so you will first need to remove the dependent first, then remove curl and clean up the install and then finally install curl with its ssl variant followed by its dependents.</p>
<p>The steps are something like this:</p>
<pre class="brush: bash;">
busybox:web rp$ sudo port uninstall curl @7.19.3_0 curl @7.19.3_0+ssl
---&gt;  Unable to uninstall curl 7.19.3_0, the following ports depend on it:
---&gt;  	php5
Error: port uninstall failed: Please uninstall the ports that depend on curl first.
busybox:web rp$ sudo port uninstall curl @7.19.3_0 curl @7.19.3_0+ssl
busybox:web rp$ sudo port uninstall php5
---&gt;  Deactivating php5 @5.2.9_0+apache2+macosx+mysql5+pear+sqlite
---&gt;  Uninstalling php5 @5.2.9_0+apache2+macosx+mysql5+pear+sqlite
busybox:web rp$ sudo port uninstall curl @7.19.3_0 curl @7.19.3_0+ssl
---&gt;  Deactivating curl @7.19.3_0
---&gt;  Uninstalling curl @7.19.3_0
---&gt;  Uninstalling curl @7.19.3_0+ssl
busybox:web rp$ sudo port install php5 @5.2.9_0+apache2+macosx+mysql5+pear+sqlite
Error: Requested variants do not match original selection.
Please perform 'port clean curl' or specify the force option.
Error: The following dependencies failed to build: curl
Error: Status 1 encountered during processing.
busybox:web rp$ sudo port clean curl
---&gt;  Cleaning curl
busybox:web rp$ sudo port clean php5
---&gt;  Cleaning php5
busybox:web rp$ sudo port clean php5
---&gt;  Cleaning php5
busybox:web rp$ sudo port clean curl
---&gt;  Cleaning curl
busybox:web rp$ sudo port clean php5
busybox:web rp$ sudo port install curl +ssl
---&gt;  Fetching curl
---&gt;  Verifying checksum(s) for curl
---&gt;  Extracting curl
---&gt;  Configuring curl
---&gt;  Building curl
---&gt;  Staging curl into destroot
---&gt;  Installing curl @7.19.3_0+ssl
---&gt;  Activating curl @7.19.3_0+ssl
---&gt;  Cleaning curl
busybox:web rp$ sudo port install php5 @5.2.9_0+apache2+macosx+mysql5+pear+sqlite
---&gt;  Fetching php5
---&gt;  Verifying checksum(s) for php5
---&gt;  Extracting php5
---&gt;  Applying patches to php5
---&gt;  Configuring php5
---&gt;  Building php5
---&gt;  Staging php5 into destroot
Warning: php5 requests to install files outside the common directory structure!
---&gt;  Installing php5 @5.2.9_0+apache2+macosx+mysql5+pear+sqlite

If this is your first install, you might want
cd /opt/local/apache2/modules
/opt/local/apache2/bin/apxs -a -e -n &quot;php5&quot; libphp5.so

* copy  /opt/local/etc/php.ini-dist to  /opt/local/etc/php.ini
---&gt;  Activating php5 @5.2.9_0+apache2+macosx+mysql5+pear+sqlite
---&gt;  Cleaning php5
</pre>
<p>Share:</p>
<p>	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F31%2Fenabling-https-support-in-curl-installed-through-macports-on-osx%2F&amp;title=Enabling%20HTTPS%20support%20in%20curl%20installed%20through%20MacPorts%20on%20OSX&amp;bodytext=While%20doing%20development%20just%20noticed%20that%20if%20you%20have%20installed%20php%20with%20curl%20support%20using%20macports%20it%20does%27nt%20install%20ssl%20support%20in%20curl%20by%20default%20which%20is%20quite%20frustrating.%20Especially%20I%20just%20spent%2030mins%20of%20my%20life%20trying%20to%20debugging%20what%20had%20" title="Digg"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F31%2Fenabling-https-support-in-curl-installed-through-macports-on-osx%2F&amp;title=Enabling%20HTTPS%20support%20in%20curl%20installed%20through%20MacPorts%20on%20OSX&amp;notes=While%20doing%20development%20just%20noticed%20that%20if%20you%20have%20installed%20php%20with%20curl%20support%20using%20macports%20it%20does%27nt%20install%20ssl%20support%20in%20curl%20by%20default%20which%20is%20quite%20frustrating.%20Especially%20I%20just%20spent%2030mins%20of%20my%20life%20trying%20to%20debugging%20what%20had%20" title="del.icio.us"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F31%2Fenabling-https-support-in-curl-installed-through-macports-on-osx%2F&amp;title=Enabling%20HTTPS%20support%20in%20curl%20installed%20through%20MacPorts%20on%20OSX&amp;annotation=While%20doing%20development%20just%20noticed%20that%20if%20you%20have%20installed%20php%20with%20curl%20support%20using%20macports%20it%20does%27nt%20install%20ssl%20support%20in%20curl%20by%20default%20which%20is%20quite%20frustrating.%20Especially%20I%20just%20spent%2030mins%20of%20my%20life%20trying%20to%20debugging%20what%20had%20" title="Google Bookmarks"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F31%2Fenabling-https-support-in-curl-installed-through-macports-on-osx%2F&amp;title=Enabling%20HTTPS%20support%20in%20curl%20installed%20through%20MacPorts%20on%20OSX" title="Sphinn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F31%2Fenabling-https-support-in-curl-installed-through-macports-on-osx%2F&amp;t=Enabling%20HTTPS%20support%20in%20curl%20installed%20through%20MacPorts%20on%20OSX" title="Facebook"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F31%2Fenabling-https-support-in-curl-installed-through-macports-on-osx%2F&amp;title=Enabling%20HTTPS%20support%20in%20curl%20installed%20through%20MacPorts%20on%20OSX" title="Mixx"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F31%2Fenabling-https-support-in-curl-installed-through-macports-on-osx%2F&amp;title=Enabling%20HTTPS%20support%20in%20curl%20installed%20through%20MacPorts%20on%20OSX&amp;source=Connecting+the+dots...+Thoughts+on+Web+and+Personal+Development&amp;summary=While%20doing%20development%20just%20noticed%20that%20if%20you%20have%20installed%20php%20with%20curl%20support%20using%20macports%20it%20does%27nt%20install%20ssl%20support%20in%20curl%20by%20default%20which%20is%20quite%20frustrating.%20Especially%20I%20just%20spent%2030mins%20of%20my%20life%20trying%20to%20debugging%20what%20had%20" title="LinkedIn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="Ma.gnolia"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="Ma.gnolia" alt="Ma.gnolia" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F31%2Fenabling-https-support-in-curl-installed-through-macports-on-osx%2F&amp;title=Enabling%20HTTPS%20support%20in%20curl%20installed%20through%20MacPorts%20on%20OSX" title="StumbleUpon"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="TwitThis"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F31%2Fenabling-https-support-in-curl-installed-through-macports-on-osx%2F&amp;submitHeadline=Enabling%20HTTPS%20support%20in%20curl%20installed%20through%20MacPorts%20on%20OSX&amp;submitSummary=While%20doing%20development%20just%20noticed%20that%20if%20you%20have%20installed%20php%20with%20curl%20support%20using%20macports%20it%20does%27nt%20install%20ssl%20support%20in%20curl%20by%20default%20which%20is%20quite%20frustrating.%20Especially%20I%20just%20spent%2030mins%20of%20my%20life%20trying%20to%20debugging%20what%20had%20&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></p>
<p><br/><br/></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=kO1NSlt_Gnk:o4Ooiq1Vtic:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=kO1NSlt_Gnk:o4Ooiq1Vtic:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=kO1NSlt_Gnk:o4Ooiq1Vtic:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=kO1NSlt_Gnk:o4Ooiq1Vtic:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=kO1NSlt_Gnk:o4Ooiq1Vtic:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=kO1NSlt_Gnk:o4Ooiq1Vtic:KwTdNBX3Jqk"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=kO1NSlt_Gnk:o4Ooiq1Vtic:KwTdNBX3Jqk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2009/03/31/enabling-https-support-in-curl-installed-through-macports-on-osx/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://blog.rajatpandit.com/2009/03/31/enabling-https-support-in-curl-installed-through-macports-on-osx/</feedburner:origLink></item>
		<item>
		<title>PHP, Mail and OSX Leopard</title>
		<link>http://feedproxy.google.com/~r/rajatpandit/connectingthedots/~3/ZA3R1ozGGtA/</link>
		<comments>http://blog.rajatpandit.com/2009/03/15/php-mail-and-osx-leopard/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 21:16:20 +0000</pubDate>
		<dc:creator>rp</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[hostname]]></category>
		<category><![CDATA[leopard]]></category>
		<category><![CDATA[sendmail path]]></category>

		<guid isPermaLink="false">http://blog.rajatpandit.com/?p=242</guid>
		<description><![CDATA[I have been trying to get my old apps to send emails, but for some wierd reason I couldnt get it working out of the fox. If you have had similar problems, you can try out this.
Step 1: Update the hostconfig file.
Add the following line to /etc/hostconfig
MAILSERVER=-YES-
Step 2: Update variable myhostname in the file /etc/postfix/main.cf
Set [...]]]></description>
			<content:encoded><![CDATA[<p>I have been trying to get my old apps to send emails, but for some wierd reason I couldnt get it working out of the fox. If you have had similar problems, you can try out this.<br />
<strong>Step 1</strong>: Update the hostconfig file.<br />
Add the following line to <code>/etc/hostconfig</code><br />
MAILSERVER=-YES-</p>
<p><strong>Step 2</strong>: Update variable <code>myhostname</code> in the file /etc/postfix/main.cf<br />
Set the variable to your hostname, you might need to uncomment the default value.</p>
<p><strong>Step 3</strong>: Find your php.ini file and update the <code>sendmail_path</code> and make it<br />
<code>/your/path/sendmail -t -i</code></p>
<p>Now open another terminal window and do a tail on the log file to see if you have any further errors.<br />
<code>tail -f /var/log/mail.log</code></p>
<p>You can start the server by running the following command:</p>
<pre class="brush: bash;">
sudo postfix start
</pre>
<p>The above changes worked for me, however you might need to investigate this a little more if you still have trouble.</p>
<p>Share:</p>
<p>	<a rel="nofollow" href="http://digg.com/submit?phase=2&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F15%2Fphp-mail-and-osx-leopard%2F&amp;title=PHP%2C%20Mail%20and%20OSX%20Leopard&amp;bodytext=I%20have%20been%20trying%20to%20get%20my%20old%20apps%20to%20send%20emails%2C%20but%20for%20some%20wierd%20reason%20I%20couldnt%20get%20it%20working%20out%20of%20the%20fox.%20If%20you%20have%20had%20similar%20problems%2C%20you%20can%20try%20out%20this.%0D%0AStep%201%3A%20Update%20the%20hostconfig%20file.%0D%0AAdd%20the%20following%20line%20to%20%2Fetc%2Fhost" title="Digg"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/digg.png" title="Digg" alt="Digg" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://delicious.com/post?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F15%2Fphp-mail-and-osx-leopard%2F&amp;title=PHP%2C%20Mail%20and%20OSX%20Leopard&amp;notes=I%20have%20been%20trying%20to%20get%20my%20old%20apps%20to%20send%20emails%2C%20but%20for%20some%20wierd%20reason%20I%20couldnt%20get%20it%20working%20out%20of%20the%20fox.%20If%20you%20have%20had%20similar%20problems%2C%20you%20can%20try%20out%20this.%0D%0AStep%201%3A%20Update%20the%20hostconfig%20file.%0D%0AAdd%20the%20following%20line%20to%20%2Fetc%2Fhost" title="del.icio.us"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/delicious.png" title="del.icio.us" alt="del.icio.us" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.google.com/bookmarks/mark?op=edit&amp;bkmk=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F15%2Fphp-mail-and-osx-leopard%2F&amp;title=PHP%2C%20Mail%20and%20OSX%20Leopard&amp;annotation=I%20have%20been%20trying%20to%20get%20my%20old%20apps%20to%20send%20emails%2C%20but%20for%20some%20wierd%20reason%20I%20couldnt%20get%20it%20working%20out%20of%20the%20fox.%20If%20you%20have%20had%20similar%20problems%2C%20you%20can%20try%20out%20this.%0D%0AStep%201%3A%20Update%20the%20hostconfig%20file.%0D%0AAdd%20the%20following%20line%20to%20%2Fetc%2Fhost" title="Google Bookmarks"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/googlebookmark.png" title="Google Bookmarks" alt="Google Bookmarks" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://sphinn.com/submit.php?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F15%2Fphp-mail-and-osx-leopard%2F&amp;title=PHP%2C%20Mail%20and%20OSX%20Leopard" title="Sphinn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/sphinn.png" title="Sphinn" alt="Sphinn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.facebook.com/share.php?u=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F15%2Fphp-mail-and-osx-leopard%2F&amp;t=PHP%2C%20Mail%20and%20OSX%20Leopard" title="Facebook"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/facebook.png" title="Facebook" alt="Facebook" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.mixx.com/submit?page_url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F15%2Fphp-mail-and-osx-leopard%2F&amp;title=PHP%2C%20Mail%20and%20OSX%20Leopard" title="Mixx"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/mixx.png" title="Mixx" alt="Mixx" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F15%2Fphp-mail-and-osx-leopard%2F&amp;title=PHP%2C%20Mail%20and%20OSX%20Leopard&amp;source=Connecting+the+dots...+Thoughts+on+Web+and+Personal+Development&amp;summary=I%20have%20been%20trying%20to%20get%20my%20old%20apps%20to%20send%20emails%2C%20but%20for%20some%20wierd%20reason%20I%20couldnt%20get%20it%20working%20out%20of%20the%20fox.%20If%20you%20have%20had%20similar%20problems%2C%20you%20can%20try%20out%20this.%0D%0AStep%201%3A%20Update%20the%20hostconfig%20file.%0D%0AAdd%20the%20following%20line%20to%20%2Fetc%2Fhost" title="LinkedIn"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/linkedin.png" title="LinkedIn" alt="LinkedIn" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="Ma.gnolia"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="Ma.gnolia" alt="Ma.gnolia" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://www.stumbleupon.com/submit?url=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F15%2Fphp-mail-and-osx-leopard%2F&amp;title=PHP%2C%20Mail%20and%20OSX%20Leopard" title="StumbleUpon"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/stumbleupon.png" title="StumbleUpon" alt="StumbleUpon" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="" title="TwitThis"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/" title="TwitThis" alt="TwitThis" class="sociable-hovers" /></a><br />
	<a rel="nofollow" href="http://buzz.yahoo.com/submit/?submitUrl=http%3A%2F%2Fblog.rajatpandit.com%2F2009%2F03%2F15%2Fphp-mail-and-osx-leopard%2F&amp;submitHeadline=PHP%2C%20Mail%20and%20OSX%20Leopard&amp;submitSummary=I%20have%20been%20trying%20to%20get%20my%20old%20apps%20to%20send%20emails%2C%20but%20for%20some%20wierd%20reason%20I%20couldnt%20get%20it%20working%20out%20of%20the%20fox.%20If%20you%20have%20had%20similar%20problems%2C%20you%20can%20try%20out%20this.%0D%0AStep%201%3A%20Update%20the%20hostconfig%20file.%0D%0AAdd%20the%20following%20line%20to%20%2Fetc%2Fhost&amp;submitCategory=science&amp;submitAssetType=text" title="Yahoo! Buzz"><img src="http://blog.rajatpandit.com/wp-content/plugins/sociable/images/yahoobuzz.png" title="Yahoo! Buzz" alt="Yahoo! Buzz" class="sociable-hovers" /></a></p>
<p><br/><br/></p>
<div class="feedflare">
<a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=ZA3R1ozGGtA:q57xYDONjZ8:yIl2AUoC8zA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=yIl2AUoC8zA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=ZA3R1ozGGtA:q57xYDONjZ8:7Q72WNTAKBA"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=7Q72WNTAKBA" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=ZA3R1ozGGtA:q57xYDONjZ8:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=ZA3R1ozGGtA:q57xYDONjZ8:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=ZA3R1ozGGtA:q57xYDONjZ8:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?d=qj6IDK7rITs" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?a=ZA3R1ozGGtA:q57xYDONjZ8:KwTdNBX3Jqk"><img src="http://feeds.feedburner.com/~ff/rajatpandit/connectingthedots?i=ZA3R1ozGGtA:q57xYDONjZ8:KwTdNBX3Jqk" border="0"></img></a>
</div>]]></content:encoded>
			<wfw:commentRss>http://blog.rajatpandit.com/2009/03/15/php-mail-and-osx-leopard/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		<feedburner:origLink>http://blog.rajatpandit.com/2009/03/15/php-mail-and-osx-leopard/</feedburner:origLink></item>
	</channel>
</rss>
