<?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>jon zobrist (dot) com</title>
	<atom:link href="http://jonzobrist.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://jonzobrist.com</link>
	<description>Unix, Linux, IT, Meat</description>
	<lastBuildDate>Tue, 03 Aug 2010 23:56:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>LCOD &#8211; 7.24.10 &#8211; Get su to respect /etc/security/limits.conf</title>
		<link>http://jonzobrist.com/2010/07/24/lcod-7-24-10-get-su-to-respect-etcsecuritylimits-conf/</link>
		<comments>http://jonzobrist.com/2010/07/24/lcod-7-24-10-get-su-to-respect-etcsecuritylimits-conf/#comments</comments>
		<pubDate>Sat, 24 Jul 2010 14:00:29 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Command of the Day]]></category>
		<category><![CDATA[Linux Support - Servers]]></category>
		<category><![CDATA[authentication]]></category>
		<category><![CDATA[pam]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/?p=151</guid>
		<description><![CDATA[Get su to respect settings in /etc/security/limits.conf


Related posts:<ol><li><a href='http://jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/' rel='bookmark' title='Permanent Link: LCOD – 4.12.10 – Quick Mysqlreport to e-mail setup'>LCOD – 4.12.10 – Quick Mysqlreport to e-mail setup</a> <small>This will be a quick install to setup your server...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>No idea why this isn&#8217;t the default on the latest Ubuntu, as it is for every other service in /etc/pam.d/</p>
<p>Edit /etc/pam.d/su</p>
<p>Find, and uncomment the line that says</p>
<p># session    required   pam_limits.so</p>
<p>Changes take effect on use, so you&#8217;ll have to re-su to get this to take effect.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=LCOD+-+7.24.10+-+Get+su+to+respect+%2Fetc%2Fsecurity%2Flimits.conf+-+http://b2l.me/acb86m&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fjonzobrist.com%2F2010%2F07%2F24%2Flcod-7-24-10-get-su-to-respect-etcsecuritylimits-conf%2F&amp;t=LCOD+-+7.24.10+-+Get+su+to+respect+%2Fetc%2Fsecurity%2Flimits.conf" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://jonzobrist.com/2010/07/24/lcod-7-24-10-get-su-to-respect-etcsecuritylimits-conf/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jonzobrist.com/2010/07/24/lcod-7-24-10-get-su-to-respect-etcsecuritylimits-conf/&amp;title=LCOD+-+7.24.10+-+Get+su+to+respect+%2Fetc%2Fsecurity%2Flimits.conf" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jonzobrist.com/2010/07/24/lcod-7-24-10-get-su-to-respect-etcsecuritylimits-conf/&amp;title=LCOD+-+7.24.10+-+Get+su+to+respect+%2Fetc%2Fsecurity%2Flimits.conf" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://jonzobrist.com/2010/07/24/lcod-7-24-10-get-su-to-respect-etcsecuritylimits-conf/&amp;title=LCOD+-+7.24.10+-+Get+su+to+respect+%2Fetc%2Fsecurity%2Flimits.conf&amp;desc=Get%20su%20to%20respect%20settings%20in%20%2Fetc%2Fsecurity%2Flimits.conf" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jonzobrist.com/2010/07/24/lcod-7-24-10-get-su-to-respect-etcsecuritylimits-conf/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://jonzobrist.com/2010/07/24/lcod-7-24-10-get-su-to-respect-etcsecuritylimits-conf/&amp;bm_description=LCOD+-+7.24.10+-+Get+su+to+respect+%2Fetc%2Fsecurity%2Flimits.conf&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://jonzobrist.com/2010/07/24/lcod-7-24-10-get-su-to-respect-etcsecuritylimits-conf/&amp;title=LCOD+-+7.24.10+-+Get+su+to+respect+%2Fetc%2Fsecurity%2Flimits.conf" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jonzobrist.com/2010/07/24/lcod-7-24-10-get-su-to-respect-etcsecuritylimits-conf/&amp;title=LCOD+-+7.24.10+-+Get+su+to+respect+%2Fetc%2Fsecurity%2Flimits.conf" 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://jonzobrist.com/2010/07/24/lcod-7-24-10-get-su-to-respect-etcsecuritylimits-conf/&amp;title=LCOD+-+7.24.10+-+Get+su+to+respect+%2Fetc%2Fsecurity%2Flimits.conf" 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-technorati">
			<a href="http://technorati.com/faves?add=http://jonzobrist.com/2010/07/24/lcod-7-24-10-get-su-to-respect-etcsecuritylimits-conf/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/' rel='bookmark' title='Permanent Link: LCOD – 4.12.10 – Quick Mysqlreport to e-mail setup'>LCOD – 4.12.10 – Quick Mysqlreport to e-mail setup</a> <small>This will be a quick install to setup your server...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://jonzobrist.com/2010/07/24/lcod-7-24-10-get-su-to-respect-etcsecuritylimits-conf/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LCOD &#8211; 7.7.10 &#8211; Rebuilding and checking a Linux software RAID array</title>
		<link>http://jonzobrist.com/2010/07/07/lcod-7-7-10-rebuilding-and-checking-a-linux-software-raid-array/</link>
		<comments>http://jonzobrist.com/2010/07/07/lcod-7-7-10-rebuilding-and-checking-a-linux-software-raid-array/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 09:26:26 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Command of the Day]]></category>
		<category><![CDATA[Linux Support - Servers]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/?p=144</guid>
		<description><![CDATA[Recovering an unclean ext3 or reiserfs partition when it's on a software RAID array in Linux - HOWTO.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Often times you need to recover a disk manually, as the automatic disk check (fsck) is not willing to risk data deletion. I have yet to find an instance where answering no to it&#8217;s (fsck&#8217;s) many requests to fix things has helped in getting data back, or in getting a server back up and running.</p>
<p>With that in mind, I pretty much always run fsck -y on a filesystem when it&#8217;s unwilling to mount due to an unclean mount (hard reboot/power failure/etc). This has always been done with ext3 or resierfs journaling file systems, and I&#8217;ve yet to notice any data loss, although the risk always exists.</p>
<p>As with any tip online, you proceed at your own risk.</p>
<p>So the standard procedure to recover a disk that won&#8217;t fsck on it&#8217;s own is simple, during it&#8217;s boot process it detects the drive was unmounted uncleanly (this is the default, and every ext2 or 3 drive is marked unclean when it is mounted, and only marked unclean when it is unmounted, the theory being that if it&#8217;s not unmounted then there is potentially lost or corrupt data.), and it starts running fsck on it. It will usually give you a progress indicator, and if fsck finds any problems it drops you to a shell, where you can manually repair the disk, with fsck -y /dev/XXX.</p>
<p>However, it seems, that often if the drive is a Linux software RAID partition, then it simply reboots, and trying to boot into single user mode, or with the drive in read only mode, all fail, and the system either loops a failing fsck, or reboots, or both, ad nausea m.</p>
<p>To the rescue is any Linux live CD. Lately, I prefer a Ubuntu install in live mode, but previously to that I really liked Knoppix. Boot it up, get to a command line, and follow these steps.</p>
<p>Overview is :</p>
<ol>
<li>Boot up and get a root command line, (sudo su / su / single user mode)</li>
<li>Scan the RAID devices and build mdadm.conf file</li>
<li>Assemble each RAID device</li>
<li>fsck -y each RAID device</li>
<li>Reboot into normal / non-live CD mode</li>
<li>Success!</li>
</ol>
<p>Most newer Linux store mdadm.conf in /etc/mdadm/mdadm.conf, some will have it in /etc/mdadm.conf, and some simply won&#8217;t have it.</p>
<p>Use ls to find which one your live CD is using, and then make sure to redirect the output there. This will assume it&#8217;s /etc/mdadm/mdadm.conf</p>
<p>Once booted, at the command prompt, as root, type (assuming you&#8217;re using either RAID-0 or RAID-1, and you have 3 partitions)</p>
<pre>modprobe md
modprobe raid1
modprobe raid0
mdadm --examine --scan &gt;&gt; /etc/mdadm/mdadm.conf
mdadm /dev/md2 --assemble
mdadm /dev/md1 --assemble
mdadm /dev/md0 --assemble
cat /proc/mdstat
#verify your RAID arrays are all disks complete (should show UU)
#now check each one
fsck -y /dev/md0
fsck -y /dev/md1
fsck -y /dev/md2
#now reboot and cross your fingers it all comes up good
reboot
</pre>
<p>Some notes:<br />
If the disk isn&#8217;t heavily used, or you are using ext3 or resierfs, then you stand a decent chance of not losing any data with a fsck -y of the file system.</p>
<p>If the power was lost, or the machine locked up you may lose the last little bit of data, even on a journaled file system.</p>
<p>RAID-1 is awesome, and this can be done with a software RAID-1 even if one of the drives is failed. You can also just mount the disk without RAID, and operate as if it never was in an array.</p>
<p>You can do other maintenance on the drives, such as mount them (mount /dev/md2 /mnt/md2) and modify/copy/backup data/etc instead of, or in addition to, fsck&#8217;ing them.</p>
<p>I&#8217;ve had the best luck with ext3 and resierfs. I&#8217;ve read bad things about XFS, JFS, and other file systems.</p>
<p>I would love for Linux to support ZFS, as I&#8217;ve played with it on Open Solaris, and Sun&#8217;s VM of their storage appliance, and it seems nice.</p>
<p>Enjoy!</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=LCOD+-+7.7.10+-+Rebuilding+and+checking+a+Linux+software+RAID+array+-+http://b2l.me/9exn3&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fjonzobrist.com%2F2010%2F07%2F07%2Flcod-7-7-10-rebuilding-and-checking-a-linux-software-raid-array%2F&amp;t=LCOD+-+7.7.10+-+Rebuilding+and+checking+a+Linux+software+RAID+array" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://jonzobrist.com/2010/07/07/lcod-7-7-10-rebuilding-and-checking-a-linux-software-raid-array/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jonzobrist.com/2010/07/07/lcod-7-7-10-rebuilding-and-checking-a-linux-software-raid-array/&amp;title=LCOD+-+7.7.10+-+Rebuilding+and+checking+a+Linux+software+RAID+array" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jonzobrist.com/2010/07/07/lcod-7-7-10-rebuilding-and-checking-a-linux-software-raid-array/&amp;title=LCOD+-+7.7.10+-+Rebuilding+and+checking+a+Linux+software+RAID+array" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://jonzobrist.com/2010/07/07/lcod-7-7-10-rebuilding-and-checking-a-linux-software-raid-array/&amp;title=LCOD+-+7.7.10+-+Rebuilding+and+checking+a+Linux+software+RAID+array&amp;desc=Recovering%20an%20unclean%20ext3%20or%20reiserfs%20partition%20when%20it%27s%20on%20a%20software%20RAID%20array%20in%20Linux%20-%20HOWTO." rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jonzobrist.com/2010/07/07/lcod-7-7-10-rebuilding-and-checking-a-linux-software-raid-array/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://jonzobrist.com/2010/07/07/lcod-7-7-10-rebuilding-and-checking-a-linux-software-raid-array/&amp;bm_description=LCOD+-+7.7.10+-+Rebuilding+and+checking+a+Linux+software+RAID+array&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://jonzobrist.com/2010/07/07/lcod-7-7-10-rebuilding-and-checking-a-linux-software-raid-array/&amp;title=LCOD+-+7.7.10+-+Rebuilding+and+checking+a+Linux+software+RAID+array" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jonzobrist.com/2010/07/07/lcod-7-7-10-rebuilding-and-checking-a-linux-software-raid-array/&amp;title=LCOD+-+7.7.10+-+Rebuilding+and+checking+a+Linux+software+RAID+array" 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://jonzobrist.com/2010/07/07/lcod-7-7-10-rebuilding-and-checking-a-linux-software-raid-array/&amp;title=LCOD+-+7.7.10+-+Rebuilding+and+checking+a+Linux+software+RAID+array" 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-technorati">
			<a href="http://technorati.com/faves?add=http://jonzobrist.com/2010/07/07/lcod-7-7-10-rebuilding-and-checking-a-linux-software-raid-array/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://jonzobrist.com/2010/07/07/lcod-7-7-10-rebuilding-and-checking-a-linux-software-raid-array/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Freecreditreport.com is a SCAM, stay away!</title>
		<link>http://jonzobrist.com/2010/06/14/freecreditreport-com-is-a-scam-stay-away/</link>
		<comments>http://jonzobrist.com/2010/06/14/freecreditreport-com-is-a-scam-stay-away/#comments</comments>
		<pubDate>Mon, 14 Jun 2010 20:31:58 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Scams]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/?p=140</guid>
		<description><![CDATA[Freecreditreport.com is a SCAM, they are liars, they cheat, they steal, they should be thrown in jail, and put out of business.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Experian/FreeCreditReport.com is a SCAM!</p>
<p>If you ever fell for their &#8216;free trial&#8217;, check the card you used, it&#8217;s likely they are still charging you.</p>
<p>I opened a free trial account with freecreditreport.com in which I was told I would have 30 days to cancel.<br />
I downloaded my free credit report, and promptly called them to cancel my account.<br />
I was told the account was cancelled.<br />
A month or so later I noticed I was charged by Truecredit at 800-493-3292<br />
I called them and attempted to cancel again.<br />
Finally after speaking and arguing with several people I was told the account was cancelled.<br />
I have been charged monthly since then.</p>
<p>I&#8217;m not going to call them yet, this time I filed a dispute for every charge from them with American Express.</p>
<p>We&#8217;ll see how that goes. If it doesn&#8217;t go well, I will take them to small claims court.</p>
<p><a title="Bunch of liars and scammers" href="http://www.freecreditreport.com/">Don&#8217;t ever go here, these guys are a bunch of dirty scammers!</a></p>
<p>I went to their website (linked above), and had a good laugh at the disclaimer at the top.</p>
<div id="topdisclosure_alt"><small>THIS NOTICE IS REQUIRED BY LAW. Read  more at <a title="www.ftc.gov/freereports" onclick="s_objectID=&quot;http://www.ftc.gov/freereports_1&quot;;return  this.s_oc?this.s_oc(e):true" rel="nofollow" href="http://www.ftc.gov/freereports" target="_blank">FTC.GOV</a></small></p>
<h1>You have the right to a free credit report from <a title="www.annualcreditreport.com" onclick="var  x=&quot;.tl(&quot;;s_objectID=&quot;http://www.freecreditreport.com/ACRRedirect.aspx?WT.svl=acrHome&amp;SiteVersionID=840&amp;SiteID=100133&amp;s_1&quot;;return  this.s_oc?this.s_oc(e):true" rel="nofollow" href="http://www.freecreditreport.com/ACRRedirect.aspx?WT.svl=acrHome&amp;SiteVersionID=840&amp;SiteID=100133&amp;sc=669974&amp;bcd=&amp;campaignID=22" target="_blank">AnnualCreditReport.com</a> or  877-322-8228, the ONLY authorized source under federal law.</h1>
<div id="acrbtn"><a title="www.annualcreditreport.com" onclick="var  x=&quot;.tl(&quot;;s_objectID=&quot;http://www.freecreditreport.com/ACRRedirect.aspx?WT.svl=acrHome&amp;SiteVersionID=840&amp;SiteID=100133&amp;s_2&quot;;return  this.s_oc?this.s_oc(e):true" rel="nofollow" href="http://www.freecreditreport.com/ACRRedirect.aspx?WT.svl=acrHome&amp;SiteVersionID=840&amp;SiteID=100133&amp;sc=669974&amp;bcd=&amp;campaignID=22" target="_blank">Take me to the authorized source</a></div>
</div>
<div><a title="Free Credit Report is Scammers" rel="lightbox[pics140]" href="http://jonzobrist.com/wp-content/uploads/2010/06/free-credit-report-scammers.png"><img class="attachment wp-att-141 alignleft" src="http://jonzobrist.com/wp-content/uploads/2010/06/free-credit-report-scammers.thumbnail.png" alt="Free Credit Report is Scammers" width="200" height="136" /></a></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div>Some helpful links that came up googling &#8216;freecreditreport.com scam&#8217;</div>
<div>
<a title="freecreditreport.com is a SCAM" href="http://www.knowzy.com/Personal_Finance/Credit/Credit_Monitoring_Is_A_Rip_Off-StepByStep-Canceling_CIC_TripleAdvantage.htm">http://www.knowzy.com/Personal_Finance/Credit/Credit_Monitoring_Is_A_Rip_Off-StepByStep-Canceling_CIC_TripleAdvantage.htm</a><br />
<a title="freecreditreport.com is a SCAM" href="http://yasser.hastalent.net/2009/07/08/stop-freecreditreportcom-scam/">http://yasser.hastalent.net/2009/07/08/stop-freecreditreportcom-scam/</a><br />
<a title="freecreditreport.com is a SCAM" href="http://masteryourcard.com/blog/2008/02/20/why-freecreditreportcom-is-a-scam/">http://masteryourcard.com/blog/2008/02/20/why-freecreditreportcom-is-a-scam/</a><br />
<a title="freecreditreport.com is a SCAM" href="http://credit.about.com/b/2009/09/04/is-freecreditreportcom-a-scam.htm">http://credit.about.com/b/2009/09/04/is-freecreditreportcom-a-scam.htm</a></div>
<div></div>
<div>Guess I have to call and ask for all of my money back before I can file a complaint with the BBB.</div>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=Freecreditreport.com+is+a+SCAM%2C+stay+away%21+-+http://b2l.me/3rnxp&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fjonzobrist.com%2F2010%2F06%2F14%2Ffreecreditreport-com-is-a-scam-stay-away%2F&amp;t=Freecreditreport.com+is+a+SCAM%2C+stay+away%21" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://jonzobrist.com/2010/06/14/freecreditreport-com-is-a-scam-stay-away/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jonzobrist.com/2010/06/14/freecreditreport-com-is-a-scam-stay-away/&amp;title=Freecreditreport.com+is+a+SCAM%2C+stay+away%21" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jonzobrist.com/2010/06/14/freecreditreport-com-is-a-scam-stay-away/&amp;title=Freecreditreport.com+is+a+SCAM%2C+stay+away%21" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://jonzobrist.com/2010/06/14/freecreditreport-com-is-a-scam-stay-away/&amp;title=Freecreditreport.com+is+a+SCAM%2C+stay+away%21&amp;desc=Freecreditreport.com%20is%20a%20SCAM%2C%20they%20are%20liars%2C%20they%20cheat%2C%20they%20steal%2C%20they%20should%20be%20thrown%20in%20jail%2C%20and%20put%20out%20of%20business." rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jonzobrist.com/2010/06/14/freecreditreport-com-is-a-scam-stay-away/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://jonzobrist.com/2010/06/14/freecreditreport-com-is-a-scam-stay-away/&amp;bm_description=Freecreditreport.com+is+a+SCAM%2C+stay+away%21&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://jonzobrist.com/2010/06/14/freecreditreport-com-is-a-scam-stay-away/&amp;title=Freecreditreport.com+is+a+SCAM%2C+stay+away%21" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jonzobrist.com/2010/06/14/freecreditreport-com-is-a-scam-stay-away/&amp;title=Freecreditreport.com+is+a+SCAM%2C+stay+away%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://jonzobrist.com/2010/06/14/freecreditreport-com-is-a-scam-stay-away/&amp;title=Freecreditreport.com+is+a+SCAM%2C+stay+away%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-technorati">
			<a href="http://technorati.com/faves?add=http://jonzobrist.com/2010/06/14/freecreditreport-com-is-a-scam-stay-away/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://jonzobrist.com/2010/06/14/freecreditreport-com-is-a-scam-stay-away/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>MCOD &#8211; 6.6.10 &#8211; Macbook Pro Core i5/Core i7 Battery Fix</title>
		<link>http://jonzobrist.com/2010/06/06/mcod-6-6-10-macbook-pro-core-i5core-i7-battery-fix/</link>
		<comments>http://jonzobrist.com/2010/06/06/mcod-6-6-10-macbook-pro-core-i5core-i7-battery-fix/#comments</comments>
		<pubDate>Sun, 06 Jun 2010 17:48:36 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Mac Command of the Day]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[core i5]]></category>
		<category><![CDATA[core i7]]></category>
		<category><![CDATA[mac command of the day]]></category>
		<category><![CDATA[macbook]]></category>
		<category><![CDATA[macbook pro]]></category>
		<category><![CDATA[macbookpro]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/?p=135</guid>
		<description><![CDATA[Core i5/i7 Macbook Pro battery life problem description and fix.


Related posts:<ol><li><a href='http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/' rel='bookmark' title='Permanent Link: MCOD 5.11.10 &#8211; Clear network settings on a Mac in OS X'>MCOD 5.11.10 &#8211; Clear network settings on a Mac in OS X</a> <small>I got a new MacBook pro, one of the core...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>If you purchased a new <a title="Macbook Pro" href="http://www.apple.com/macbookpro/">Macbook Pro</a> with a Core i5 or Core i7 (The 15&#8243; or 17&#8243; ones for now) you probably expected the nice battery life they talk about on their site, when I bought this one it said 8-10 hours, but currently it says 8-9 hours for the 15&#8243;. Imagine my surprise when I routinely get 3 hours of battery life. Doing a quick Google search finds lots of people with the same complaints. If you dig into this a bit you will learn that these Macbook Pros have two graphics cards, one from NVIDIA that is fast, but power hungry, and one from Intel, that is slow but saves your battery.</p>
<p>The nice thing about this is your computer automatically handles which card to use, giving you the performance you need, and saving battery when it can.</p>
<p>In theory, this is great. In reality it&#8217;s a total joke, an EPIC FAIL on Apple&#8217;s part. You see, they switch based on which applications are running, guessing they need the graphics based on the libraries they load, it seems. This would be great if it was things like World of Warcraft or Photoshop, but Skype? Evernote? Give me a break!</p>
<p>You can go to power settings and disable automatic switching, however this sets it to ALWAYS use the Nvidia chipset, and gives you permanent short battery life.</p>
<p>In comes donation-ware graphics management tool <a title="gfxCardStatus" href="http://codykrieger.com/gfxCardStatus/">gfxCardStatus</a> written by Cody Kreiger.</p>
<ol>
<li>Download the zip file</li>
<li>Unzip and move gfxCardStatus to Applications folder</li>
<li>Run gfxCardStatus, you will see an icon on your menu bar with either an &#8216;n&#8217; or &#8216;i&#8217; to indicate when you&#8217;re running in Nvidia or Intel graphics mode. Intel will give good battery life (5-6 hours for my core i5 15&#8243;), and Nvidia will give 1990&#8242;s battery life (3-4 hours on the same core i5 15&#8243;).</li>
<li>Click the icon, change to Intel only. Enjoy better battery life!</li>
<li>Set calendar appointment for 1-2 weeks in the future to go back to Cody&#8217;s site and donate a dollar or two for his work.</li>
</ol>
<p>I plan to leave this on Intel only and see how both my battery life and performance is. I don&#8217;t play any games on my laptop, so I expect I won&#8217;t notice the difference.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=MCOD+-+6.6.10+-+Macbook+Pro+Core+i5%2FCore+i7+Battery+Fix+-+http://b2l.me/zpmye&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fjonzobrist.com%2F2010%2F06%2F06%2Fmcod-6-6-10-macbook-pro-core-i5core-i7-battery-fix%2F&amp;t=MCOD+-+6.6.10+-+Macbook+Pro+Core+i5%2FCore+i7+Battery+Fix" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://jonzobrist.com/2010/06/06/mcod-6-6-10-macbook-pro-core-i5core-i7-battery-fix/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jonzobrist.com/2010/06/06/mcod-6-6-10-macbook-pro-core-i5core-i7-battery-fix/&amp;title=MCOD+-+6.6.10+-+Macbook+Pro+Core+i5%2FCore+i7+Battery+Fix" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jonzobrist.com/2010/06/06/mcod-6-6-10-macbook-pro-core-i5core-i7-battery-fix/&amp;title=MCOD+-+6.6.10+-+Macbook+Pro+Core+i5%2FCore+i7+Battery+Fix" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://jonzobrist.com/2010/06/06/mcod-6-6-10-macbook-pro-core-i5core-i7-battery-fix/&amp;title=MCOD+-+6.6.10+-+Macbook+Pro+Core+i5%2FCore+i7+Battery+Fix&amp;desc=Core%20i5%2Fi7%20Macbook%20Pro%20battery%20life%20problem%20description%20and%20fix." rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jonzobrist.com/2010/06/06/mcod-6-6-10-macbook-pro-core-i5core-i7-battery-fix/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://jonzobrist.com/2010/06/06/mcod-6-6-10-macbook-pro-core-i5core-i7-battery-fix/&amp;bm_description=MCOD+-+6.6.10+-+Macbook+Pro+Core+i5%2FCore+i7+Battery+Fix&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://jonzobrist.com/2010/06/06/mcod-6-6-10-macbook-pro-core-i5core-i7-battery-fix/&amp;title=MCOD+-+6.6.10+-+Macbook+Pro+Core+i5%2FCore+i7+Battery+Fix" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jonzobrist.com/2010/06/06/mcod-6-6-10-macbook-pro-core-i5core-i7-battery-fix/&amp;title=MCOD+-+6.6.10+-+Macbook+Pro+Core+i5%2FCore+i7+Battery+Fix" 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://jonzobrist.com/2010/06/06/mcod-6-6-10-macbook-pro-core-i5core-i7-battery-fix/&amp;title=MCOD+-+6.6.10+-+Macbook+Pro+Core+i5%2FCore+i7+Battery+Fix" 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-technorati">
			<a href="http://technorati.com/faves?add=http://jonzobrist.com/2010/06/06/mcod-6-6-10-macbook-pro-core-i5core-i7-battery-fix/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/' rel='bookmark' title='Permanent Link: MCOD 5.11.10 &#8211; Clear network settings on a Mac in OS X'>MCOD 5.11.10 &#8211; Clear network settings on a Mac in OS X</a> <small>I got a new MacBook pro, one of the core...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://jonzobrist.com/2010/06/06/mcod-6-6-10-macbook-pro-core-i5core-i7-battery-fix/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ICOD &#8211; 6.2.10 &#8211; Delete all SMS messages on iPhone</title>
		<link>http://jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/</link>
		<comments>http://jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/#comments</comments>
		<pubDate>Wed, 02 Jun 2010 17:49:57 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[iPhone]]></category>
		<category><![CDATA[delete all SMS]]></category>
		<category><![CDATA[delete all SMS on iPhone]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[ICOD]]></category>
		<category><![CDATA[SMS]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/?p=126</guid>
		<description><![CDATA[Howto jailbreak and delete all SMS messages on your iPhone.


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>iPhone Command of the Day, 6/2/2010</p>
<p>Howto delete all SMS messages on your jailbroken iPhone.</p>
<p>I frequently get hundreds to thousands of text messages that all say the same thing from my monitoring systems as part of my job. It&#8217;s *very* tedious to delete these one at a time, and paying my kids $1 per 100 to delete them is getting too expensive.</p>
<p>Yes, this must be a jailbroken iPhone. If you&#8217;re not jailbroken, upgrade to 3.1.3 and jailbreak using these instructions:</p>
<pre>1. Sync your iPhone, let iTunes take a backup2. Upgrade your iPhone to 3.1.3 through iTunes
3. Once iPhone is 3.1.3 download and run Spirit Jailbreak (http://www.spiritjb.com/)
4. With iPhone connected, run Spirit and click Jailbreak
5. Wait for phone to reboot and you're done.
6. Go to Cydia, install Rock App
</pre>
<p>There is an app in Rock and Cydia that will delete all SMS but it SUCKS and routinely jacks up all your future SMS messages at random by inserting text and pictures into them. Fortunately, it seems the actual pictures and messages are not sent to the other party, but it does look on your iPhone like they were sent.</p>
<p>So I highly recommend NOT installing or using &#8220;Clear all SMS&#8221;.</p>
<p>Instead install &#8220;Terminal&#8221; from Rock or Cydia.</p>
<pre>1. Launch Terminal
2. Case sensitive, type the below line and hit enter
rm ./Library/SMS/sms.db
3. It should just kick you to the next line, now reboot your iPhone
</pre>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=ICOD+-+6.2.10+-+Delete+all+SMS+messages+on+iPhone+-+http://b2l.me/yxfgr&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fjonzobrist.com%2F2010%2F06%2F02%2Ficod-6-2-10-delete-all-sms-messages-on-iphone%2F&amp;t=ICOD+-+6.2.10+-+Delete+all+SMS+messages+on+iPhone" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/&amp;title=ICOD+-+6.2.10+-+Delete+all+SMS+messages+on+iPhone" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/&amp;title=ICOD+-+6.2.10+-+Delete+all+SMS+messages+on+iPhone" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/&amp;title=ICOD+-+6.2.10+-+Delete+all+SMS+messages+on+iPhone&amp;desc=Howto%20jailbreak%20and%20delete%20all%20SMS%20messages%20on%20your%20iPhone." rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/&amp;bm_description=ICOD+-+6.2.10+-+Delete+all+SMS+messages+on+iPhone&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/&amp;title=ICOD+-+6.2.10+-+Delete+all+SMS+messages+on+iPhone" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/&amp;title=ICOD+-+6.2.10+-+Delete+all+SMS+messages+on+iPhone" 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://jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/&amp;title=ICOD+-+6.2.10+-+Delete+all+SMS+messages+on+iPhone" 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-technorati">
			<a href="http://technorati.com/faves?add=http://jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LCOD – 5.26.10 – Compare 2 directories</title>
		<link>http://jonzobrist.com/2010/05/26/lcod-5-26-10-compare-2-directories/</link>
		<comments>http://jonzobrist.com/2010/05/26/lcod-5-26-10-compare-2-directories/#comments</comments>
		<pubDate>Wed, 26 May 2010 22:50:04 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Command of the Day]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[compare]]></category>
		<category><![CDATA[md5]]></category>
		<category><![CDATA[md5sum]]></category>
		<category><![CDATA[rsync]]></category>
		<category><![CDATA[ssh]]></category>
		<category><![CDATA[sync]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/2010/05/26/lcod-5-26-10-compare-2-directories/</guid>
		<description><![CDATA[md5sum * &#124; md5sum This will return an md5sum which will look something like 9277826461d2cb19731f6201c6b2c6b3 - Run it in 2 directories, if the sums of the sums match, the files are identical. If not, you may want to rsync between them with something like rsync-avz -e ssh localdir/ user@remotehost:/remotedir/ or rsync-avz -e ssh user@remotehost:/remotedir/ localdir/ [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>md5sum * | md5sum</p>
<p>This will return an md5sum which will look something like<br />
9277826461d2cb19731f6201c6b2c6b3  -</p>
<p>Run it in 2 directories, if the sums of the sums match, the files are identical.<br />
If not, you may want to rsync between them with something like<br />
rsync-avz -e ssh localdir/ user@remotehost:/remotedir/<br />
or<br />
rsync-avz -e ssh user@remotehost:/remotedir/ localdir/</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=LCOD+%E2%80%93+5.26.10+%E2%80%93+Compare+2+directories+-+http://b2l.me/yyeaq&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fjonzobrist.com%2F2010%2F05%2F26%2Flcod-5-26-10-compare-2-directories%2F&amp;t=LCOD+%E2%80%93+5.26.10+%E2%80%93+Compare+2+directories" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://jonzobrist.com/2010/05/26/lcod-5-26-10-compare-2-directories/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jonzobrist.com/2010/05/26/lcod-5-26-10-compare-2-directories/&amp;title=LCOD+%E2%80%93+5.26.10+%E2%80%93+Compare+2+directories" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jonzobrist.com/2010/05/26/lcod-5-26-10-compare-2-directories/&amp;title=LCOD+%E2%80%93+5.26.10+%E2%80%93+Compare+2+directories" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://jonzobrist.com/2010/05/26/lcod-5-26-10-compare-2-directories/&amp;title=LCOD+%E2%80%93+5.26.10+%E2%80%93+Compare+2+directories&amp;desc=md5sum%20%2A%20%7C%20md5sum%0A%0AThis%20will%20return%20an%20md5sum%20which%20will%20look%20something%20like%0A9277826461d2cb19731f6201c6b2c6b3%20%20-%0A%0ARun%20it%20in%202%20directories%2C%20if%20the%20sums%20of%20the%20sums%20match%2C%20the%20files%20are%20identical.%0AIf%20not%2C%20you%20may%20want%20to%20rsync%20between%20them%20with%20something%20like%0Arsync-avz%20-e%20ssh%20localdir%2F%20user%40remotehost" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jonzobrist.com/2010/05/26/lcod-5-26-10-compare-2-directories/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://jonzobrist.com/2010/05/26/lcod-5-26-10-compare-2-directories/&amp;bm_description=LCOD+%E2%80%93+5.26.10+%E2%80%93+Compare+2+directories&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://jonzobrist.com/2010/05/26/lcod-5-26-10-compare-2-directories/&amp;title=LCOD+%E2%80%93+5.26.10+%E2%80%93+Compare+2+directories" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jonzobrist.com/2010/05/26/lcod-5-26-10-compare-2-directories/&amp;title=LCOD+%E2%80%93+5.26.10+%E2%80%93+Compare+2+directories" 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://jonzobrist.com/2010/05/26/lcod-5-26-10-compare-2-directories/&amp;title=LCOD+%E2%80%93+5.26.10+%E2%80%93+Compare+2+directories" 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-technorati">
			<a href="http://technorati.com/faves?add=http://jonzobrist.com/2010/05/26/lcod-5-26-10-compare-2-directories/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://jonzobrist.com/2010/05/26/lcod-5-26-10-compare-2-directories/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MCOD 5.13.10 &#8211; Using OS-X&#8217;s built in VNC viewer</title>
		<link>http://jonzobrist.com/2010/05/13/mcod/</link>
		<comments>http://jonzobrist.com/2010/05/13/mcod/#comments</comments>
		<pubDate>Thu, 13 May 2010 23:02:07 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Mac Command of the Day]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/2010/05/13/mcod/</guid>
		<description><![CDATA[Mac OS X natively supports VNC with its &#8216;Screen Sharing&#8217; app, to launch it, simply type vnc:// in Safari, and it will automatically launch and connect. Tweet This! Share this on Tumblr Subscribe to the comments for this post? Share this on del.icio.us Digg this! Post this on Diigo Post on Google Buzz Add this [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>Mac OS X natively supports VNC with its &#8216;Screen Sharing&#8217; app, to launch it, simply type vnc://<ip address> in Safari, and it will automatically launch and connect.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=MCOD+5.13.10+-+Using+OS-X%27s+built+in+VNC+viewer+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (11)&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fjonzobrist.com%2F2010%2F05%2F13%2Fmcod%2F&amp;t=MCOD+5.13.10+-+Using+OS-X%27s+built+in+VNC+viewer" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://jonzobrist.com/2010/05/13/mcod/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jonzobrist.com/2010/05/13/mcod/&amp;title=MCOD+5.13.10+-+Using+OS-X%27s+built+in+VNC+viewer" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jonzobrist.com/2010/05/13/mcod/&amp;title=MCOD+5.13.10+-+Using+OS-X%27s+built+in+VNC+viewer" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://jonzobrist.com/2010/05/13/mcod/&amp;title=MCOD+5.13.10+-+Using+OS-X%27s+built+in+VNC+viewer&amp;desc=Mac%20OS%20X%20natively%20supports%20VNC%20with%20its%20%27Screen%20Sharing%27%20app%2C%20to%20launch%20it%2C%20simply%20type%20vnc%3A%2F%2F%20in%20Safari%2C%20and%20it%20will%20automatically%20launch%20and%20connect." rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jonzobrist.com/2010/05/13/mcod/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://jonzobrist.com/2010/05/13/mcod/&amp;bm_description=MCOD+5.13.10+-+Using+OS-X%27s+built+in+VNC+viewer&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://jonzobrist.com/2010/05/13/mcod/&amp;title=MCOD+5.13.10+-+Using+OS-X%27s+built+in+VNC+viewer" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jonzobrist.com/2010/05/13/mcod/&amp;title=MCOD+5.13.10+-+Using+OS-X%27s+built+in+VNC+viewer" 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://jonzobrist.com/2010/05/13/mcod/&amp;title=MCOD+5.13.10+-+Using+OS-X%27s+built+in+VNC+viewer" 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-technorati">
			<a href="http://technorati.com/faves?add=http://jonzobrist.com/2010/05/13/mcod/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://jonzobrist.com/2010/05/13/mcod/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>MCOD 5.11.10 &#8211; Clear network settings on a Mac in OS X</title>
		<link>http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/</link>
		<comments>http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/#comments</comments>
		<pubDate>Tue, 11 May 2010 17:30:00 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Mac Command of the Day]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[fix]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[Mac]]></category>
		<category><![CDATA[networking]]></category>
		<category><![CDATA[OS X]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/</guid>
		<description><![CDATA[I got a new MacBook pro, one of the core i5 ones, and transferred all of my data with time machine restore, which is absolutely awesome, btw. But my ethernet interface never worked! Being the IT guy I need my ethernet interface to work, so I searched online for someone else who had the same [...]


No related posts.

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I got a new MacBook pro, one of the core i5 ones, and transferred all of my data with time machine restore, which is absolutely awesome, btw. But my ethernet interface never worked! Being the IT guy I need my ethernet interface to work, so I searched online for someone else who had the same problem. Unfortunately, everything I found was simple fixes for simple problems. So I made an appointment with the mac genius hoping they could solve my problem, and they did.</p>
<p>They went to my hard drive-&gt;Library-&gt;Preferences and deleted the folder there called &#8220;SystemConfiguration&#8221;<br />
Then rebooted, and viola, a working ethernet interface.</p>
<p>So, what must have happened to break mine, is when I restored my mac with time machine, it confused the network interfaces somewhere. The interface showed up, but always said &#8216;cable unplugged&#8217;. I had tried everything; deleting the interface in the network section of system preferences, configuring the interface with ifconfig in Terminal, creating multiple interfaces, rebooting, different cables, different networks, and different locations. The time machine had restored my network config folder and prevented OS X from correctly seeing the right interface.</p>
<p>The Mac genius said it can also help if you&#8217;re having problems staying connected to a wifi network.</p>
<p>Hope this helps!</p>
<p>Update 6/7/2010:</p>
<p><a title="Troubleshooting airport wireless problems" href="http://osxdaily.com/2009/12/22/mac-wireless-problems-guide-to-troubleshooting-airport-wireless-problems-on-your-mac/">Here</a> is a good article on troubleshooting your Mac OS X wireless networking at osxdaily.com</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=MCOD+5.11.10+-+Clear+network+settings+on+a+Mac+in+OS+X+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Too many connections&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fjonzobrist.com%2F2010%2F05%2F11%2Fclear-network-settings-on-a-mac-in-os-x-mcod-5-11-10%2F&amp;t=MCOD+5.11.10+-+Clear+network+settings+on+a+Mac+in+OS+X" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/&amp;title=MCOD+5.11.10+-+Clear+network+settings+on+a+Mac+in+OS+X" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/&amp;title=MCOD+5.11.10+-+Clear+network+settings+on+a+Mac+in+OS+X" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/&amp;title=MCOD+5.11.10+-+Clear+network+settings+on+a+Mac+in+OS+X&amp;desc=I%20got%20a%20new%20MacBook%20pro%2C%20one%20of%20the%20core%20i5%20ones%2C%20and%20transferred%20all%20of%20my%20data%20with%20time%20machine%20restore%2C%20which%20is%20absolutely%20awesome%2C%20btw.%20But%20my%20ethernet%20interface%20never%20worked%21%20Being%20the%20IT%20guy%20I%20need%20my%20ethernet%20interface%20to%20work%2C%20so%20I%20searched%20online%20for%20someone%20else%20who%20had%20the%20same%20problem." rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/&amp;bm_description=MCOD+5.11.10+-+Clear+network+settings+on+a+Mac+in+OS+X&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/&amp;title=MCOD+5.11.10+-+Clear+network+settings+on+a+Mac+in+OS+X" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/&amp;title=MCOD+5.11.10+-+Clear+network+settings+on+a+Mac+in+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://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/&amp;title=MCOD+5.11.10+-+Clear+network+settings+on+a+Mac+in+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-technorati">
			<a href="http://technorati.com/faves?add=http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>No related posts.</p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://jonzobrist.com/2010/05/11/clear-network-settings-on-a-mac-in-os-x-mcod-5-11-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>LCOD – 4.12.10 – Quick Mysqlreport to e-mail setup</title>
		<link>http://jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/</link>
		<comments>http://jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/#comments</comments>
		<pubDate>Tue, 13 Apr 2010 00:31:57 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Command of the Day]]></category>
		<category><![CDATA[MySQL Server Support]]></category>
		<category><![CDATA[admin]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/?p=118</guid>
		<description><![CDATA[This will be a quick install to setup your server to e-mail you daily mysql reports using the cool mysqlreport application at hackmysql.com


Related posts:<ol><li><a href='http://jonzobrist.com/2009/11/17/lcod-11-17-09-simple-pagealert-email-script/' rel='bookmark' title='Permanent Link: LCOD &#8211; 11.17.09 &#8211; Simple page/alert email script'>LCOD &#8211; 11.17.09 &#8211; Simple page/alert email script</a> <small>Here&#8217;s a quick page script for *nix boxes with mail....</small></li>
<li><a href='http://jonzobrist.com/2009/10/09/lcod-10-9-09-script-to-retry-command/' rel='bookmark' title='Permanent Link: LCOD 10.9.09 &#8211; Script to retry command'>LCOD 10.9.09 &#8211; Script to retry command</a> <small>I use this almost exclusively with trying to ssh to...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>This will be a quick install to setup your server to e-mail you daily mysql reports using the cool mysqlreport application at <a title="MySQL Report" href="http://hackmysql.com/mysqlreport">hackmysql.com</a></p>
<p>As the user you want to set this up on, run the following commands.</p>
<p>(Note that I touch and then chmod og-rwx the .my.cnf file, since you&#8217;re putting your users mysql password in it, creating it and making it unreadable before editing is always a good idea.)</p>
<pre>wget http://hackmysql.com/scripts/mysqlreport
chmod uog+x mysqlreport
mkdir bin logs
mv mysqlreport bin/
touch ~/.my.cnf
chmod og-rwx ~/.my.cnf
vi ~/.my.cnf
</pre>
<p>Now, put in a client section like this in, you can find your sock file with grep sock /etc/my.cnf, or grep sock /etc/mysql/my.cnf</p>
<pre>[client]</pre>
<pre>user="root"</pre>
<pre>password="password"</pre>
<pre>socket=/var/run/mysqld/mysqld.sock</pre>
<p>Now, install perl&#8217;s DBD::MySQL</p>
<p>Debian/Ubuntu:</p>
<pre>sudo su</pre>
<pre>apt-get install libdbd-mysql-perl</pre>
<p>via CPAN/Other Linux/Generic BSD:</p>
<pre>perl -MCPAN -e shell</pre>
<p>Optional, update CPAN:</p>
<pre>install Bundle::CPAN</pre>
<pre>reload cpan</pre>
<p>(If there are errors on following some dependencies exit, and restart your CPAN shell, then start with install Bundle::CPAN)<br />
Install perl DBI</p>
<pre>install DBD::mysql
exit
</pre>
<p>Now, run it to test, you should see a bunch of text output</p>
<pre>~/bin/mysqlreport
</pre>
<p>Now, set it up to run from cron</p>
<pre>
crontab -e
</pre>
<p>Add a line like this (this will email to test@example.com a full report nightly at midnight, and put the last nights report in /home/USERNAME/logs/mysqlreport)</p>
<pre>
0 0 * * * /home/USERNAME/bin/mysqlreport --email test@example.com &gt; /home/USERNAME/logs/mysqlreport.log 2&gt;&amp;1
</pre>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=LCOD+%E2%80%93+4.12.10+%E2%80%93+Quick+Mysqlreport+to+e-mail+setup+-+File: /data/app/webapp/functions.php<br />Line: 7<br />Message: Too many connections&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fjonzobrist.com%2F2010%2F04%2F12%2Flcod-%25e2%2580%2593-4-12-10-%25e2%2580%2593-quick-mysqlreport-to-e-mail-setup%2F&amp;t=LCOD+%E2%80%93+4.12.10+%E2%80%93+Quick+Mysqlreport+to+e-mail+setup" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://jonzobrist.com/2010/04/12/lcod-–-4-12-10-–-quick-mysqlreport-to-e-mail-setup/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/&amp;title=LCOD+%E2%80%93+4.12.10+%E2%80%93+Quick+Mysqlreport+to+e-mail+setup" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/&amp;title=LCOD+%E2%80%93+4.12.10+%E2%80%93+Quick+Mysqlreport+to+e-mail+setup" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/&amp;title=LCOD+%E2%80%93+4.12.10+%E2%80%93+Quick+Mysqlreport+to+e-mail+setup&amp;desc=This%20will%20be%20a%20quick%20install%20to%20setup%20your%20server%20to%20e-mail%20you%20daily%20mysql%20reports%20using%20the%20cool%20mysqlreport%20application%20at%20hackmysql.com" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/&amp;bm_description=LCOD+%E2%80%93+4.12.10+%E2%80%93+Quick+Mysqlreport+to+e-mail+setup&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/&amp;title=LCOD+%E2%80%93+4.12.10+%E2%80%93+Quick+Mysqlreport+to+e-mail+setup" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/&amp;title=LCOD+%E2%80%93+4.12.10+%E2%80%93+Quick+Mysqlreport+to+e-mail+setup" 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://jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/&amp;title=LCOD+%E2%80%93+4.12.10+%E2%80%93+Quick+Mysqlreport+to+e-mail+setup" 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-technorati">
			<a href="http://technorati.com/faves?add=http://jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://jonzobrist.com/2009/11/17/lcod-11-17-09-simple-pagealert-email-script/' rel='bookmark' title='Permanent Link: LCOD &#8211; 11.17.09 &#8211; Simple page/alert email script'>LCOD &#8211; 11.17.09 &#8211; Simple page/alert email script</a> <small>Here&#8217;s a quick page script for *nix boxes with mail....</small></li>
<li><a href='http://jonzobrist.com/2009/10/09/lcod-10-9-09-script-to-retry-command/' rel='bookmark' title='Permanent Link: LCOD 10.9.09 &#8211; Script to retry command'>LCOD 10.9.09 &#8211; Script to retry command</a> <small>I use this almost exclusively with trying to ssh to...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>iPad tips &#8211; 4.11.10</title>
		<link>http://jonzobrist.com/2010/04/11/ipad-tips-4-11-10/</link>
		<comments>http://jonzobrist.com/2010/04/11/ipad-tips-4-11-10/#comments</comments>
		<pubDate>Sun, 11 Apr 2010 14:50:19 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Ipad]]></category>
		<category><![CDATA[Product Reviews]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[tips]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/2010/04/11/ipad-tips-4-11-10/</guid>
		<description><![CDATA[I&#8217;ve had an iPad for 2 days now, and have to say I&#8217;m very happy with it. The things I thought would be deal killers seem to be well thought out design choices (cheesy apple rhetoric?). Here are some things that I think will help me get the mod out of it. Note, I AM [...]


Related posts:<ol><li><a href='http://jonzobrist.com/2010/05/13/mcod/' rel='bookmark' title='Permanent Link: MCOD 5.13.10 &#8211; Using OS-X&#8217;s built in VNC viewer'>MCOD 5.13.10 &#8211; Using OS-X&#8217;s built in VNC viewer</a> <small>Mac OS X natively supports VNC with its &#8216;Screen Sharing&#8217;...</small></li>
</ol>

Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve had an iPad for 2 days now, and have to say I&#8217;m very happy with it. The things I thought would be deal killers seem to be well thought out design choices (cheesy apple rhetoric?).<br />
Here are some things that I think will help me get the mod out of it. Note, I AM typing this on the iPad, vertical thumb-pecking.</p>
<p>. Use Safari. Safari is nowhere near the browser Firefox is. But, we&#8217;re stuck with it on the iPad. But thats not all bad news. Many applications you&#8217;re used to using as custom apps on your iPhone actually will be better experienced in Safari on your iPad. This goes for news and blog readers the most so far. iPad specific versions will come out, and they may be superior to the web version. But, for now, many things we&#8217;ve come to rely on special apps for are just better directly in Safari.</p>
<p>. Embrace the cloud. I&#8217;m assuming you&#8217;ve already got email, and calendars online and setup on your iPad, but that&#8217;s only the beginning. Bring massive shared file access to your iPad with <a href="http://www.getdropbox.com">Dropbox</a>. I use this on 3 computers to keep all my frequently uses files backed up, and in sync. And with their free app, I can access all of my files on my iPhone and iPad. Display of basic files, office documents works from within the app, including spreadsheet viewing. Use all of google&#8217;s tools, either their full versions, or their mobile versions at <a href="m.google.com">m.google.com</a>.</p>
<p>. Buy apps! I know this sounds like more Apple propaganda, but you just dropped at least half a grand on this thing, why not spend a few more bucks to make it even better? I love flight controls updated ipad version. I&#8217;ve sprung for &#8211; Elements XD (Very cool, but $13, about $11 too much), Racing HD ($10, nice show off, but I&#8217;m not into racing games and can&#8217;t play it well), Air Video ($3, streams videos from desktop to iPad/iPhone), Artstudio ($3 easy painting). My main complaint here is it&#8217;s not obvious if you can get a refund for apps, so i try to read reviews a lot and search the web for info before buying. And why not load up on free apps? I&#8217;m using Google&#8217;s app, Siri search assistant, Heyway, AIM, and Skype. All carried over from my iPhone, and have added several iPad specific ones that I&#8217;m trying out &#8211; iBooks, abc player, netflix (streams video well to the iPad, this is HUGE), Associated Press, The Weather Channel Max, Google Earth, Allrecipies, AroundMe, Bloomberg, Adobe Ideas.    </p>
<p>. Make bookmarks on your home screen in Safari. I&#8217;ve used this for brizzly.com, since their page from an iPad outshines their iPhone app. It&#8217;s just like having an app, with the added bonus that it takes me into my already active Safari session. This extends using the cloud to make web pages seem like apps.</p>
<p>. Keep a screen clowning cloth in your bag. This screen is BIG, and SHINY! It gets dirty and smudged ALL the time. A soft screen cleaning cloth handy does more than just keep my screen clean, it relieves the anxiety of letting people &#8220;see&#8221; my new toy, which is always done with their hands. Favorite thing cleaned off my screen so far was a very dry booger after my kids were playing on it for a few hours. (seriously, WTF? How did they miss that?). I also get my cloth damp before a serious clean.</p>
<p>. Make sure you have soft, shelf like places to set your iPad in places you frequent. For me this means a space on the desk, a spot on the counter in the kitchen, and one on a shelf in the closet, which seems to be my transient storage location.</p>
<p>. Practice. Typing, locating and using things like search, mail, calendar, and settings. Think for a moment what you use most, and spend a minute just practicing doing those things repeatedly. Saving a few seconds on a task you do a few thousand times really adds up, but, more importantly, it increases the usefulness of all the new tools on your iPad. I plan to practice touch typing, checking my calendar, searching my device, searching the net.</p>
<p>. Fix that ailing wifi coverage. If you have an iPad now, you only have wifi networking. I&#8217;m hopeful this is enough for me, but it does require I some attention to my wifi networks. I&#8217;m setting up another access point, maybe two, around the house, and will be tuning up the ones at work. </p>
<p>. Put your own movies on it. If you&#8217;re not already ripping your DVD collection, download handbrake and get started today. Rip in handbrake, import to your iPad via iTunes, or stream via Air Video. Video really shows off on this thing. Only downside is the audio quality stinks, and you really need headphones to watch a full movie. This is the future of kids car trip entertainment.</p>
<p>Well, that&#8217;s it for now, I hope it helps you have a better iPad experience.</p>


<div class="shr-bookmarks shr-bookmarks-expand shr-bookmarks-center">
<ul class="socials">
		<li class="shr-twitter">
			<a href="http://twitter.com/home?status=iPad+tips+-+4.11.10+-+File: /data/app/webapp/functions.php<br />Line: 66<br />Message: Duplicate entry 'yyec7' for key 'code'&amp;source=shareaholic" rel="nofollow" class="external" title="Tweet This!">Tweet This!</a>
		</li>
		<li class="shr-tumblr">
			<a href="http://www.tumblr.com/share?v=3&amp;u=http%3A%2F%2Fjonzobrist.com%2F2010%2F04%2F11%2Fipad-tips-4-11-10%2F&amp;t=iPad+tips+-+4.11.10" rel="nofollow" class="external" title="Share this on Tumblr">Share this on Tumblr</a>
		</li>
		<li class="shr-comfeed">
			<a href="http://jonzobrist.com/2010/04/11/ipad-tips-4-11-10/feed" rel="nofollow" class="external" title="Subscribe to the comments for this post?">Subscribe to the comments for this post?</a>
		</li>
		<li class="shr-delicious">
			<a href="http://delicious.com/post?url=http://jonzobrist.com/2010/04/11/ipad-tips-4-11-10/&amp;title=iPad+tips+-+4.11.10" rel="nofollow" class="external" title="Share this on del.icio.us">Share this on del.icio.us</a>
		</li>
		<li class="shr-digg">
			<a href="http://digg.com/submit?phase=2&amp;url=http://jonzobrist.com/2010/04/11/ipad-tips-4-11-10/&amp;title=iPad+tips+-+4.11.10" rel="nofollow" class="external" title="Digg this!">Digg this!</a>
		</li>
		<li class="shr-diigo">
			<a href="http://www.diigo.com/post?url=http://jonzobrist.com/2010/04/11/ipad-tips-4-11-10/&amp;title=iPad+tips+-+4.11.10&amp;desc=I%27ve%20had%20an%20iPad%20for%202%20days%20now%2C%20and%20have%20to%20say%20I%27m%20very%20happy%20with%20it.%20The%20things%20I%20thought%20would%20be%20deal%20killers%20seem%20to%20be%20well%20thought%20out%20design%20choices%20%28cheesy%20apple%20rhetoric%3F%29.%0AHere%20are%20some%20things%20that%20I%20think%20will%20help%20me%20get%20the%20mod%20out%20of%20it.%20Note%2C%20I%20AM%20typing%20this%20on%20the%20iPad%2C%20vertical%20" rel="nofollow" class="external" title="Post this on Diigo">Post this on Diigo</a>
		</li>
		<li class="shr-googlebuzz">
			<a href="http://www.google.com/buzz/post?url=http://jonzobrist.com/2010/04/11/ipad-tips-4-11-10/&amp;imageurl=" rel="nofollow" class="external" title="Post on Google Buzz">Post on Google Buzz</a>
		</li>
		<li class="shr-misterwong">
			<a href="http://www.mister-wong.com/addurl/?bm_url=http://jonzobrist.com/2010/04/11/ipad-tips-4-11-10/&amp;bm_description=iPad+tips+-+4.11.10&amp;plugin=sexybookmarks" rel="nofollow" class="external" title="Add this to Mister Wong">Add this to Mister Wong</a>
		</li>
		<li class="shr-mixx">
			<a href="http://www.mixx.com/submit?page_url=http://jonzobrist.com/2010/04/11/ipad-tips-4-11-10/&amp;title=iPad+tips+-+4.11.10" rel="nofollow" class="external" title="Share this on Mixx">Share this on Mixx</a>
		</li>
		<li class="shr-reddit">
			<a href="http://reddit.com/submit?url=http://jonzobrist.com/2010/04/11/ipad-tips-4-11-10/&amp;title=iPad+tips+-+4.11.10" 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://jonzobrist.com/2010/04/11/ipad-tips-4-11-10/&amp;title=iPad+tips+-+4.11.10" 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-technorati">
			<a href="http://technorati.com/faves?add=http://jonzobrist.com/2010/04/11/ipad-tips-4-11-10/" rel="nofollow" class="external" title="Share this on Technorati">Share this on Technorati</a>
		</li>
</ul>
<div style="clear:both;"></div>
</div>



<p>Related posts:<ol><li><a href='http://jonzobrist.com/2010/05/13/mcod/' rel='bookmark' title='Permanent Link: MCOD 5.13.10 &#8211; Using OS-X&#8217;s built in VNC viewer'>MCOD 5.13.10 &#8211; Using OS-X&#8217;s built in VNC viewer</a> <small>Mac OS X natively supports VNC with its &#8216;Screen Sharing&#8217;...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://mitcho.com/code/yarpp/'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://jonzobrist.com/2010/04/11/ipad-tips-4-11-10/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
