<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Xster.net &#187; Mac</title>
	<atom:link href="http://tech.xster.net/tag/mac/feed/" rel="self" type="application/rss+xml" />
	<link>http://tech.xster.net</link>
	<description>Never relearn twice</description>
	<lastBuildDate>Mon, 30 Aug 2010 00:30:14 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Free OBD2 Software for Mac</title>
		<link>http://tech.xster.net/tips/free-obd2-software-for-mac/</link>
		<comments>http://tech.xster.net/tips/free-obd2-software-for-mac/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 19:23:16 +0000</pubDate>
		<dc:creator>xiao</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[embedded]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[MacPorts]]></category>
		<category><![CDATA[OBD]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[serial]]></category>
		<category><![CDATA[UART]]></category>
		<category><![CDATA[USB]]></category>
		<category><![CDATA[wxPython]]></category>
		<category><![CDATA[X11]]></category>

		<guid isPermaLink="false">http://tech.xster.net/?p=255</guid>
		<description><![CDATA[If you just picked up a generic OBD-II &#8211; USB interface on eBay and have a Mac, it is true that it is generally more convenient to access these hardware on Windows. Even embedded device developers tend to use Windows to develop against these generic FT232R chip based USB-UART devices simply because of more available [...]]]></description>
			<content:encoded><![CDATA[<p>If you just picked up a generic OBD-II &#8211; USB interface on eBay and have a Mac, it is true that it is generally more convenient to access these hardware on Windows. Even embedded device developers tend to use Windows to develop against these generic FT232R chip based USB-UART devices simply because of more available supports. But worry not, it can be done on Mac (really on Linux with a more open-platform framework than Windows), it&#8217;s just a bit more complicated since it tends to come in be open-source source code rather than prepackaged self-sufficient binaries.<span id="more-255"></span></p>
<p>But in this case, it&#8217;s not too bad. You can use <a href="http://www.obdtester.com/pyobd">pyOBD</a>, an Python open-source project. You just need some packages from MacPorts</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">install</span> py26-serial
<span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #c20cb9; font-weight: bold;">install</span> py26-wxpython</pre></div></div>

<p>Download and unpack the source code. And run directly with</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">pythonw pyobd</pre></div></div>

<p>p.s. you need X11</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-spaced">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://tech.xster.net/tips/free-obd2-software-for-mac/&amp;title=Free+OBD2+Software+for+Mac" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://tech.xster.net/tips/free-obd2-software-for-mac/&amp;t=Free+OBD2+Software+for+Mac" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Free+OBD2+Software+for+Mac+-+http://tech.xster.net/tips/free-obd2-software-for-mac/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://tech.xster.net/tips/free-obd2-software-for-mac/&amp;n=Free+OBD2+Software+for+Mac&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://tech.xster.net/tips/free-obd2-software-for-mac/&amp;title=Free+OBD2+Software+for+Mac" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://tech.xster.net/tips/free-obd2-software-for-mac/&amp;title=Free+OBD2+Software+for+Mac" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://tech.xster.net/tips/free-obd2-software-for-mac/&amp;t=Free+OBD2+Software+for+Mac" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://tech.xster.net/tips/free-obd2-software-for-mac/&amp;title=Free+OBD2+Software+for+Mac" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://tech.xster.net/tips/free-obd2-software-for-mac/&amp;title=Free+OBD2+Software+for+Mac" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://tech.xster.net/tips/free-obd2-software-for-mac/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://tech.xster.net/tips/free-obd2-software-for-mac/&amp;title=Free+OBD2+Software+for+Mac&amp;summary=If%20you%20just%20picked%20up%20a%20generic%20OBD-II%20-%20USB%20interface%20on%20eBay%20and%20have%20a%20Mac%2C%20it%20is%20true%20that%20it%20is%20generally%20more%20convenient%20to%20access%20these%20hardware%20on%20Windows.%20Even%20embedded%20device%20developers%20tend%20to%20use%20Windows%20to%20develop%20against%20these%20generic%20FT232R%20chip%20based%20USB-UART%20devices%20simply%20because%20o&amp;source=Xster.net" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://tech.xster.net/tips/free-obd2-software-for-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to Unpause Applications in Mac OS X</title>
		<link>http://tech.xster.net/tips/how-to-unpause-applications-in-mac-os-x/</link>
		<comments>http://tech.xster.net/tips/how-to-unpause-applications-in-mac-os-x/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 19:06:01 +0000</pubDate>
		<dc:creator>xiao</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[freeze]]></category>
		<category><![CDATA[kill]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Mac OS X]]></category>
		<category><![CDATA[process]]></category>
		<category><![CDATA[ps]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[unfreeze]]></category>
		<category><![CDATA[zsh]]></category>

		<guid isPermaLink="false">http://tech.xster.net/?p=252</guid>
		<description><![CDATA[I asked this question on Superuser.com after experiencing this problem. Now it&#8217;s accessible to everyone. When something goes wrong and you run out of memory on Mac OS X, the system puts your existing applications to pause to prevent the system from becoming unstable. After taking care of the problem and freeing more memory, you [...]]]></description>
			<content:encoded><![CDATA[<p>I asked this question on <a href="http://superuser.com/questions/118190/unpause-application-in-mac-os-x">Superuser.com</a> after experiencing this problem. Now it&#8217;s accessible to everyone.</p>
<p>When something goes wrong and you run out of memory on Mac OS X, the system puts your existing applications to pause to prevent the system from becoming unstable. After taking care of the problem and freeing more memory, you might notice that the applications you had are still frozen. To unpause them, find their PID using <a href="http://unixhelp.ed.ac.uk/CGI/man-cgi?ps">ps</a> and use the kill command to revive it (irony)</p>
<pre lang = "bash">kill -CONT 111</pre>
<p>Of course, 111 here is replaced with the PID you found with ps</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-spaced">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://tech.xster.net/tips/how-to-unpause-applications-in-mac-os-x/&amp;title=How+to+Unpause+Applications+in+Mac+OS+X" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://tech.xster.net/tips/how-to-unpause-applications-in-mac-os-x/&amp;t=How+to+Unpause+Applications+in+Mac+OS+X" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=How+to+Unpause+Applications+in+Mac+OS+X+-+http://tech.xster.net/tips/how-to-unpause-applications-in-mac-os-x/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://tech.xster.net/tips/how-to-unpause-applications-in-mac-os-x/&amp;n=How+to+Unpause+Applications+in+Mac+OS+X&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://tech.xster.net/tips/how-to-unpause-applications-in-mac-os-x/&amp;title=How+to+Unpause+Applications+in+Mac+OS+X" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://tech.xster.net/tips/how-to-unpause-applications-in-mac-os-x/&amp;title=How+to+Unpause+Applications+in+Mac+OS+X" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://tech.xster.net/tips/how-to-unpause-applications-in-mac-os-x/&amp;t=How+to+Unpause+Applications+in+Mac+OS+X" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://tech.xster.net/tips/how-to-unpause-applications-in-mac-os-x/&amp;title=How+to+Unpause+Applications+in+Mac+OS+X" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://tech.xster.net/tips/how-to-unpause-applications-in-mac-os-x/&amp;title=How+to+Unpause+Applications+in+Mac+OS+X" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://tech.xster.net/tips/how-to-unpause-applications-in-mac-os-x/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://tech.xster.net/tips/how-to-unpause-applications-in-mac-os-x/&amp;title=How+to+Unpause+Applications+in+Mac+OS+X&amp;summary=I%20asked%20this%20question%20on%20Superuser.com%20after%20experiencing%20this%20problem.%20Now%20it%27s%20accessible%20to%20everyone.%0D%0A%0D%0AWhen%20something%20goes%20wrong%20and%20you%20run%20out%20of%20memory%20on%20Mac%20OS%20X%2C%20the%20system%20puts%20your%20existing%20applications%20to%20pause%20to%20prevent%20the%20system%20from%20becoming%20unstable.%20After%20taking%20care%20of%20the%20prob&amp;source=Xster.net" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://tech.xster.net/tips/how-to-unpause-applications-in-mac-os-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Deploy PyQt Applications on Mac OS X with PyInstaller!</title>
		<link>http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/</link>
		<comments>http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/#comments</comments>
		<pubDate>Wed, 28 Apr 2010 07:20:39 +0000</pubDate>
		<dc:creator>xiao</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[application]]></category>
		<category><![CDATA[Deployment]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[PIL]]></category>
		<category><![CDATA[py2app]]></category>
		<category><![CDATA[PyInstaller]]></category>
		<category><![CDATA[PyQt]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://tech.xster.net/?p=218</guid>
		<description><![CDATA[The interweb seem to incline on py2app when it come to deploying applications on mac. I&#8217;ve tried to make a single deployable .app file for my application for a long time trying to follow these instructions from ars technica. I&#8217;m not a hacker and just want to produce a deployable usable application for others to [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.pyinstaller.org/"><img class="alignright size-medium wp-image-221" title="PyInstaller" src="http://tech.xster.net/wp-content/uploads/2010/04/logo-300x60.png" alt="" width="240" height="48" /></a>The interweb seem to incline on <a href="http://svn.pythonmac.org/py2app/py2app/trunk/doc/index.html">py2app</a> when it come to deploying applications on mac. I&#8217;ve tried to make a single deployable .app file for my application for a long time trying to follow <a href="http://arstechnica.com/open-source/guides/2009/03/how-to-deploying-pyqt-applications-on-windows-and-mac-os-x.ars/2">these instructions from ars technica</a>. I&#8217;m not a hacker and just want to produce a deployable usable application for others to use. And it seems py2app from MacPorts wasn&#8217;t able to surmount the Snow Leopard&#8217;s 64-bit compatibility issue.</p>
<p>And then, I was slacking off while studying for my final and out of nowhere I found <a href="http://www.pyinstaller.org/">PyInstaller</a>&#8216;s explicit support for PyQt and its recent support for the mac. And after trying, almost everything works out without much of a kink. Credit goes to <a href="http://diotavelli.net/PyQtWiki/PyInstallerOnMacOSX">ChrisWayg</a> who produced an amazingly complete and up-to-date set of instructions to follow. I&#8217;m merely telling how my application did using his instructions (April 2010) and hopefully doing my part to draw more attention to the excellent <a href="http://www.pyinstaller.org/">PyInstaller</a>.<span id="more-218"></span></p>
<h3>My Application</h3>
<p>A PyQt application to help photographers apply custom watermarks in a manual but in an assisted way.</p>
<p>Uses:</p>
<ul>
<li>PIL 1.1.7</li>
<li>Qt4 4.6.2</li>
<li>PyQt4 4.7.2</li>
<li>SIP 4.10.1</li>
</ul>
<p>All from MacPorts on Python 2.6.5, OSX 10.6.3.</p>
<h3>Prepare PyInstaller</h3>
<p>PyInstaller is kinda special in that it&#8217;s not installed anywhere. It&#8217;s just a bunch of Python scripts that work on stuff in place. While you&#8217;re at it, read the <a href="http://www.pyinstaller.org/export/latest/tags/1.4/doc/Manual.html">manual</a>.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> http:<span style="color: #000000; font-weight: bold;">//</span>svn.pyinstaller.org<span style="color: #000000; font-weight: bold;">/</span>trunk ~<span style="color: #000000; font-weight: bold;">/</span>PyInstaller</pre></div></div>

<p>Or put it somewhere you want.</p>
<p>Then you need to build the bootloaders. If you&#8217;re making PyQt applications, you probably have XCode already. Anyway, you need it.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> source<span style="color: #000000; font-weight: bold;">/</span>linux
python Make.py
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> ..
python Configure.py</pre></div></div>

<h3>Making your Application</h3>
<p><a href="http://www.pyinstaller.org/ticket/158">So far</a>, PyInstaller has a problem of not showing your application at the front when you run it. You can fix it in your own code by adding</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">form.raise_<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>right after</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">form.show<span style="color: #7a0874; font-weight: bold;">&#40;</span><span style="color: #7a0874; font-weight: bold;">&#41;</span></pre></div></div>

<p>with &#8220;form&#8221; being whatever you called your instance of MainWindow().</p>
<p>Like with py2app, you gotta first make a &#8220;spec file&#8221;.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">python Makespec.py <span style="color: #660033;">--onefile</span> <span style="color: #000000; font-weight: bold;">/</span>path<span style="color: #000000; font-weight: bold;">/</span>to<span style="color: #000000; font-weight: bold;">/</span>YourApplication.py</pre></div></div>

<p>This will make a YourApplication/YourApplication.spec file in your PyInstaller folder.<br />
To make it work on mac, add</p>

<div class="wp_syntax"><div class="code"><pre class="python" style="font-family:monospace;"><span style="color: #ff7700;font-weight:bold;">import</span> <span style="color: #dc143c;">sys</span>
<span style="color: #ff7700;font-weight:bold;">if</span> <span style="color: #dc143c;">sys</span>.<span style="color: #dc143c;">platform</span>.<span style="color: black;">startswith</span><span style="color: black;">&#40;</span><span style="color: #483d8b;">&quot;darwin&quot;</span><span style="color: black;">&#41;</span>:
    app = BUNDLE<span style="color: black;">&#40;</span>exe,
                 appname=<span style="color: #483d8b;">'WhateverYouWantToCallIt'</span>,
                 version=<span style="color: #ff4500;">1</span><span style="color: black;">&#41;</span></pre></div></div>

<p>at the bottom.</p>
<p>For my application, it made 70 files inside the .app file on default. &#8211;onefile makes it more neat and 3 times smaller in size! but it does make it a bit slower. If you care to make it as fast as possible, leave out that option but you have to <a href="http://www.pyinstaller.org/ticket/155">fix a bug</a> yourself.</p>
<p>Finally, build the application!</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">python Build.py YourApplication<span style="color: #000000; font-weight: bold;">/</span>YourApplication.spec</pre></div></div>

<p>This will make your application and leave a YourApplication.app in your PyInstaller folder.</p>
<h3>Fix the Application</h3>
<p>Put your own nice icon on the application. Copy your graphic, right-click your application and choose Get Info, click the icon and paste the graphic.</p>
<p>Open the content of your application, open Contents/Info.plist, uncheck &#8220;Application is background only&#8221; and save. If you&#8217;re using a plain text editor, change LSBackgroundOnly to false.</p>
<p>There is only one last problem to deal with on mac. You have to copy the qt_menu.nib file.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">locate</span> qt_menu.nib</pre></div></div>

<p>to find it. If you use MacPorts, it&#8217;s probably somewhere like /opt/local/libexec/qt4-mac/lib/QtGui.framework/Versions/4/Resources/qt_menu.nib</p>
<p>Copy it to your YourApplication.app/Contents/Resources</p>
<p>Boom, you can double click your application and it will run!</p>
<p>Ok, one last problem, I swear. When you run, it shows 2 icons on the dock&#8230; pretty ugly. <a href="http://www.pyinstaller.org/ticket/156">This hack</a> can fix it, but it&#8217;s not perfect as it leaves junk on your computer. Hopefully PyInstaller can address it soon.</p>
<h3>Conclusion</h3>
<p>The program is beautiful! You don&#8217;t have to worry about your Python plug-ins, your 64-bitness, anything (mostly). It just works. I have yet to figure out how to make 32-bit binaries on 64-bit systems and how to make upx work properly to reduce executable size. I&#8217;m currently running at 32mb for an application that really should be 1mb. But then again, it&#8217;s packaging a whole new GUI framework that doesn&#8217;t exist on the target computer with the application. Consider Skype (yes, it&#8217;s infinitely more complex than my thing), it is still 43mb.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-spaced">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/&amp;title=Deploy+PyQt+Applications+on+Mac+OS+X+with+PyInstaller%21" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/&amp;t=Deploy+PyQt+Applications+on+Mac+OS+X+with+PyInstaller%21" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Deploy+PyQt+Applications+on+Mac+OS+X+with+PyInstaller%21+-+http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/&amp;n=Deploy+PyQt+Applications+on+Mac+OS+X+with+PyInstaller%21&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/&amp;title=Deploy+PyQt+Applications+on+Mac+OS+X+with+PyInstaller%21" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/&amp;title=Deploy+PyQt+Applications+on+Mac+OS+X+with+PyInstaller%21" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/&amp;t=Deploy+PyQt+Applications+on+Mac+OS+X+with+PyInstaller%21" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/&amp;title=Deploy+PyQt+Applications+on+Mac+OS+X+with+PyInstaller%21" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/&amp;title=Deploy+PyQt+Applications+on+Mac+OS+X+with+PyInstaller%21" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/&amp;title=Deploy+PyQt+Applications+on+Mac+OS+X+with+PyInstaller%21&amp;summary=The%20interweb%20seem%20to%20incline%20on%20py2app%20when%20it%20come%20to%20deploying%20applications%20on%20mac.%20I%27ve%20tried%20to%20make%20a%20single%20deployable%20.app%20file%20for%20my%20application%20for%20a%20long%20time%20trying%20to%20follow%20these%20instructions%20from%20ars%20technica.%20I%27m%20not%20a%20hacker%20and%20just%20want%20to%20produce%20a%20deployable%20usable%20application%20f&amp;source=Xster.net" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://tech.xster.net/tips/deploy-pyqt-applications-on-mac-os-x-with-pyinstaller/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Moving Bootcamp Partition to New Drive</title>
		<link>http://tech.xster.net/tips/moving-bootcamp-partition-to-new-drive/</link>
		<comments>http://tech.xster.net/tips/moving-bootcamp-partition-to-new-drive/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 06:47:31 +0000</pubDate>
		<dc:creator>xiao</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[Bootcamp]]></category>
		<category><![CDATA[drive]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[migrate]]></category>
		<category><![CDATA[partition]]></category>
		<category><![CDATA[Windows 7]]></category>

		<guid isPermaLink="false">http://tech.xster.net/?p=201</guid>
		<description><![CDATA[I bought a new hard drive. My Windows setup already had extensive amount of software and configurations on it that I didn&#8217;t want to remake. It worked well, which was rare, so I wanted to keep it. Winclone is an excellent free tool that lets you do just that! Unfortunately there wasn&#8217;t much confirmation on [...]]]></description>
			<content:encoded><![CDATA[<p>I bought a new hard drive. My Windows setup already had extensive amount of software and configurations on it that I didn&#8217;t want to remake. It worked well, which was rare, so I wanted to keep it.</p>
<p><a href="http://www.twocanoes.com/winclone/">Winclone</a> is an excellent free tool that lets you do just that! Unfortunately there wasn&#8217;t much confirmation on the inter-web that it has been done with Snow Leopard and Windows 7 64-bit. So I tried just that and it worked flawlessly!<span id="more-201"></span></p>
<ol>
<li>Get the software from the website</li>
<li>Go in preferences, back up to dmg but uncompressed. Remove the pagefile.sys and keep BCD and boot.ini checkboxes</li>
<li>Select your bootcamp drive as source and save image to an external hard drive</li>
<li>Put in your new drive and get your OS X working</li>
<li>Use the bootcamp assistant to make a new bootcamp partition of whichever size you want</li>
<li>Get Winclone again, go to restore, select your previous image and your new partition to restore to</li>
<li>Boot! The disk check might take a while&#8230;</li>
</ol>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-spaced">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://tech.xster.net/tips/moving-bootcamp-partition-to-new-drive/&amp;title=Moving+Bootcamp+Partition+to+New+Drive" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://tech.xster.net/tips/moving-bootcamp-partition-to-new-drive/&amp;t=Moving+Bootcamp+Partition+to+New+Drive" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Moving+Bootcamp+Partition+to+New+Drive+-+http://tech.xster.net/tips/moving-bootcamp-partition-to-new-drive/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://tech.xster.net/tips/moving-bootcamp-partition-to-new-drive/&amp;n=Moving+Bootcamp+Partition+to+New+Drive&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://tech.xster.net/tips/moving-bootcamp-partition-to-new-drive/&amp;title=Moving+Bootcamp+Partition+to+New+Drive" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://tech.xster.net/tips/moving-bootcamp-partition-to-new-drive/&amp;title=Moving+Bootcamp+Partition+to+New+Drive" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://tech.xster.net/tips/moving-bootcamp-partition-to-new-drive/&amp;t=Moving+Bootcamp+Partition+to+New+Drive" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://tech.xster.net/tips/moving-bootcamp-partition-to-new-drive/&amp;title=Moving+Bootcamp+Partition+to+New+Drive" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://tech.xster.net/tips/moving-bootcamp-partition-to-new-drive/&amp;title=Moving+Bootcamp+Partition+to+New+Drive" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://tech.xster.net/tips/moving-bootcamp-partition-to-new-drive/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://tech.xster.net/tips/moving-bootcamp-partition-to-new-drive/&amp;title=Moving+Bootcamp+Partition+to+New+Drive&amp;summary=I%20bought%20a%20new%20hard%20drive.%20My%20Windows%20setup%20already%20had%20extensive%20amount%20of%20software%20and%20configurations%20on%20it%20that%20I%20didn%27t%20want%20to%20remake.%20It%20worked%20well%2C%20which%20was%20rare%2C%20so%20I%20wanted%20to%20keep%20it.%0D%0A%0D%0AWinclone%20is%20an%20excellent%20free%20tool%20that%20lets%20you%20do%20just%20that%21%20Unfortunately%20there%20wasn%27t%20much%20confir&amp;source=Xster.net" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://tech.xster.net/tips/moving-bootcamp-partition-to-new-drive/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arpspoof, Tcpkill, Tcpnice Tutorial</title>
		<link>http://tech.xster.net/tips/arpspoof-tcpkill-tcpnice-tutorial/</link>
		<comments>http://tech.xster.net/tips/arpspoof-tcpkill-tcpnice-tutorial/#comments</comments>
		<pubDate>Wed, 09 Dec 2009 04:56:29 +0000</pubDate>
		<dc:creator>xiao</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[arp]]></category>
		<category><![CDATA[arpspoof]]></category>
		<category><![CDATA[bsd]]></category>
		<category><![CDATA[forwarding]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[ip]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[spoofing]]></category>
		<category><![CDATA[tcpkill]]></category>
		<category><![CDATA[tcpnice]]></category>

		<guid isPermaLink="false">http://tech.xster.net/?p=175</guid>
		<description><![CDATA[Notes to self because I never remember To arpspoof, turn on IP forwarding: echo 1 &#62; /proc/sys/net/ipv4/ip_forward with Linux (might need su) or more permanently, net.ipv4.ip_forward = 1 in /etc/sysctl.conf In BSD/Mac OS X, sysctl -w net.inet.ip.forwarding=1 or net.inet.ip.forwarding = 1 in /etc/sysctl.conf Alternatively, you can also use fragrouter to forward packets with fragrouter -B1 [...]]]></description>
			<content:encoded><![CDATA[<p>Notes to self because I never remember</p>
<p>To arpspoof, turn on IP forwarding:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">echo</span> <span style="color: #000000;">1</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>proc<span style="color: #000000; font-weight: bold;">/</span>sys<span style="color: #000000; font-weight: bold;">/</span>net<span style="color: #000000; font-weight: bold;">/</span>ipv4<span style="color: #000000; font-weight: bold;">/</span>ip_forward</pre></div></div>

<p>with Linux (might need su) or more permanently,</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">net.ipv4.ip_forward = <span style="color: #000000;">1</span></pre></div></div>

<p>in /etc/sysctl.conf<br />
<span id="more-175"></span><br />
In BSD/Mac OS X,</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">sysctl <span style="color: #660033;">-w</span> net.inet.ip.forwarding=<span style="color: #000000;">1</span></pre></div></div>

<p>or</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">net.inet.ip.forwarding = <span style="color: #000000;">1</span></pre></div></div>

<p>in /etc/sysctl.conf</p>
<p>Alternatively, you can also use fragrouter to forward packets with</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">fragrouter <span style="color: #660033;">-B1</span></pre></div></div>

<p>Then to arpspoof</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">arpspoof <span style="color: #660033;">-t</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>victim ip<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>gateway ip<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>


<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">arpspoof <span style="color: #660033;">-t</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>gateway ip<span style="color: #7a0874; font-weight: bold;">&#93;</span> <span style="color: #7a0874; font-weight: bold;">&#91;</span>victim ip<span style="color: #7a0874; font-weight: bold;">&#93;</span></pre></div></div>

<p>Optionally, add</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #000000; font-weight: bold;">&amp;</span> <span style="color: #000000; font-weight: bold;">&gt;</span> <span style="color: #000000; font-weight: bold;">/</span>dev<span style="color: #000000; font-weight: bold;">/</span>null</pre></div></div>

<p>to get rid of output. Trust me, there&#8217;s nothing interesting.</p>
<p>To block sites/ports:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">tcpkill <span style="color: #660033;">-9</span> host www.facebook.com or port <span style="color: #000000;">5432</span></pre></div></div>

<p>To slow down traffic:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">tcpnice net 10.0.0.2 or port <span style="color: #000000;">5432</span></pre></div></div>

<p>Filter expressions are <a href="http://linux.die.net/man/8/tcpdump">here</a></p>
<p>The easiest way to detect this spoofing is to ping something outside your gateway and look for redirects</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-spaced">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://tech.xster.net/tips/arpspoof-tcpkill-tcpnice-tutorial/&amp;title=Arpspoof%2C+Tcpkill%2C+Tcpnice+Tutorial" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://tech.xster.net/tips/arpspoof-tcpkill-tcpnice-tutorial/&amp;t=Arpspoof%2C+Tcpkill%2C+Tcpnice+Tutorial" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Arpspoof%2C+Tcpkill%2C+Tcpnice+Tutorial+-+http://tech.xster.net/tips/arpspoof-tcpkill-tcpnice-tutorial/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://tech.xster.net/tips/arpspoof-tcpkill-tcpnice-tutorial/&amp;n=Arpspoof%2C+Tcpkill%2C+Tcpnice+Tutorial&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://tech.xster.net/tips/arpspoof-tcpkill-tcpnice-tutorial/&amp;title=Arpspoof%2C+Tcpkill%2C+Tcpnice+Tutorial" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://tech.xster.net/tips/arpspoof-tcpkill-tcpnice-tutorial/&amp;title=Arpspoof%2C+Tcpkill%2C+Tcpnice+Tutorial" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://tech.xster.net/tips/arpspoof-tcpkill-tcpnice-tutorial/&amp;t=Arpspoof%2C+Tcpkill%2C+Tcpnice+Tutorial" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://tech.xster.net/tips/arpspoof-tcpkill-tcpnice-tutorial/&amp;title=Arpspoof%2C+Tcpkill%2C+Tcpnice+Tutorial" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://tech.xster.net/tips/arpspoof-tcpkill-tcpnice-tutorial/&amp;title=Arpspoof%2C+Tcpkill%2C+Tcpnice+Tutorial" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://tech.xster.net/tips/arpspoof-tcpkill-tcpnice-tutorial/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://tech.xster.net/tips/arpspoof-tcpkill-tcpnice-tutorial/&amp;title=Arpspoof%2C+Tcpkill%2C+Tcpnice+Tutorial&amp;summary=Notes%20to%20self%20because%20I%20never%20remember%0D%0A%0D%0ATo%20arpspoof%2C%20turn%20on%20IP%20forwarding%3A%0D%0Aecho%201%20%3E%20%2Fproc%2Fsys%2Fnet%2Fipv4%2Fip_forward%0D%0Awith%20Linux%20%28might%20need%20su%29%20or%20more%20permanently%2C%0D%0Anet.ipv4.ip_forward%20%3D%201%0D%0Ain%20%2Fetc%2Fsysctl.conf%0D%0A%0D%0AIn%20BSD%2FMac%20OS%20X%2C%0D%0Asysctl%20-w%20net.inet.ip.forwarding%3D1%0D%0Aor%0D%0Anet.inet.ip.forwarding%20%3D%201&amp;source=Xster.net" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://tech.xster.net/tips/arpspoof-tcpkill-tcpnice-tutorial/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Windows 7 Spooler Continuously Stops on Every Print Action</title>
		<link>http://tech.xster.net/tips/windows-7-spooler-continuously-stops-on-every-print-action/</link>
		<comments>http://tech.xster.net/tips/windows-7-spooler-continuously-stops-on-every-print-action/#comments</comments>
		<pubDate>Sun, 29 Nov 2009 18:42:55 +0000</pubDate>
		<dc:creator>xiao</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Bootcamp]]></category>
		<category><![CDATA[Fusion]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[Macbook]]></category>
		<category><![CDATA[print]]></category>
		<category><![CDATA[spooler]]></category>
		<category><![CDATA[ThinPrint]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[VMWare]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://tech.xster.net/?p=154</guid>
		<description><![CDATA[Spooler simply stops every time you try to print or add a printer or something? You can keep restarting it but will never be able to print something? I won&#8217;t pretend to know your problem since it depends on potentially so many things but if you have a MacBook, one thing worth investigating is have [...]]]></description>
			<content:encoded><![CDATA[<p>Spooler simply stops every time you try to print or add a printer or something? You can keep restarting it but will never be able to print something? I won&#8217;t pretend to know your problem since it depends on potentially so many things but if you have a MacBook, one thing worth investigating is have you been running VMWare Fusion? The ThinPrint drivers of the VMWare Tools seem to be able to cause this problem when you run the same machine in BootCamp mode. Unfortunately, you can&#8217;t just uninstall it. Uninstalling VMWare Tools from inside virtual mode seems to solve this problem</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-spaced">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://tech.xster.net/tips/windows-7-spooler-continuously-stops-on-every-print-action/&amp;title=Windows+7+Spooler+Continuously+Stops+on+Every+Print+Action" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://tech.xster.net/tips/windows-7-spooler-continuously-stops-on-every-print-action/&amp;t=Windows+7+Spooler+Continuously+Stops+on+Every+Print+Action" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Windows+7+Spooler+Continuously+Stops+on+Every+Print+Action+-+http://tech.xster.net/tips/windows-7-spooler-continuously-stops-on-every-print-action/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://tech.xster.net/tips/windows-7-spooler-continuously-stops-on-every-print-action/&amp;n=Windows+7+Spooler+Continuously+Stops+on+Every+Print+Action&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://tech.xster.net/tips/windows-7-spooler-continuously-stops-on-every-print-action/&amp;title=Windows+7+Spooler+Continuously+Stops+on+Every+Print+Action" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://tech.xster.net/tips/windows-7-spooler-continuously-stops-on-every-print-action/&amp;title=Windows+7+Spooler+Continuously+Stops+on+Every+Print+Action" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://tech.xster.net/tips/windows-7-spooler-continuously-stops-on-every-print-action/&amp;t=Windows+7+Spooler+Continuously+Stops+on+Every+Print+Action" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://tech.xster.net/tips/windows-7-spooler-continuously-stops-on-every-print-action/&amp;title=Windows+7+Spooler+Continuously+Stops+on+Every+Print+Action" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://tech.xster.net/tips/windows-7-spooler-continuously-stops-on-every-print-action/&amp;title=Windows+7+Spooler+Continuously+Stops+on+Every+Print+Action" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://tech.xster.net/tips/windows-7-spooler-continuously-stops-on-every-print-action/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://tech.xster.net/tips/windows-7-spooler-continuously-stops-on-every-print-action/&amp;title=Windows+7+Spooler+Continuously+Stops+on+Every+Print+Action&amp;summary=Spooler%20simply%20stops%20every%20time%20you%20try%20to%20print%20or%20add%20a%20printer%20or%20something%3F%20You%20can%20keep%20restarting%20it%20but%20will%20never%20be%20able%20to%20print%20something%3F%20I%20won%27t%20pretend%20to%20know%20your%20problem%20since%20it%20depends%20on%20potentially%20so%20many%20things%20but%20if%20you%20have%20a%20MacBook%2C%20one%20thing%20worth%20investigating%20is%20have%20y&amp;source=Xster.net" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://tech.xster.net/tips/windows-7-spooler-continuously-stops-on-every-print-action/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PyQt and Snow Leopard</title>
		<link>http://tech.xster.net/tips/pyqt-and-snow-leopard/</link>
		<comments>http://tech.xster.net/tips/pyqt-and-snow-leopard/#comments</comments>
		<pubDate>Sat, 14 Nov 2009 23:11:12 +0000</pubDate>
		<dc:creator>xiao</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[32]]></category>
		<category><![CDATA[64]]></category>
		<category><![CDATA[i386]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[PyQt]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Qt]]></category>
		<category><![CDATA[SIP]]></category>
		<category><![CDATA[Snow Leopard]]></category>

		<guid isPermaLink="false">http://tech.xster.net/?p=148</guid>
		<description><![CDATA[There are some 64-bit related issues when using PyQt and Snow Leopard. There&#8217;s the way to resolve it by reverting to 32-bits: Get the latest versions of PyQt and SIP. You need Qt installed of course. Configure SIP using python configure.py --arch i386 Configure PyQt using python configure.py --use-arch=i386 Finally, make sure your python is [...]]]></description>
			<content:encoded><![CDATA[<p>There are some 64-bit related issues when using PyQt and Snow Leopard. There&#8217;s the way to resolve it by reverting to 32-bits:</p>
<ol>
<li>Get the <a href="http://www.riverbankcomputing.co.uk/software/pyqt/download">latest versions</a> of PyQt and SIP. You need Qt installed of course.</li>
<li>Configure SIP using</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">python configure.py <span style="color: #660033;">--arch</span> i386</pre></div></div>

<li>Configure PyQt using</li>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">python configure.py <span style="color: #660033;">--use-arch</span>=i386</pre></div></div>

<li>Finally, make sure your python is running in 32-bit mode because current Qt doesn&#8217;t support 64-bit mode. Add

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">VERSIONER_PYTHON_PREFER_32_BIT</span>=<span style="color: #c20cb9; font-weight: bold;">yes</span></pre></div></div>

<p> to your .bash_profile in your home directory</p>
</li>
<li>If your Python still refuses to run in 32 bit mode, try

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">arch</span> <span style="color: #660033;">-i386</span> python</pre></div></div>

</li>
</ol>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-spaced">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://tech.xster.net/tips/pyqt-and-snow-leopard/&amp;title=PyQt+and+Snow+Leopard" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://tech.xster.net/tips/pyqt-and-snow-leopard/&amp;t=PyQt+and+Snow+Leopard" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=PyQt+and+Snow+Leopard+-+http://tech.xster.net/tips/pyqt-and-snow-leopard/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://tech.xster.net/tips/pyqt-and-snow-leopard/&amp;n=PyQt+and+Snow+Leopard&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://tech.xster.net/tips/pyqt-and-snow-leopard/&amp;title=PyQt+and+Snow+Leopard" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://tech.xster.net/tips/pyqt-and-snow-leopard/&amp;title=PyQt+and+Snow+Leopard" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://tech.xster.net/tips/pyqt-and-snow-leopard/&amp;t=PyQt+and+Snow+Leopard" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://tech.xster.net/tips/pyqt-and-snow-leopard/&amp;title=PyQt+and+Snow+Leopard" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://tech.xster.net/tips/pyqt-and-snow-leopard/&amp;title=PyQt+and+Snow+Leopard" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://tech.xster.net/tips/pyqt-and-snow-leopard/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://tech.xster.net/tips/pyqt-and-snow-leopard/&amp;title=PyQt+and+Snow+Leopard&amp;summary=There%20are%20some%2064-bit%20related%20issues%20when%20using%20PyQt%20and%20Snow%20Leopard.%20There%27s%20the%20way%20to%20resolve%20it%20by%20reverting%20to%2032-bits%3A%0D%0A%0D%0AGet%20the%20latest%20versions%20of%20PyQt%20and%20SIP.%20You%20need%20Qt%20installed%20of%20course.%0D%0AConfigure%20SIP%20using%0D%0Apython%20configure.py%20--arch%20i386%0D%0AConfigure%20PyQt%20using%0D%0Apython%20configure.py%20&amp;source=Xster.net" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://tech.xster.net/tips/pyqt-and-snow-leopard/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Open Current Terminal Directory in Finder</title>
		<link>http://tech.xster.net/tips/open-current-terminal-directory-in-finder/</link>
		<comments>http://tech.xster.net/tips/open-current-terminal-directory-in-finder/#comments</comments>
		<pubDate>Sun, 19 Apr 2009 18:05:00 +0000</pubDate>
		<dc:creator>xiao</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[directory]]></category>
		<category><![CDATA[finder]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[terminal]]></category>

		<guid isPermaLink="false">http://tech.xster.net/?p=50</guid>
		<description><![CDATA[This bugged me today so here&#8217;s the one line solution open . So after applying the Perfect Visor from my previous blog post, this can be even faster to navigate to awkward Mac style directories than remembering the even more awkward Finder key combo to &#8220;Go to Folder&#8221; open ~/Library/Logs/CrashReporter/ Because you can tab-complete or [...]]]></description>
			<content:encoded><![CDATA[<p>This bugged me today so here&#8217;s the one line solution</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">open .</pre></div></div>

<p>So after applying the Perfect Visor from my <a href="http://tech.xster.net/tips/the-perfect-visor-reborn/">previous blog post</a>, this can be even faster to navigate to awkward Mac style directories than remembering the even more awkward Finder key combo to &#8220;Go to Folder&#8221;</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">open ~<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>Logs<span style="color: #000000; font-weight: bold;">/</span>CrashReporter<span style="color: #000000; font-weight: bold;">/</span></pre></div></div>

<p>Because you can tab-complete or to go hidden folders</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-spaced">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://tech.xster.net/tips/open-current-terminal-directory-in-finder/&amp;title=Open+Current+Terminal+Directory+in+Finder" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://tech.xster.net/tips/open-current-terminal-directory-in-finder/&amp;t=Open+Current+Terminal+Directory+in+Finder" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Open+Current+Terminal+Directory+in+Finder+-+http://tech.xster.net/tips/open-current-terminal-directory-in-finder/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://tech.xster.net/tips/open-current-terminal-directory-in-finder/&amp;n=Open+Current+Terminal+Directory+in+Finder&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://tech.xster.net/tips/open-current-terminal-directory-in-finder/&amp;title=Open+Current+Terminal+Directory+in+Finder" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://tech.xster.net/tips/open-current-terminal-directory-in-finder/&amp;title=Open+Current+Terminal+Directory+in+Finder" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://tech.xster.net/tips/open-current-terminal-directory-in-finder/&amp;t=Open+Current+Terminal+Directory+in+Finder" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://tech.xster.net/tips/open-current-terminal-directory-in-finder/&amp;title=Open+Current+Terminal+Directory+in+Finder" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://tech.xster.net/tips/open-current-terminal-directory-in-finder/&amp;title=Open+Current+Terminal+Directory+in+Finder" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://tech.xster.net/tips/open-current-terminal-directory-in-finder/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://tech.xster.net/tips/open-current-terminal-directory-in-finder/&amp;title=Open+Current+Terminal+Directory+in+Finder&amp;summary=This%20bugged%20me%20today%20so%20here%27s%20the%20one%20line%20solution%0D%0Aopen%20.%0D%0ASo%20after%20applying%20the%20Perfect%20Visor%20from%20my%20previous%20blog%20post%2C%20this%20can%20be%20even%20faster%20to%20navigate%20to%20awkward%20Mac%20style%20directories%20than%20remembering%20the%20even%20more%20awkward%20Finder%20key%20combo%20to%20%22Go%20to%20Folder%22%0D%0Aopen%20%7E%2FLibrary%2FLogs%2FCrashRepor&amp;source=Xster.net" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://tech.xster.net/tips/open-current-terminal-directory-in-finder/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quake Style Drop Down Terminal for Mac</title>
		<link>http://tech.xster.net/tips/the-perfect-visor-reborn/</link>
		<comments>http://tech.xster.net/tips/the-perfect-visor-reborn/#comments</comments>
		<pubDate>Sat, 07 Mar 2009 22:52:28 +0000</pubDate>
		<dc:creator>xiao</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[AppleScript]]></category>
		<category><![CDATA[blacktree]]></category>
		<category><![CDATA[command line]]></category>
		<category><![CDATA[hack]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[perfect]]></category>
		<category><![CDATA[prompt]]></category>
		<category><![CDATA[quake]]></category>
		<category><![CDATA[SIMBL]]></category>
		<category><![CDATA[terminal]]></category>
		<category><![CDATA[visor]]></category>

		<guid isPermaLink="false">http://tech.xster.net/?p=10</guid>
		<description><![CDATA[The Visor Terminal, one of my most used hack-features. This guide helps you put your Mac Terminal to the zenith of usability and convenience. The drop-down Quake-style terminal window is extremely convenient to run commands without disrupting the current workflow. Unfortunately the default install is very messy. It needs an open terminal program running in [...]]]></description>
			<content:encoded><![CDATA[<p style="text-align: left;">The <a href="http://visor.binaryage.com/" target="_blank">Visor Terminal</a>, one of my most used hack-features. This guide helps you put your Mac Terminal to the zenith of usability and convenience.</p>
<div id="attachment_11" class="wp-caption alignleft" style="width: 650px"><img class="size-full wp-image-11" title="visor" src="http://tech.xster.net/wp-content/uploads/2009/03/visor.jpg" alt="Visor Terminal" width="640" height="261" /><p class="wp-caption-text">Visor Terminal</p></div>
<p>The drop-down Quake-style terminal window is extremely convenient to run commands without disrupting the current workflow. Unfortunately the default install is very messy. It needs an open terminal program running in the background which can&#8217;t be closed and takes up valuable Dock space.<span id="more-10"></span></p>
<p>Then comes a blog from <a href="http://blog.wombert.de/" target="_blank">David Zülke</a> who solved the problem with a <a href="http://blog.wombert.de/2006/11/04/the-perfect-visor/" target="_blank">hack</a> which essentially creates a second terminal program, links the visor extension to it and makes that second terminal always invisible and not appearing in the Dock by playing with the Info.plist file. The world was beautiful until I bought a new Macbook and tried to reinstall Visor but only to find out that his instructions are no longer hosted. So here are the instructions again for those who want a Perfect Visor. This is for version 1.5 &#8211; 2.2 which runs on Leopard &#8211; Snow Leopard.</p>
<ol>
<li>Install <a href="http://www.culater.net/software/SIMBL/SIMBL.php" target="_blank">SIMBL </a></li>
<li>This is not necessary but it&#8217;s a lot easier if you have <a href="http://developer.apple.com/TOOLS/xcode/" target="_blank">XCode</a> to use its .plist editor tool.</li>
<li>Right-click the extracted “Visor” file, select “Show Package Contents” and double-click “Info.plist” in the “Contents” folder[1]. Go to <code>Root</code>, <code>SIMBLTargetApplications</code>, <code>0</code> and change <code>BundleIdentifier</code> to “com.apple.VisorTerminal”. Save and close. You can now install the bundle according to the Visor install instructions (i.e. move it to ~/Library/Application Support/SIMBL/Plugins or the “global” equivalent in /Library).</li>
<li>Go to your Applications/Utilities folder and duplicate Terminal. Rename the copy to “VisorTerminal”, then right-click it and choose “Show Package Contents”, and double-click “Info.plist” in the “Contents” folder. Go to <code>Root</code> and change <code>CFBundleIdentifier</code> to “com.apple.VisorTerminal”. Save and close.</li>
<li>Start VisorTerminal. Go to Terminal menu and click Visor Preferences. Customize it to your suiting.</li>
<li>Make it run on start up. You can right click the VisorTerminal on Dock and choose &#8220;Open at Login&#8221;</li>
<li>Make it invisible. Right-click the VisorTerminal, choose “Show Package contents” and double-click Info.plist in the Contents folder. Add a new Sibling inside the root element called <code>LSUIElement</code>, it must be of type “Number” and have the value “1″ (without the quotes, of course). Save and quit.</li>
<li>Done and done! Now the Visor will start on startup and won&#8217;t show up anywhere until you press the hotkey.  If you don&#8217;t like your previous preferences, you can&#8217;t right click or use menu anymore but pressing cmd-, will bring up the preferences window for the terminal</li>
</ol>
<p>Currently, there&#8217;s a bug with SIMBL 0.97 that causes the application to stop using SIMBL when LSUIElement is set to 1. To solve this issue, use AppleScript with the following command:</p>

<div class="wp_syntax"><div class="code"><pre class="applescript" style="font-family:monospace;"><span style="color: #ff0033; font-weight: bold;">tell</span> <span style="color: #0066ff;">application</span> <span style="color: #009900;">&quot;VisorTerminal&quot;</span>
	inject SIMBL <span style="color: #0066ff;">into</span> Snow Leopard
	<span style="color: #0066ff;">activate</span>
<span style="color: #ff0033; font-weight: bold;">end</span> <span style="color: #ff0033; font-weight: bold;">tell</span></pre></div></div>

<p>Then save the script as a .app in a desired location. Make this run at startup instead of VisorTerminal.</p>
<p>The next steps are optional but your default Darwin terminal prompt  looks like shit. Here&#8217;s how to customize it.</p>
<ol>
<li>Press your hotkey or open Terminal</li>
<li>Go to your home directory

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> ~</pre></div></div>

<p>You are there by default</li>
<li>Change your profile file

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">mate .bash_profile</pre></div></div>

<p>TextMate is my favorite editor. If you don&#8217;t use it, use <code>nano</code> instead of <code>mate</code></li>
<li>Type

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> PS1 = <span style="color: #ff0000;">&quot; &quot;</span></pre></div></div>

<p>And customize your prompt with the following keywords between the quotes</p>
<ul>
<li>\d &#8211; Current date</li>
<li>\t &#8211; Current time</li>
<li>\h &#8211; Host name</li>
<li>\# &#8211; Command number</li>
<li>\u &#8211; User name</li>
<li>\W &#8211; Current working directory (ie: Desktop/)</li>
<li>\w &#8211; Current working directory, full path (ie: /Users/Admin/Desktop)</li>
</ul>
<p>ie.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">export</span> <span style="color: #007800;">PS1</span>=<span style="color: #ff0000;">&quot;\u@\h\w: &quot;</span></pre></div></div>

</li>
<li>Save and restart your terminal</li>
</ol>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-spaced">
<ul class="socials">
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://tech.xster.net/tips/the-perfect-visor-reborn/&amp;title=Quake+Style+Drop+Down+Terminal+for+Mac" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-facebook">
			<a href="http://www.facebook.com/share.php?v=4&amp;src=bm&amp;u=http://tech.xster.net/tips/the-perfect-visor-reborn/&amp;t=Quake+Style+Drop+Down+Terminal+for+Mac" rel="nofollow" class="external" title="Share this on Facebook">Share this on Facebook</a>
		</li>
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Quake+Style+Drop+Down+Terminal+for+Mac+-+http://tech.xster.net/tips/the-perfect-visor-reborn/&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-blogger">
			<a href="http://www.blogger.com/blog_this.pyra?t&amp;u=http://tech.xster.net/tips/the-perfect-visor-reborn/&amp;n=Quake+Style+Drop+Down+Terminal+for+Mac&amp;pli=1" rel="nofollow" class="external" title="Blog this on Blogger">Blog this on Blogger</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://tech.xster.net/tips/the-perfect-visor-reborn/&amp;title=Quake+Style+Drop+Down+Terminal+for+Mac" rel="nofollow" class="external" title="Share this on Reddit">Share this on Reddit</a>
		</li>
		<li class="shr-stumbleupon">
			<a href="http://www.stumbleupon.com/submit?url=http://tech.xster.net/tips/the-perfect-visor-reborn/&amp;title=Quake+Style+Drop+Down+Terminal+for+Mac" rel="nofollow" class="external" title="Stumble upon something good? Share it on StumbleUpon">Stumble upon something good? Share it on StumbleUpon</a>
		</li>
		<li class="shr-hackernews">
			<a href="http://news.ycombinator.com/submitlink?u=http://tech.xster.net/tips/the-perfect-visor-reborn/&amp;t=Quake+Style+Drop+Down+Terminal+for+Mac" rel="nofollow" class="external" title="Submit this to Hacker News">Submit this to Hacker News</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://tech.xster.net/tips/the-perfect-visor-reborn/&amp;title=Quake+Style+Drop+Down+Terminal+for+Mac" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-slashdot">
			<a href="http://slashdot.org/bookmark.pl?url=http://tech.xster.net/tips/the-perfect-visor-reborn/&amp;title=Quake+Style+Drop+Down+Terminal+for+Mac" rel="nofollow" class="external" title="Submit this to SlashDot">Submit this to SlashDot</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://tech.xster.net/tips/the-perfect-visor-reborn/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-linkedin">
			<a href="http://www.linkedin.com/shareArticle?mini=true&amp;url=http://tech.xster.net/tips/the-perfect-visor-reborn/&amp;title=Quake+Style+Drop+Down+Terminal+for+Mac&amp;summary=The%20Visor%20Terminal%2C%20one%20of%20my%20most%20used%20hack-features.%20This%20guide%20helps%20you%20put%20your%20Mac%20Terminal%20to%20the%20zenith%20of%20usability%20and%20convenience.%0D%0A%0D%0A%0D%0A%0D%0A%0D%0AThe%20drop-down%20Quake-style%20terminal%20window%20is%20extremely%20convenient%20to%20run%20commands%20without%20disrupting%20the%20current%20workflow.%20Unfortunately%20the%20default%20&amp;source=Xster.net" rel="nofollow" class="external" title="Share this on LinkedIn">Share this on LinkedIn</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>

]]></content:encoded>
			<wfw:commentRss>http://tech.xster.net/tips/the-perfect-visor-reborn/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
