<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Debinaize It</title>
	<atom:link href="http://zaher14.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://zaher14.wordpress.com</link>
	<description>Well, you guessed right! I'm a Debian lover!</description>
	<lastBuildDate>Fri, 16 Jan 2009 15:57:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='zaher14.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Debinaize It</title>
		<link>http://zaher14.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://zaher14.wordpress.com/osd.xml" title="Debinaize It" />
	<atom:link rel='hub' href='http://zaher14.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Tips: Download iPhone SDK with wget</title>
		<link>http://zaher14.wordpress.com/2009/01/16/tips-download-iphone-sdk-with-wget/</link>
		<comments>http://zaher14.wordpress.com/2009/01/16/tips-download-iphone-sdk-with-wget/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 15:57:00 +0000</pubDate>
		<dc:creator>zaher14</dc:creator>
				<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[Scripts]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Xcode]]></category>

		<guid isPermaLink="false">http://zaher14.wordpress.com/2009/01/16/tips-download-iphone-sdk-with-wget/</guid>
		<description><![CDATA[Since its final release, I&#8217;ve been trying to download iPhone&#8217;s SDK from Apple&#8217;s website. The whopping 1.6 GB download seems a pretty daunting task in my unstable line, and some of apple&#8217;s web sites features made it pretty impossible in no time. My download failed three times after 50-70% completion, each time either I have [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=58&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>Since its final release, I&#8217;ve been trying to download iPhone&#8217;s SDK from Apple&#8217;s website. The whopping 1.6 GB download seems a pretty daunting task in my unstable line, and some of apple&#8217;s web sites features made it pretty impossible in no time.</p>
<p>My download failed three times after 50-70% completion, each time either I have manually paused the download for some reason or my connection was having some problem. And apples server did not give me any resume feature in any of the download  managers. Downloading 1.6 GB with Firefox&#8217;s own download manger seemed an option, but what if Firefox crashes?</p>
<p>At last, I thought of giving good ol&#8217; wget a try and it didn&#8217;t fail me. If you are in a similar situation like me, try this.
<ol>
<li>Downlaod &#8216;Export Cookie&#8217; addon for firefox from <a href='https://addons.mozilla.org/en-US/firefox/addon/8154'>here</a></li>
<li>Log into <a href='http://developer.apple.com/iphone/index.action'>iPhone Developer Site</a> using your apple developer account, if you don&#8217;t have one, just register, its free.</li>
<li>Export your cookie using the addon to a file named &#8216;cookies.txt&#8217;</li>
<li>Run this from the command line
<p><code>wget --limit-rate=5k --tries=inf -server-response --continue --load-cookies cookies.txt http://adcdownload.apple.com/iphone/iphone_sdk_for_iphone_os_2.2__9m2621__final/iphone_sdk_for_iphone_os_2.2_9m2621_final.dmg</code></p>
</li>
</ol>
<p>Now you can pause and resume the download at your will. I have used <b>&#8211;limit-rate=5k </b>so that I can also browse without much overhead.</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zaher14.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zaher14.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zaher14.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zaher14.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zaher14.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zaher14.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zaher14.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zaher14.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zaher14.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zaher14.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zaher14.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zaher14.wordpress.com/58/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zaher14.wordpress.com/58/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zaher14.wordpress.com/58/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=58&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zaher14.wordpress.com/2009/01/16/tips-download-iphone-sdk-with-wget/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/96eec6f622848d325f65c4c9e26194de?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zaher14</media:title>
		</media:content>
	</item>
		<item>
		<title>Javascript: Getting Current Window Dimension</title>
		<link>http://zaher14.wordpress.com/2009/01/14/javascript-getting-current-window-dimension/</link>
		<comments>http://zaher14.wordpress.com/2009/01/14/javascript-getting-current-window-dimension/#comments</comments>
		<pubDate>Wed, 14 Jan 2009 13:35:00 +0000</pubDate>
		<dc:creator>zaher14</dc:creator>
				<category><![CDATA[javascript]]></category>
		<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://zaher14.wordpress.com/2009/01/14/javascript-getting-current-window-dimension/</guid>
		<description><![CDATA[Javascript function to get current window height and width. Works with most of the browsers. // function to get the current width of the windowfunction getWidth(){ var x = 0; if (self.innerHeight){ x = self.innerWidth; }else if (document.documentElement &#38;&#38; document.documentElement.clientHeight){ x = document.documentElement.clientWidth; }else if (document.body){ x = document.body.clientWidth; } return x;} // function to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=57&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Javascript function to get current window height and width. Works with most of the browsers.
<pre><code>// function to get the current width of the windowfunction getWidth(){ var x = 0; if (self.innerHeight){     x = self.innerWidth; }else if (document.documentElement &amp;&amp; document.documentElement.clientHeight){     x = document.documentElement.clientWidth; }else if (document.body){     x = document.body.clientWidth; } return x;}

// function to get the current height of the windowfunction getHeight(){ var y = 0; if (self.innerHeight){     y = self.innerHeight; }else if (document.documentElement &amp;&amp; document.documentElement.clientHeight){     y = document.documentElement.clientHeight; }else if (document.body){     y = document.body.clientHeight; } return y;}</code></pre>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zaher14.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zaher14.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zaher14.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zaher14.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zaher14.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zaher14.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zaher14.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zaher14.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zaher14.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zaher14.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zaher14.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zaher14.wordpress.com/57/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zaher14.wordpress.com/57/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zaher14.wordpress.com/57/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=57&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zaher14.wordpress.com/2009/01/14/javascript-getting-current-window-dimension/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/96eec6f622848d325f65c4c9e26194de?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zaher14</media:title>
		</media:content>
	</item>
		<item>
		<title>System Admin: EDGE/GPRS via Bluetooth in Linux Simplified</title>
		<link>http://zaher14.wordpress.com/2008/10/06/system-admin-edgegprs-via-bluetooth-in-linux-simplified/</link>
		<comments>http://zaher14.wordpress.com/2008/10/06/system-admin-edgegprs-via-bluetooth-in-linux-simplified/#comments</comments>
		<pubDate>Mon, 06 Oct 2008 12:28:00 +0000</pubDate>
		<dc:creator>zaher14</dc:creator>
				<category><![CDATA[Scripts]]></category>
		<category><![CDATA[system admin]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://zaher14.wordpress.com/2008/10/06/system-admin-edgegprs-via-bluetooth-in-linux-simplified/</guid>
		<description><![CDATA[This is an update to one of my earlier posts. I was trying to find a more portable way with wvdial and came up with this. Start with the same command,$hcitool scanWe get some info &#60;code&#62;Scanning ...&#60;br /&#62; 00:1D:FD:36:9E:DB 3110c Emerald&#60;br /&#62;&#60;/code&#62;&#60;br /&#62; Here &#8220;00:1D:FD:36:9E:DB&#8221; is the blue-tooth address of my phone. Time to put [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=56&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>This is an update to one of my earlier posts. I was trying to find a more portable way with wvdial and came up with this.</p>
<p>Start with the same command,<br /><code><br />$hcitool scan<br /></code><br />We get some info
<pre>&lt;code&gt;Scanning ...&lt;br /&gt; 00:1D:FD:36:9E:DB 3110c Emerald&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;</pre>
<p>Here &#8220;00:1D:FD:36:9E:DB&#8221; is the blue-tooth address of my phone.</p>
<p>Time to put this address into good use. We&#8217;re going to bind this blue-tooth address with a specific device identifier.<br /><code><br />$sudo rfcomm bind 0 00:1D:FD:36:9E:DB 1<br /></code><br />Let me put some light into this command, the second argument in this command (in this case 0) is the device identifier, the third is the blue-tooth address (distinct for each device) and the fourth is the channel number which is typically 1.</p>
<p>After executing this command this mobile phone is directly accessible through /dev/rfcomm0</p>
<p>As said earlier, we are going to use <code>wvdial</code> this time. But we need to do another trick.<br /><code><br />$sudo ln -s /dev/rfcomm0 /dev/ttyS4<br /></code><br />Now we just run<br /><code><br />$sudo wvdialconf<br /></code><br />You should see some output in the terminal<br /><code><br />Editing `/etc/wvdial.conf'.</p>
<p>Scanning your serial ports for a modem.</p>
<p>ttyS0&lt;*1&gt;: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud<br />ttyS0&lt;*1&gt;: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud<br />ttyS0&lt;*1&gt;: ATQ0 V1 E1 -- and failed too at 115200, giving up.<br />Modem Port Scan&lt;*1&gt;: S1   S2   S3<br />WvModem&lt;*1&gt;: Cannot get information for serial port.<br />ttyS4&lt;*1&gt;: ATQ0 V1 E1 -- OK<br />ttyS4&lt;*1&gt;: ATQ0 V1 E1 Z -- OK<br />ttyS4&lt;*1&gt;: ATQ0 V1 E1 S0=0 -- OK<br />ttyS4&lt;*1&gt;: ATQ0 V1 E1 S0=0 &amp;C1 -- OK<br />ttyS4&lt;*1&gt;: ATQ0 V1 E1 S0=0 &amp;C1 &amp;D2 -- OK<br />ttyS4&lt;*1&gt;: ATQ0 V1 E1 S0=0 &amp;C1 &amp;D2 +FCLASS=0 -- OK<br />ttyS4&lt;*1&gt;: Modem Identifier: ATI -- Nokia<br />ttyS4&lt;*1&gt;: Speed 4800: AT -- OK<br />ttyS4&lt;*1&gt;: Speed 9600: AT -- OK<br />ttyS4&lt;*1&gt;: Speed 19200: AT -- OK<br />ttyS4&lt;*1&gt;: Speed 38400: AT -- OK<br />ttyS4&lt;*1&gt;: Speed 57600: AT -- OK<br />ttyS4&lt;*1&gt;: Speed 115200: AT -- OK<br />ttyS4&lt;*1&gt;: Speed 230400: AT -- OK<br />ttyS4&lt;*1&gt;: Speed 460800: AT -- OK<br />ttyS4&lt;*1&gt;: Max speed is 460800; that should be safe.<br />ttyS4&lt;*1&gt;: ATQ0 V1 E1 S0=0 &amp;C1 &amp;D2 +FCLASS=0 -- OK</p>
<p>Found a modem on /dev/ttyS4.<br />Modem configuration written to /etc/wvdial.conf.<br />ttyS4: Speed 460800; init "ATQ0 V1 E1 S0=0 &amp;C1 &amp;D2 +FCLASS=0"<br /></code><br />Open up /etc/wvdial.conf with your favourite text editor and add this line<br /><code><br /><span>Init3 = AT+CGDCONT=1,"IP","gpinternet"</span><br /></code><br />Set phone number to <code>*99***1#</code> and Username and Password to anything you like.</p>
<p>At last run<br /><code><br />$sudo wvdial<br /></code><br />If you did everything right, you would see samilar output to this<br /><code><br />--&gt; WvDial: Internet dialer version 1.60<br />--&gt; Cannot get information for serial port.<br />--&gt; Initializing modem.<br />--&gt; Sending: ATZ<br />ATZ<br />OK<br />--&gt; Sending: ATQ0 V1 E1 S0=0 &amp;C1 &amp;D2 +FCLASS=0<br />ATQ0 V1 E1 S0=0 &amp;C1 &amp;D2 +FCLASS=0<br />OK<br />--&gt; Sending: AT+CGDCONT=1,"IP","gpinternet"<br />AT+CGDCONT=1,"IP","gpinternet"<br />OK<br />--&gt; Modem initialized.<br />--&gt; Sending: ATDT*99***1#<br />--&gt; Waiting for carrier.<br />ATDT*99***1#<br />CONNECT<br />~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&amp;} }*} } g}%~<br />--&gt; Carrier detected.  Waiting for prompt.<br />~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&amp;} }*} } g}%~<br />--&gt; PPP negotiation detected.<br />--&gt; Starting pppd at Mon Oct  6 12:22:38 2008<br />--&gt; Pid of pppd: 17504<br />--&gt; Using interface ppp0<br />--&gt; pppd: ا[06][08][08]�[06][08][08]�[06][08]<br />--&gt; pppd: ا[06][08][08]�[06][08][08]�[06][08]<br />--&gt; pppd: ا[06][08][08]�[06][08][08]�[06][08]<br />--&gt; pppd: ا[06][08][08]�[06][08][08]�[06][08]<br />--&gt; local  IP address 10.130.11.226<br />--&gt; pppd: ا[06][08][08]�[06][08][08]�[06][08]<br />--&gt; remote IP address 10.6.6.6<br />--&gt; pppd: ا[06][08][08]�[06][08][08]�[06][08]<br />--&gt; primary   DNS address 202.56.4.120<br />--&gt; pppd: ا[06][08][08]�[06][08][08]�[06][08]<br />--&gt; secondary DNS address 202.56.4.121<br />--&gt; pppd: ا[06][08][08]�[06][08][08]�[06][08]<br /></code></p>
<p>Fire up your browser and enjoy the net.</p>
<p>[<b>Update</b>: Some have reported that the DNS don't get updated automatically, in that case you might need to update /etc/resolv.conf file manually.]</div>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zaher14.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zaher14.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zaher14.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zaher14.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zaher14.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zaher14.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zaher14.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zaher14.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zaher14.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zaher14.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zaher14.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zaher14.wordpress.com/56/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zaher14.wordpress.com/56/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zaher14.wordpress.com/56/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=56&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zaher14.wordpress.com/2008/10/06/system-admin-edgegprs-via-bluetooth-in-linux-simplified/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/96eec6f622848d325f65c4c9e26194de?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zaher14</media:title>
		</media:content>
	</item>
		<item>
		<title>MacOS X: iSync AppleScript</title>
		<link>http://zaher14.wordpress.com/2008/09/12/macos-x-isync-applescript/</link>
		<comments>http://zaher14.wordpress.com/2008/09/12/macos-x-isync-applescript/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 10:57:00 +0000</pubDate>
		<dc:creator>zaher14</dc:creator>
				<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[Scripts]]></category>

		<guid isPermaLink="false">http://zaher14.wordpress.com/2008/09/12/macos-x-isync-applescript/</guid>
		<description><![CDATA[I wanted to run iSync Priodically everyday so that my mobile and MacBook get synced regularly, this is what I found after some googling: tell application &#8220;System Events&#8221; to set isync_running to (name of processes) contains &#8220;iSync&#8221; &#60;code&#62;&#60;br /&#62;tell application "iSync"&#60;br /&#62; activate&#60;br /&#62; if isync_running is not true then&#60;br /&#62; tell application "System Events" [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=55&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>I wanted to run iSync Priodically everyday so that my mobile and MacBook get synced regularly, this is what I found after some googling:</p>
<p>tell application &#8220;System Events&#8221; to set isync_running to (name of processes) contains &#8220;iSync&#8221;
<pre>&lt;code&gt;&lt;br /&gt;tell application "iSync"&lt;br /&gt;  activate&lt;br /&gt;  if isync_running is not true then&lt;br /&gt;      tell application "System Events" to set visible of process "iSync" to false&lt;br /&gt;  end if&lt;br /&gt;  synchronize&lt;br /&gt;&lt;br /&gt;  repeat until syncing is false&lt;br /&gt;      delay 1&lt;br /&gt;  end repeat&lt;br /&gt;&lt;br /&gt;  if sync status is 2 then&lt;br /&gt;      if isync_running is false then&lt;br /&gt;          quit&lt;br /&gt;      end if&lt;br /&gt;  else&lt;br /&gt;      activate&lt;br /&gt;  end if&lt;br /&gt;end tell&lt;br /&gt;&lt;/code&gt;</pre>
<p>save the file with a .scpt extension and add the script in iCal to run every day.</div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zaher14.wordpress.com/55/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zaher14.wordpress.com/55/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zaher14.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zaher14.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zaher14.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zaher14.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zaher14.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zaher14.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zaher14.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zaher14.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zaher14.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zaher14.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zaher14.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zaher14.wordpress.com/55/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zaher14.wordpress.com/55/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zaher14.wordpress.com/55/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=55&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zaher14.wordpress.com/2008/09/12/macos-x-isync-applescript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/96eec6f622848d325f65c4c9e26194de?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zaher14</media:title>
		</media:content>
	</item>
		<item>
		<title>Simple AppleScript</title>
		<link>http://zaher14.wordpress.com/2008/09/12/simple-applescript/</link>
		<comments>http://zaher14.wordpress.com/2008/09/12/simple-applescript/#comments</comments>
		<pubDate>Fri, 12 Sep 2008 10:57:00 +0000</pubDate>
		<dc:creator>zaher14</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://zaher14.wordpress.com/2008/09/12/simple-applescript/</guid>
		<description><![CDATA[I wanted to run iSync Priodically everyday so that my mobile and MacBook get synced regularly, this is what I came up with: tell application &#8220;System Events&#8221; to set isync_running to (name of processes) contains &#8220;iSync&#8221; tell application "iSync" activate if isync_running is not true then tell application "System Events" to set visible of process [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=50&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I wanted to run iSync Priodically everyday so that my mobile and MacBook get synced regularly, this is what I came up with:</p>
<p>tell application &#8220;System Events&#8221; to set isync_running to (name of processes) contains &#8220;iSync&#8221;
<pre><code>tell application "iSync"   activate   if isync_running is not true then       tell application "System Events" to set visible of process "iSync" to false   end if   synchronize

   repeat until syncing is false       delay 1   end repeat

   if sync status is 2 then       if isync_running is false then           quit       end if   else       activate   end ifend tell</pre>
<p></code><br />save the file with a .scpt extension and add the script in iCal to run every day.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zaher14.wordpress.com/50/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zaher14.wordpress.com/50/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zaher14.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zaher14.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zaher14.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zaher14.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zaher14.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zaher14.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zaher14.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zaher14.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zaher14.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zaher14.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zaher14.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zaher14.wordpress.com/50/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zaher14.wordpress.com/50/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zaher14.wordpress.com/50/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=50&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zaher14.wordpress.com/2008/09/12/simple-applescript/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/96eec6f622848d325f65c4c9e26194de?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zaher14</media:title>
		</media:content>
	</item>
		<item>
		<title>Tips: Run Linux apps in Mac OSX Seamlessly</title>
		<link>http://zaher14.wordpress.com/2008/07/19/tips-run-linux-apps-in-mac-osx-seamlessly/</link>
		<comments>http://zaher14.wordpress.com/2008/07/19/tips-run-linux-apps-in-mac-osx-seamlessly/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 04:04:00 +0000</pubDate>
		<dc:creator>zaher14</dc:creator>
				<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[system admin]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://zaher14.wordpress.com/2008/07/19/tips-run-linux-apps-in-mac-osx-seamlessly/</guid>
		<description><![CDATA[I have been using Vmware Fusion to run Ubuntu 8.04 and Windows XP for a while. I really like the idea of Unity while using Windows in Vmware as it seamlessly integrates Windows and Mac OSX apps. I was a little sad to find out there is no such feature for Linux. Guess what, I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=54&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<div>I have been using Vmware Fusion to run Ubuntu 8.04 and Windows XP for a while. I really like the idea of <span>Unity</span> while using Windows in Vmware as it seamlessly integrates Windows and Mac OSX apps.
<p></p>
<p>I was a little sad to find out there is no such feature for Linux. Guess what, I was wrong. While I was fiddling with different ssh options, I came across a feature called X11 forwarding. With the use of X11 forwarding, its easy to accomplish the same effect. All you need is just add<span> &#8216;-X&#8217;</span> option while you ssh and make sure you have a working X11 environment installed in your Leopard.</p>
<p></p>
<p>$ssh<span class='Apple-converted-space'>  </span>-X <a href='mailto:zaher@172.16.90.128'>zaher@172.16.90.128</a><span class='Apple-converted-space'> </span></p>
<p></p>
<p>Its as simple as that. After login, just run any graphical program you want like a native application. You can also disable X11 in your VM since it has the added benefit of using low memory than usual as no X11 us running in your Virtual Machine.</p>
<p></p>
<p>Here is a screenshot of Firefox, Gimp and OpenOffice.Org running from my Ubuntu Hardy Heron in Leopard.</p>
<p>
<p><a href='http://bp2.blogger.com/_qZgIETMJjmk/SIFpC-48jnI/AAAAAAAAAM8/QAW2akkIoOA/s1600-h/Picture+2.PNG'><img border='0' alt='' src='http://bp2.blogger.com/_qZgIETMJjmk/SIFpC-48jnI/AAAAAAAAAM8/QAW2akkIoOA/s400/Picture+2.PNG'></a></p>
<p></p>
</div>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zaher14.wordpress.com/54/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zaher14.wordpress.com/54/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zaher14.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zaher14.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zaher14.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zaher14.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zaher14.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zaher14.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zaher14.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zaher14.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zaher14.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zaher14.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zaher14.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zaher14.wordpress.com/54/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zaher14.wordpress.com/54/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zaher14.wordpress.com/54/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=54&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zaher14.wordpress.com/2008/07/19/tips-run-linux-apps-in-mac-osx-seamlessly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/96eec6f622848d325f65c4c9e26194de?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zaher14</media:title>
		</media:content>

		<media:content url="http://bp2.blogger.com/_qZgIETMJjmk/SIFpC-48jnI/AAAAAAAAAM8/QAW2akkIoOA/s400/Picture+2.PNG" medium="image" />
	</item>
		<item>
		<title>A Simple trick to run your Linux apps in Mac OSX Seamlessly</title>
		<link>http://zaher14.wordpress.com/2008/07/19/a-simple-trick-to-run-your-linux-apps-in-mac-osx-seamlessly/</link>
		<comments>http://zaher14.wordpress.com/2008/07/19/a-simple-trick-to-run-your-linux-apps-in-mac-osx-seamlessly/#comments</comments>
		<pubDate>Sat, 19 Jul 2008 04:04:00 +0000</pubDate>
		<dc:creator>zaher14</dc:creator>
				<category><![CDATA[MacOSX]]></category>
		<category><![CDATA[system admin]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://zaher14.wordpress.com/2008/07/19/a-simple-trick-to-run-your-linux-apps-in-mac-osx-seamlessly/</guid>
		<description><![CDATA[I have been using Vmware Fusion to run Ubuntu 8.04 and Windows XP for a while. I really like the idea of Unity while using Windows in Vmware as it seamlessly integrates Windows and Mac OSX apps. I was a little sad to find out there is no such feature for Linux. Guess what, I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=49&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have been using Vmware Fusion to run Ubuntu 8.04 and Windows XP for a while. I really like the idea of <span style="font-weight:bold;">Unity</span> while using Windows in Vmware as it seamlessly integrates Windows and Mac OSX apps.
<p style="min-height:14px;margin:0;"></p>
<p style="margin:0;">I was a little sad to find out there is no such feature for Linux. Guess what, I was wrong. While I was fiddling with different ssh options, I came across a feature called X11 forwarding. With the use of X11 forwarding, its easy to accomplish the same effect. All you need is just add<span style="font-weight:bold;"> &#8216;-X&#8217;</span> option while you ssh and make sure you have a working X11 environment installed in your Leopard.</p>
<p style="min-height:14px;margin:0;"></p>
<p style="margin:0;">$ssh<span class="Apple-converted-space">  </span>-X <a href="mailto:zaher@172.16.90.128">zaher@172.16.90.128</a><span class="Apple-converted-space"> </span></p>
<p style="min-height:14px;margin:0;"></p>
<p style="margin:0;">Its as simple as that. After login, just run any graphical program you want like a native application. You can also disable X11 in your VM since it has the added benefit of using low memory than usual as no X11 us running in your Virtual Machine.</p>
<p style="min-height:14px;margin:0;"></p>
<p style="margin:0;">Here is a screenshot of Firefox, Gimp and OpenOffice.Org running from my Ubuntu Hardy Heron in Leopard.</p>
<p>
<p style="margin:0;"><a href="http://bp2.blogger.com/_qZgIETMJjmk/SIFpC-48jnI/AAAAAAAAAM8/QAW2akkIoOA/s1600-h/Picture+2.PNG"><img style="display:block;text-align:center;cursor:pointer;margin:0 auto 10px;" src="http://bp2.blogger.com/_qZgIETMJjmk/SIFpC-48jnI/AAAAAAAAAM8/QAW2akkIoOA/s400/Picture+2.PNG" alt="" border="0" /></a></p>
<p style="margin:0;"></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zaher14.wordpress.com/49/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zaher14.wordpress.com/49/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zaher14.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zaher14.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zaher14.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zaher14.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zaher14.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zaher14.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zaher14.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zaher14.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zaher14.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zaher14.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zaher14.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zaher14.wordpress.com/49/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zaher14.wordpress.com/49/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zaher14.wordpress.com/49/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=49&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zaher14.wordpress.com/2008/07/19/a-simple-trick-to-run-your-linux-apps-in-mac-osx-seamlessly/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/96eec6f622848d325f65c4c9e26194de?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zaher14</media:title>
		</media:content>

		<media:content url="http://bp2.blogger.com/_qZgIETMJjmk/SIFpC-48jnI/AAAAAAAAAM8/QAW2akkIoOA/s400/Picture+2.PNG" medium="image" />
	</item>
		<item>
		<title>Mission: Recover Disk Space: Part 2</title>
		<link>http://zaher14.wordpress.com/2008/07/18/mission-recover-disk-space-part-2/</link>
		<comments>http://zaher14.wordpress.com/2008/07/18/mission-recover-disk-space-part-2/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 04:36:00 +0000</pubDate>
		<dc:creator>zaher14</dc:creator>
				<category><![CDATA[MacOSX]]></category>

		<guid isPermaLink="false">http://zaher14.wordpress.com/2008/07/18/mission-recover-disk-space-part-2/</guid>
		<description><![CDATA[Hmm, the mission is going pretty well, next step download Monolingual. This cool Open Source tool checks your MacOSX system for redundancies like localized documentations, not platform specific apps and gives you a choice to remove them selectively. I was able to about 2.8 Gigs from my last run, as I only kept English and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=48&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hmm, the mission is going pretty well, next step download <a href="http://monolingual.sourceforge.net/%20">Monolingual</a>. This cool Open Source tool checks your MacOSX system for redundancies like localized documentations, not platform specific apps and gives you a choice to remove them selectively.</p>
<p>I was able to about 2.8 Gigs from my last run, as I only kept English and Bengali localizations and Intel specific installations.</p>
<p>I love the icon of this app very much, <img src='http://s2.wp.com/wp-includes/images/smilies/icon_razz.gif' alt=':P' class='wp-smiley' /> </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zaher14.wordpress.com/48/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zaher14.wordpress.com/48/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zaher14.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zaher14.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zaher14.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zaher14.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zaher14.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zaher14.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zaher14.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zaher14.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zaher14.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zaher14.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zaher14.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zaher14.wordpress.com/48/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zaher14.wordpress.com/48/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zaher14.wordpress.com/48/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=48&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zaher14.wordpress.com/2008/07/18/mission-recover-disk-space-part-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/96eec6f622848d325f65c4c9e26194de?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zaher14</media:title>
		</media:content>
	</item>
		<item>
		<title>Mission: Recover Disk Space: Part 1</title>
		<link>http://zaher14.wordpress.com/2008/07/18/mission-recover-disk-space-part-1/</link>
		<comments>http://zaher14.wordpress.com/2008/07/18/mission-recover-disk-space-part-1/#comments</comments>
		<pubDate>Fri, 18 Jul 2008 04:16:00 +0000</pubDate>
		<dc:creator>zaher14</dc:creator>
				<category><![CDATA[MacOSX]]></category>

		<guid isPermaLink="false">http://zaher14.wordpress.com/2008/07/18/mission-recover-disk-space-part-1/</guid>
		<description><![CDATA[This was getting more and more annoying day by day. My hard drive was getting full day by day as i kept installing new apps but somehow the rate of hard drive usage wasn’t matching the applications installed. Something was wrong and something need to be done. I installed OmniDiskSweeper and gave it run. I [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=47&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>This was getting more and more annoying day by day. My hard drive was getting full day by day as i kept installing new apps but somehow the rate of hard drive usage  wasn’t matching the applications installed. Something was wrong and something need to be done.</p>
<p>I installed <a href="http://www.omnigroup.com/applications/omnidisksweeper/">OmniDiskSweeper</a> and gave it run. I noted a folder called /cores which was taking a whooping 5.4Gigs. Suspicious, I looked it up and came to know that this is the folder where my Leopard keeps its memory dump files after any system crash for debugging purposes. Since it didn’t concern me, I just safely deleted these annoying core.xxxxx files to reclaim my precious 5.4 Gigs.</p>
<p>So if you are also running out of space, don’t forget to check that folder.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zaher14.wordpress.com/47/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zaher14.wordpress.com/47/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zaher14.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zaher14.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zaher14.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zaher14.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zaher14.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zaher14.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zaher14.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zaher14.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zaher14.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zaher14.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zaher14.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zaher14.wordpress.com/47/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zaher14.wordpress.com/47/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zaher14.wordpress.com/47/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=47&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zaher14.wordpress.com/2008/07/18/mission-recover-disk-space-part-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/96eec6f622848d325f65c4c9e26194de?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zaher14</media:title>
		</media:content>
	</item>
		<item>
		<title>Debug PHP scripts in Netbeans IDE</title>
		<link>http://zaher14.wordpress.com/2008/07/03/debug-php-scripts-in-netbeans-ide/</link>
		<comments>http://zaher14.wordpress.com/2008/07/03/debug-php-scripts-in-netbeans-ide/#comments</comments>
		<pubDate>Thu, 03 Jul 2008 16:57:00 +0000</pubDate>
		<dc:creator>zaher14</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://zaher14.wordpress.com/2008/07/03/debug-php-scripts-in-netbeans-ide/</guid>
		<description><![CDATA[Are you having problems in finding pesky quirks in your PHP scripts and swelling your fingers by writing print_r in almost every lines? This tip is just for you &#8230; Download and install “Early Access for PHP” bundle of Netbeans from http://download.netbeans.org/netbeans/6.1/final/ . Download and install an appropriate PHP-Mysql distro. I’m using MAMP in my [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=46&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Are you having problems in finding pesky quirks in your PHP scripts and swelling your fingers by writing <em><strong>print_r</strong></em> in almost every lines? This tip is just for you &#8230;</p>
<ol style="list-style-type:decimal;">
<li>Download and install <strong>“Early Access for PHP” </strong>bundle of Netbeans from <a href="http://download.netbeans.org/netbeans/6.1/final/">http://download.netbeans.org/netbeans/6.1/final/ </a>.</li>
<p>
<li>Download and install an appropriate PHP-Mysql distro. I’m using <a href="http://www.mamp.info/en/download.html">MAMP</a> in my Mac OS. Another good platform independent option is <a href="http://www.apachefriends.org/en/xampp.html">XAMPP</a>.</li>
<p>
<li>Download the appropriate version of <em><strong>xdebug</strong></em> from <a href="http://www.xdebug.org/">http://www.xdebug.org/</a>  matching your php version (use phpinfo() in your web server to grab that). In my case there was no Mac OS binary, so I had to download the source. If you are downloading binary package then you can skip to step 7.</li>
<p>
<li>Unpack the source and open a terminal in that folder.</li>
<p>
<li>Now run [Note: make sure phpize and php-config is in your path]:</li>
<p></ol>
<p><code><br />$phpize</p>
<p>$./configure --enable-xdebug</p>
<p>$make</code></p>
<p>
<ol start="6" style="list-style-type:decimal;">
<li>A file called <em><strong>xdebug.so</strong></em> (in Linux and Mac OS) or <em><strong>xdebug.dll</strong></em> (Widows) will get created. If you have downloaded binary package, your package will contain this file.</li>
<p>
<li>Now copy this file into the extension folder of your server. In my case it was like this</li>
<p></ol>
<p><code><br />$cp modules/xdebug.so<br />/Applications/MAMP/bin/php5/lib/php/extensions</code>
<ol start="8" style="list-style-type:decimal;">
<li>Now open your <em><strong>php.ini</strong></em> file and add entries for this new extension</li>
<p></ol>
<p><code> zend_extension = "/Applications/MAMP/bin/php5/lib/php/extensions/xdebug.so"</code></p>
<p><code>xdebug.remote_enable=1 </code></p>
<p>
<ol start="9" style="list-style-type:decimal;">
<li>Now fire-up Netbeans and create/open your php project. Now insert a breakpoint by clicking anywhere in the left margin, now try to debug the file by selecting debug from context menu. You should see your web browser being fired and probably a blank web page. Now press F7 to step into your code and see it execute step by step. Try adding some watches. As the whole page finishes executing, you get to see the result in your web browser.</li>
<p></ol>
<p>Happy Debugging!!!</p>
<p>Update 5 July 2008:<br />Just found out this <a href="http://blogs.sun.com/netbeansphp/entry/ubuntu_php_netbeans">link</a> for configuring xdebug with netbeans in Ubunutu 8.04.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/zaher14.wordpress.com/46/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/zaher14.wordpress.com/46/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/zaher14.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/zaher14.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/zaher14.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/zaher14.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/zaher14.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/zaher14.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/zaher14.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/zaher14.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/zaher14.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/zaher14.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/zaher14.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/zaher14.wordpress.com/46/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/zaher14.wordpress.com/46/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/zaher14.wordpress.com/46/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=zaher14.wordpress.com&amp;blog=1381170&amp;post=46&amp;subd=zaher14&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://zaher14.wordpress.com/2008/07/03/debug-php-scripts-in-netbeans-ide/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/96eec6f622848d325f65c4c9e26194de?s=96&#38;d=identicon" medium="image">
			<media:title type="html">zaher14</media:title>
		</media:content>
	</item>
	</channel>
</rss>
