<?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 &#187; howto</title>
	<atom:link href="http://www.jonzobrist.com/tag/howto/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.jonzobrist.com</link>
	<description>Unix, Linux, IT, Cloud, Meat</description>
	<lastBuildDate>Fri, 06 Jan 2012 18:59:34 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Snowed in? 15 Thinks you should be using online CCOD &#8211; 9.6.2011</title>
		<link>http://www.jonzobrist.com/2011/09/06/snowed-in-15-thinks-you-should-be-using-online-ccod-9-6-2011/</link>
		<comments>http://www.jonzobrist.com/2011/09/06/snowed-in-15-thinks-you-should-be-using-online-ccod-9-6-2011/#comments</comments>
		<pubDate>Wed, 07 Sep 2011 06:31:13 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[AWS]]></category>
		<category><![CDATA[Communications]]></category>
		<category><![CDATA[internet]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[CCOD. Computers]]></category>
		<category><![CDATA[Free]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Online]]></category>
		<category><![CDATA[Services]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/?p=360</guid>
		<description><![CDATA[
Related posts:<ol>
<li><a href='http://www.jonzobrist.com/2011/03/08/finally-on-ec2/' rel='bookmark' title='Finally On EC2'>Finally On EC2</a> <small>...</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F09%2F06%2Fsnowed-in-15-thinks-you-should-be-using-online-ccod-9-6-2011%2F' data-shr_title='Snowed+in%3F+15+Thinks+you+should+be+using+online+CCOD+-+9.6.2011'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F09%2F06%2Fsnowed-in-15-thinks-you-should-be-using-online-ccod-9-6-2011%2F' data-shr_title='Snowed+in%3F+15+Thinks+you+should+be+using+online+CCOD+-+9.6.2011'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>There are a ton of cool things to do on the Internet. New doors are open to everyone. I&#8217;m surprised how often we take it for granted that everyone is in on the latest trend in tech. Here is my humble addition to a list of things that I think people should be using online.</p>
<p>&nbsp;</p>
<p>1. <a title="Twitter" href="http://www.twitter.com" target="_blank">Twitter</a> &#8211; News *stream*, or should I say FLOOD. Follow smart people, get smart (filtered) news and info. Want to blow your news mind? Get <a title="TweetDeck" href="http://www.tweetdeck.com/" target="_blank">tweetdeck</a> and put in a search for any hot topic. (Don&#8217;t follow #earthquake unless you want to feel constant fear).</p>
<p>2. <a title="Facebook" href="http://www.facebook.com" target="_blank">Facebook</a> &#8211; Connect with your family and friends. Be benign on Facebook! The Internet is public, immortal, and Facebook does hate your privacy.</p>
<p>3. <a title="Amazon Web Services" href="http://aws.amazon.com" target="_blank">Amazon AWS/EC2 </a>- What you don&#8217;t need a virtual server? You sure about that? Not for your blog? Not even if it scales infinitely? Not even if it&#8217;s free?</p>
<p>4. <a title="Wordpress Blog and Web Page CMS" href="http://www.wordpress.com" target="_blank">WordPress</a> &#8211; <a title="Joomla CMS" href="http://www.joomla.org/" target="_blank">Joomla</a> and <a title="Drupal CMS" href="http://www.drupal.com/" target="_blank">Drupal</a> are cool, but WordPress is the king of the web page CMS.</p>
<p>5. <a title="Gmail - Google Mail" href="http://www.gmail.com" target="_blank">Gmail</a> &#8211; Seriously, stop deleting your email, get a gmail account. Use your own domains (Google Apps is still free for &lt; 10 users).</p>
<p>6. <a title="Google Docs" href="http://docs.google.com" target="_blank">Google Docs</a> &#8211; If you haven&#8217;t had 10 people all editing the same spreadsheet at the same time you have not Cloud&#8217;d it up.</p>
<p>7. Cloud Music (<a title="Google Music" href="http://music.google.com" target="_blank">Google Music</a>, <a title="Amazon Music" href="http://www.amazon.com/Music" target="_blank">Amazon Music Locker</a>, <a title="Apple iCloud" href="http://www.apple.com/icloud/" target="_blank">iCloud</a>, <a title="Soundcloud" href="http://soundcloud.com/" target="_blank">Soundcloud</a>, <a title="Spotify music service" href="http://www.spotify.com/" target="_blank">Spotify</a>) &#8211; This is new, try them all out, find new music, sync your own.</p>
<p>8. <a title="Google Search Engine" href="http://www.google.com" target="_blank">Google</a> &#8211; Search done right. Everyone has been playing catchup for a while now, and I&#8217;m sure that one day they will, but until then, google.com</p>
<p>9. <a title="Snopes" href="http://snopes.com" target="_blank">Snopes</a> &#8211; The Internet means rapid access to information sharing, but many people share false information. Sites like <a title="Snopes is it true or not" href="http://snopes.com" target="_blank">snopes.com</a></p>
<p>10. <a title="Deal sites from Google Search" href="http://www.google.com/?q=deal%20sites" target="_blank">Shopping</a> - Deal sites like <a title="SlickDeals" href="http://slickdeals.net" target="_blank">slickdeals.net</a>, <a title="FatWallet" href="http://www.fatwallet.com" target="_blank">fatwallet.com</a>, <a title="Woot one deal one day" href="http://www.woot.com/" target="_blank">woot</a> and more track deals as they happen, often with good comments on how to maximize them. The people on some of these sites are mad geniuses when it comes to getting the most for your buck.</p>
<p>11. <a title="Skype online chat and calling" href="http://www.skype.com" target="_blank">Skype</a> &#8211; Everyone has it, get on and video chat your friends in other countries for free. Ride this one until Microsoft torpedos it, and we all move to Google Chat, which you should be on already via your gmail account.</p>
<p>12. <a title="Linux" href="http://www.kernel.org/" target="_blank">Linux</a> &#8211; If you are even slightly technically inclined, Linux opens the door to you (for free) to everything from <a title="CinePaint high end movie effects" href="http://www.cinepaint.org/more/" target="_blank">high end movie effects</a> to  <a title="Deft Linux Forensics toolkit" href="http://www.deftlinux.net/" target="_blank">computer forensics</a>. Get started with a Live CD from <a title="Ubuntu Linux" href="http://www.ubuntu.com/" target="_blank">Ubuntu</a> (Your computer is probably 64-bit, and you probably want the desktop version &#8211; You can boot the CD and use Linux without doing anything to your computer), and NO it does not run Office or any Windows program, but it does run thousands of cool programs.</p>
<p>13. Photo sites (<a title="Picasa web albums" href="https://picasaweb.google.com" target="_blank">Picasa</a>, <a title="Flickr photo sharing" href="http://www.flickr.com" target="_blank">Flickr</a>, <a title="SmugMug Photos" href="http://www.smugmug.com/" target="_blank">Smugmug</a>) There is no reason you should be burning a photo CD to send to your friends and family. Get an upload utility, and start putting your photos on the &#8216;net. You don&#8217;t have to share them, and I would highly recommend NOT sharing them publicly unless they are very public information. I do not post pictures with faces in them without permission from the person owning the face, and, in general, don&#8217;t do this.</p>
<p>14. Education (<a title="KhanAcademy" href="http://www.khanacademy.org/" target="_blank">Khanadademy</a>, <a title="Alison.com online education" href="http://alison.com/" target="_blank">Alison.com,</a> <a title="MIT Open Courseware" href="http://ocw.mit.edu/index.htm" target="_blank">MIT Open Courseware</a>, <a title="Instructables howto online" href="http://www.instructables.com/" target="_blank">Instructables</a>, <a title="K12 education online" href="http://www.k12.com" target="_blank">k12</a>) &#8211; There are too many to name, and pretty much access to infinite information is it&#8217;s own education. Don&#8217;t think that just because a skill isn&#8217;t directly computer related that you can&#8217;t learn howto do it online, and for maybe for free.</p>
<p>15. <a title="Wikipedia" href="http://www.wikipedia.org/" target="_blank">Wikipedia</a> - What is a wikipedia? Well, a wiki is a website that anyone can edit the pages of, so, Wikipedia is an encyclopedia that anyone can edit. Not always right, but rarely uninformative.</p>
<p>&nbsp;</p>
<p>Well, I hope this helps. Please send me your lists or additions (comment below, or email to <a title="jon@jonzobrist.com" href="mailto:jon@jonzobrist.com" target="_blank">jon@jonzobrist.com</a>).</p>
<p>&nbsp;</p>
<div class="shr-publisher-360"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F09%2F06%2Fsnowed-in-15-thinks-you-should-be-using-online-ccod-9-6-2011%2F' data-shr_title='Snowed+in%3F+15+Thinks+you+should+be+using+online+CCOD+-+9.6.2011'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F09%2F06%2Fsnowed-in-15-thinks-you-should-be-using-online-ccod-9-6-2011%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F09%2F06%2Fsnowed-in-15-thinks-you-should-be-using-online-ccod-9-6-2011%2F' data-shr_title='Snowed+in%3F+15+Thinks+you+should+be+using+online+CCOD+-+9.6.2011'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --><p>Related posts:<ol>
<li><a href='http://www.jonzobrist.com/2011/03/08/finally-on-ec2/' rel='bookmark' title='Finally On EC2'>Finally On EC2</a> <small>I can&#8217;t believe it took me this long to nut-up...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jonzobrist.com/2011/09/06/snowed-in-15-thinks-you-should-be-using-online-ccod-9-6-2011/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Free QR Code Generator, via Gina Tripani @ smarterware.org</title>
		<link>http://www.jonzobrist.com/2011/06/07/free-qr-code-generator-via-gina-tripani-smarterware-org/</link>
		<comments>http://www.jonzobrist.com/2011/06/07/free-qr-code-generator-via-gina-tripani-smarterware-org/#comments</comments>
		<pubDate>Wed, 08 Jun 2011 00:27:39 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[QR Codes]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[2D Barcode]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[links]]></category>
		<category><![CDATA[QR Code]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/?p=309</guid>
		<description><![CDATA[Thanks to Gina Tripani at SmarterWare I found a cool, free, 2D barcode generator! Her article about 2D barcodes is here And the QR code generator is here And, here is my URL QR Code, it generated! No related posts. Related posts brought to you by Yet Another Related Posts Plugin.
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F06%2F07%2Ffree-qr-code-generator-via-gina-tripani-smarterware-org%2F' data-shr_title='Free+QR+Code+Generator%2C+via+Gina+Tripani+%40+smarterware.org'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F06%2F07%2Ffree-qr-code-generator-via-gina-tripani-smarterware-org%2F' data-shr_title='Free+QR+Code+Generator%2C+via+Gina+Tripani+%40+smarterware.org'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Thanks to Gina Tripani at <a title="Gina Tripani's SmarterWare.org" href="http://smarterware.org/" target="_blank">SmarterWare</a> I found a cool, free, 2D barcode generator!</p>
<p>Her article about 2D barcodes is <a title="Article about how to make your own QR code" href="http://smarterware.org/5399/how-to-make-your-personal-qr-code  " target="_blank">here</a></p>
<p>And the QR code generator is <a title="Online QR code generator" href="http://qrcode.kaywa.com/" target="_blank">here</a></p>
<p>And, here is my URL QR Code, it generated!</p>
<p><a href="http://jonzobrist.com/wp-content/uploads/2011/06/jonzobrist-dot-com-qr.png"><img class="alignnone size-full wp-image-310" title="jonzobrist-dot-com-qr" src="http://jonzobrist.com/wp-content/uploads/2011/06/jonzobrist-dot-com-qr.png" alt="" width="248" height="248" /></a></p>
<div class="shr-publisher-309"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F06%2F07%2Ffree-qr-code-generator-via-gina-tripani-smarterware-org%2F' data-shr_title='Free+QR+Code+Generator%2C+via+Gina+Tripani+%40+smarterware.org'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F06%2F07%2Ffree-qr-code-generator-via-gina-tripani-smarterware-org%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F06%2F07%2Ffree-qr-code-generator-via-gina-tripani-smarterware-org%2F' data-shr_title='Free+QR+Code+Generator%2C+via+Gina+Tripani+%40+smarterware.org'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --><p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jonzobrist.com/2011/06/07/free-qr-code-generator-via-gina-tripani-smarterware-org/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>HowTo Quick Setup a Minecraft Server</title>
		<link>http://www.jonzobrist.com/2011/06/05/howto-quick-setup-a-minecraft-server/</link>
		<comments>http://www.jonzobrist.com/2011/06/05/howto-quick-setup-a-minecraft-server/#comments</comments>
		<pubDate>Sun, 05 Jun 2011 22:46:29 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Macintosh]]></category>
		<category><![CDATA[Minecraft]]></category>
		<category><![CDATA[guide]]></category>
		<category><![CDATA[host]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[screen]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[setup]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/?p=297</guid>
		<description><![CDATA[My kids have dove into the game Minecraft and one of the first things they wanted was their own servers that they could customize and create lots of world. We&#8217;re now running 5 servers on my Linux box. I don&#8217;t notice a performance drop in using it for anything, and each one is set to [...]
Related posts:<ol>
<li><a href='http://www.jonzobrist.com/2011/05/29/quick-remote-smtp-page-script-in-python/' rel='bookmark' title='Quick remote SMTP page script in Python'>Quick remote SMTP page script in Python</a> <small>Disclaimer : You own what you do with this script,...</small></li>
<li><a href='http://www.jonzobrist.com/2011/05/29/lcod-5-29-2011-2-quick-tcp-port-check-scripts-in-python/' rel='bookmark' title='LCOD 5.29.2011 &#8211; 2 quick TCP port check scripts in Python'>LCOD 5.29.2011 &#8211; 2 quick TCP port check scripts in Python</a> <small>Disclaimer : These scripts could be considered malicious and should...</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F06%2F05%2Fhowto-quick-setup-a-minecraft-server%2F' data-shr_title='HowTo+Quick+Setup+a+Minecraft+Server'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F06%2F05%2Fhowto-quick-setup-a-minecraft-server%2F' data-shr_title='HowTo+Quick+Setup+a+Minecraft+Server'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>My kids have dove into the game <a title="Minecraft the game" href="http://www.minecraft.net/" target="_blank">Minecraft</a> and one of the first things they wanted was their own servers that they could customize and create lots of world.</p>
<p>We&#8217;re now running 5 servers on my Linux box. I don&#8217;t notice a performance drop in using it for anything, and each one is set to use 1GB of RAM, fortunately I have 8 GB&#8230;</p>
<p>This should be a quick howto that will work on <a title="Linux" href="http://www.linux.org" target="_blank">Linux</a> and <a title="Apple Macintosh OS X" href="http://www.apple.com/mac/" target="_blank">Macintosh</a> as long as you have screen and <a title="Java" href="http://www.java.com" target="_blank">java</a>.</p>
<p>I run the Minecraft servers under screen, so I can disconnect and reconnect to them, and they&#8217;ll keep running if my connection stops.</p>
<p>Quick setup :</p>
<p>(I use -R instead of -S to start and name the screen, since it will resume the same screen if it&#8217;s already running)</p>
<p>mkdir minecraft</p>
<p>cd minecraft</p>
<p>Edit a server.properties file, here&#8217;s a sample one :</p>
<div>#Minecraft server properties</div>
<div>#Thu May 26 12:13:41 MDT 2011</div>
<div>level-name=Whatever</div>
<div>hellworld=false</div>
<div>allow-nether=true</div>
<div>view-distance=10</div>
<div>spawn-monsters=false</div>
<div>white-listing=true</div>
<div>online-mode=true</div>
<div>spawn-animals=true</div>
<div>pvp=true</div>
<div>max-players=10</div>
<div>server-ip=</div>
<div>level-seed=8773934448</div>
<div>server-port=25565</div>
<div>allow-flight=false</div>
<div>white-list=false</div>
<p>Go to http://www.minecraft.net/download.jsp and copy the link that says &#8220;<a href="http://www.minecraft.net/download/minecraft_server.jar?v=1307312614783">minecraft_server.jar</a>&#8221; (it will update based on version, so copy it each time)</p>
<p>wget -O minecraft_server.jar http://www.minecraft.net/download/minecraft_server.jar?v=1307312614783</p>
<p>(that link will change with each version)</p>
<p>Now start your server</p>
<p>screen -R minecraft</p>
<p>java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui</p>
<p>Now type CTRL+a d</p>
<p>This will disconnect you from your  screen.</p>
<p>To reconnect run</p>
<p>screen -R minecraft</p>
<p>Now connect to your computer from minecraft, you may need to connect by IP address and port.</p>
<p>Running multiple servers on the same host is as easy as changing the port and setting up another directory, and the screen instances.</p>
<p>This is just a simple setup assuming you have a Mac or a Linux box already running.</p>
<p>I hope to cover using a Dynamic DNS service like <a title="DynDNS - Dynamic DNS" href="http://www.dyndns.com" target="_blank">DynDNS.com</a> , opening the ports in your router so your friends can connect from outside.</p>
<p>It may also help to find out your public IP address, you can go to <a title="Find my IP Address" href="http://jonzobrist.com/ip.php" target="_blank">http://jonzobrist.com/ip.php</a></p>
<p>I wonder if you could run a minecraft server with only 512MB RAM, would be perfect for the free tier of <a title="Amazon AWS" href="http://aws.amazon.com/" target="_blank">Amazon AWS</a>..</p>
<div class="shr-publisher-297"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F06%2F05%2Fhowto-quick-setup-a-minecraft-server%2F' data-shr_title='HowTo+Quick+Setup+a+Minecraft+Server'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F06%2F05%2Fhowto-quick-setup-a-minecraft-server%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F06%2F05%2Fhowto-quick-setup-a-minecraft-server%2F' data-shr_title='HowTo+Quick+Setup+a+Minecraft+Server'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --><p>Related posts:<ol>
<li><a href='http://www.jonzobrist.com/2011/05/29/quick-remote-smtp-page-script-in-python/' rel='bookmark' title='Quick remote SMTP page script in Python'>Quick remote SMTP page script in Python</a> <small>Disclaimer : You own what you do with this script,...</small></li>
<li><a href='http://www.jonzobrist.com/2011/05/29/lcod-5-29-2011-2-quick-tcp-port-check-scripts-in-python/' rel='bookmark' title='LCOD 5.29.2011 &#8211; 2 quick TCP port check scripts in Python'>LCOD 5.29.2011 &#8211; 2 quick TCP port check scripts in Python</a> <small>Disclaimer : These scripts could be considered malicious and should...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jonzobrist.com/2011/06/05/howto-quick-setup-a-minecraft-server/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>LCOD 5.29.2011 &#8211; 2 quick TCP port check scripts in Python</title>
		<link>http://www.jonzobrist.com/2011/05/29/lcod-5-29-2011-2-quick-tcp-port-check-scripts-in-python/</link>
		<comments>http://www.jonzobrist.com/2011/05/29/lcod-5-29-2011-2-quick-tcp-port-check-scripts-in-python/#comments</comments>
		<pubDate>Sun, 29 May 2011 17:46:58 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[BSD]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[script]]></category>
		<category><![CDATA[shell]]></category>
		<category><![CDATA[shell scripts]]></category>
		<category><![CDATA[unix]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/?p=277</guid>
		<description><![CDATA[Disclaimer : These scripts could be considered malicious and should only be used to test servers with permission from the server administrator. I accept no responsibility for your use of these scripts, and make no warranty about their usefulness either express or implied. &#160; I often find myself troubleshooting someone&#8217;s network connectivity, or one of [...]
Related posts:<ol>
<li><a href='http://www.jonzobrist.com/2011/05/04/my-ec2-ebs-raid-0-creation-script/' rel='bookmark' title='My EC2 EBS RAID-0 creation script'>My EC2 EBS RAID-0 creation script</a> <small>I want to write up a full howto/tutorial, but have...</small></li>
</ol>

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F05%2F29%2Flcod-5-29-2011-2-quick-tcp-port-check-scripts-in-python%2F' data-shr_title='LCOD+5.29.2011+-+2+quick+TCP+port+check+scripts+in+Python'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F05%2F29%2Flcod-5-29-2011-2-quick-tcp-port-check-scripts-in-python%2F' data-shr_title='LCOD+5.29.2011+-+2+quick+TCP+port+check+scripts+in+Python'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Disclaimer : These scripts could be considered malicious and should only be used to test servers with permission from the server administrator. I accept no responsibility for your use of these scripts, and make no warranty about their usefulness either express or implied.</p>
<p>&nbsp;</p>
<p>I often find myself troubleshooting someone&#8217;s network connectivity, or one of my servers ability to receive connections or mass connections.</p>
<p>For this, <a title="Nmap the Network Mapper" href="http://www.nmap.org/" target="_blank">nmap</a> is invaluable, but sometimes it&#8217;s easier to just send someone a script to run, especially in larger companies where things like nmap, and other port scanners are frowned on.</p>
<p>So, here are 2 scripts that take the same arguments HOST PORT.</p>
<p>They are tcpcheck.py (<a title="tcpcheck.py" href="http://jonzobrist.com/files/tcpcheck.py.gz" target="_blank">here is the gzipped version</a>), and tcpcheck-bulk.py (<a title="tcpcheck-bulk.py" href="http://jonzobrist.com/files/tcpcheck-bulk.py.gz" target="_blank">here is the gzipped version</a>).</p>
<p>tcpcheck.py makes 1 connection to a TCP port and reports success or failure.</p>
<p>Example usage and output  :</p>
<p>./tcpcheck.py jonzobrist.com 80<br />
Success. Connected to jonzobrist.com on port: 80</p>
<p>./tcpcheck.py jonzobrist.com 81<br />
Failure. Cannot connect to jonzobrist.com on port: 81</p>
<p>tcpcheck-bulk.py is hard wired to attempt 1500 connections to a TCP port and reports success/failures.</p>
<p>Example usage and output is :</p>
<p>./tcpcheck-bulk.py jonzobrist.com 80<br />
Done with jonzobrist.com on port: 80<br />
Done. Failures : 0 Successes : 1500</p>
<p>This script was very useful when we tried to determine server performance over a link that seemed to be killing our connections.</p>
<p>Please feel free to use it, and share if it helped.</p>
<div class="shr-publisher-277"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F05%2F29%2Flcod-5-29-2011-2-quick-tcp-port-check-scripts-in-python%2F' data-shr_title='LCOD+5.29.2011+-+2+quick+TCP+port+check+scripts+in+Python'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F05%2F29%2Flcod-5-29-2011-2-quick-tcp-port-check-scripts-in-python%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2011%2F05%2F29%2Flcod-5-29-2011-2-quick-tcp-port-check-scripts-in-python%2F' data-shr_title='LCOD+5.29.2011+-+2+quick+TCP+port+check+scripts+in+Python'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --><p>Related posts:<ol>
<li><a href='http://www.jonzobrist.com/2011/05/04/my-ec2-ebs-raid-0-creation-script/' rel='bookmark' title='My EC2 EBS RAID-0 creation script'>My EC2 EBS RAID-0 creation script</a> <small>I want to write up a full howto/tutorial, but have...</small></li>
</ol></p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jonzobrist.com/2011/05/29/lcod-5-29-2011-2-quick-tcp-port-check-scripts-in-python/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ICOD &#8211; 6.2.10 &#8211; Delete all SMS messages on iPhone</title>
		<link>http://www.jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/</link>
		<comments>http://www.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://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2010%2F06%2F02%2Ficod-6-2-10-delete-all-sms-messages-on-iphone%2F' data-shr_title='ICOD+-+6.2.10+-+Delete+all+SMS+messages+on+iPhone'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2010%2F06%2F02%2Ficod-6-2-10-delete-all-sms-messages-on-iphone%2F' data-shr_title='ICOD+-+6.2.10+-+Delete+all+SMS+messages+on+iPhone'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>UPDATE: 4/21/2011 &#8211; The SMS db on my iPhone moved to /private/var/mobile/Library/SMS/sms.db on my iPhone 4, IOS 4.2.1</p>
<p>iPhone Command of the Day, 6/2/2010</p>
<p>UPDATE : 10/31/2010 &#8211; <span style="text-decoration: underline;">The app &#8220;Delete all SMS&#8221; has been fixed</span>, I have been using it for almost a month with no problems, and it is much quicker than this method. I leave this up in case anyone wants to know how to do it the long way, instead of simply installing the app &#8220;Delete all SMS&#8221; from Cydia, or perhaps wants to hack around with their SMS database.</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><span style="text-decoration: line-through;">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.</span></p>
<p><span style="text-decoration: line-through;">So I highly recommend </span><span style="text-decoration: line-through;">NOT installing or using &#8220;Clear all SMS&#8221;.</span></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-publisher-126"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2010%2F06%2F02%2Ficod-6-2-10-delete-all-sms-messages-on-iphone%2F' data-shr_title='ICOD+-+6.2.10+-+Delete+all+SMS+messages+on+iPhone'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2010%2F06%2F02%2Ficod-6-2-10-delete-all-sms-messages-on-iphone%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2010%2F06%2F02%2Ficod-6-2-10-delete-all-sms-messages-on-iphone%2F' data-shr_title='ICOD+-+6.2.10+-+Delete+all+SMS+messages+on+iPhone'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --><p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jonzobrist.com/2010/06/02/icod-6-2-10-delete-all-sms-messages-on-iphone/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>LCOD – 4.12.10 – Quick Mysqlreport to e-mail setup</title>
		<link>http://www.jonzobrist.com/2010/04/12/lcod-%e2%80%93-4-12-10-%e2%80%93-quick-mysqlreport-to-e-mail-setup/</link>
		<comments>http://www.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
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2010%2F04%2F12%2Flcod-%25e2%2580%2593-4-12-10-%25e2%2580%2593-quick-mysqlreport-to-e-mail-setup%2F' data-shr_title='LCOD+%E2%80%93+4.12.10+%E2%80%93+Quick+Mysqlreport+to+e-mail+setup'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2010%2F04%2F12%2Flcod-%25e2%2580%2593-4-12-10-%25e2%2580%2593-quick-mysqlreport-to-e-mail-setup%2F' data-shr_title='LCOD+%E2%80%93+4.12.10+%E2%80%93+Quick+Mysqlreport+to+e-mail+setup'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><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-publisher-118"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2010%2F04%2F12%2Flcod-%25e2%2580%2593-4-12-10-%25e2%2580%2593-quick-mysqlreport-to-e-mail-setup%2F' data-shr_title='LCOD+%E2%80%93+4.12.10+%E2%80%93+Quick+Mysqlreport+to+e-mail+setup'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2010%2F04%2F12%2Flcod-%25e2%2580%2593-4-12-10-%25e2%2580%2593-quick-mysqlreport-to-e-mail-setup%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2010%2F04%2F12%2Flcod-%25e2%2580%2593-4-12-10-%25e2%2580%2593-quick-mysqlreport-to-e-mail-setup%2F' data-shr_title='LCOD+%E2%80%93+4.12.10+%E2%80%93+Quick+Mysqlreport+to+e-mail+setup'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --><p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.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>LCOD &#8211; 5.9.07 &#8211; Updating CPAN in Perl</title>
		<link>http://www.jonzobrist.com/2007/05/09/lcod-5-9-07-updating-cpan-in-perl/</link>
		<comments>http://www.jonzobrist.com/2007/05/09/lcod-5-9-07-updating-cpan-in-perl/#comments</comments>
		<pubDate>Thu, 10 May 2007 05:35:59 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Command of the Day]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[CPAN]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/?p=75</guid>
		<description><![CDATA[Perl rocks, it&#8217;s easily my favorite programming language. One of the nice things about Perl is the CPAN (Comprehensive Perl Archive Network). Your Linux box has CPAN installed already, and to begin using it you should first update it. To do so run the commands just below. The first time you invoke CPAN it&#8217;ll launch [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F05%2F09%2Flcod-5-9-07-updating-cpan-in-perl%2F' data-shr_title='LCOD+-+5.9.07+-+Updating+CPAN+in+Perl+'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F05%2F09%2Flcod-5-9-07-updating-cpan-in-perl%2F' data-shr_title='LCOD+-+5.9.07+-+Updating+CPAN+in+Perl+'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><p>Perl rocks, it&#8217;s easily my favorite programming language. One of the nice things about Perl is the CPAN (Comprehensive Perl Archive Network). Your Linux box has CPAN installed already, and to begin using it you should first update it. To do so run the commands just below. The first time you invoke CPAN it&#8217;ll launch the configuration module, just hit enter until it gets into the part about which mirrors you want to use, it&#8217;ll have you pick geographic areas first, and then tell you to enter servers by number, separated by spaces. I usually put in about 20 servers, which looks like kinda this</p>
<p>30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10</p>
<p>#invoke perl&#8217;s CPAN shell (and first time configuration with)<br />
bash$ perl -MCPAN -e shell<br />
#once configuration is done, update CPAN, and then reload<br />
CPAN> install Bundle::CPAN<br />
CPAN> reload cpan</p>
<p>Now, head on over to CPAN and search for some cool new Perl modules to play with!</p>
<p>A great place to dive into the world of Perl is Perl.org</p>
<p>Also the Perl Monks is a good Perl site, and Use Perl is as well.</p>
<p>Make sure you have a correct build environment setup, on Ubuntu/Debian you need to install the build-essential package (sudo apt-get install build-essential)</p>
<div class="shr-publisher-75"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F05%2F09%2Flcod-5-9-07-updating-cpan-in-perl%2F' data-shr_title='LCOD+-+5.9.07+-+Updating+CPAN+in+Perl+'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F05%2F09%2Flcod-5-9-07-updating-cpan-in-perl%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F05%2F09%2Flcod-5-9-07-updating-cpan-in-perl%2F' data-shr_title='LCOD+-+5.9.07+-+Updating+CPAN+in+Perl+'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --><p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jonzobrist.com/2007/05/09/lcod-5-9-07-updating-cpan-in-perl/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LCOD &#8211; 3.12.07 &#8211; Speeding up your DNS queries</title>
		<link>http://www.jonzobrist.com/2007/03/12/lcod-3-12-07-speeding-up-your-dns-queries/</link>
		<comments>http://www.jonzobrist.com/2007/03/12/lcod-3-12-07-speeding-up-your-dns-queries/#comments</comments>
		<pubDate>Tue, 13 Mar 2007 05:16:50 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Command of the Day]]></category>
		<category><![CDATA[dns]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/?p=58</guid>
		<description><![CDATA[I did some testing and OpenDNS is fast. To change to use OpenDNS instead of your own, or worse! your ISP&#8217;s crappy, poorly maintained dns server, you can follow the instructions here. http://opendns.com/start/ The basic info is to put in these 2 IP&#8217;s as your dns servers 208.67.222.222 208.67.220.220 On Linux/*BSD you&#8217;d put them in [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F03%2F12%2Flcod-3-12-07-speeding-up-your-dns-queries%2F' data-shr_title='LCOD+-+3.12.07+-+Speeding+up+your+DNS+queries+'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F03%2F12%2Flcod-3-12-07-speeding-up-your-dns-queries%2F' data-shr_title='LCOD+-+3.12.07+-+Speeding+up+your+DNS+queries+'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><div><span>I did some testing and OpenDNS is fast. </span><br />
<span> </span><br />
<span> To change to use OpenDNS instead of your own, or worse! your ISP&#8217;s crappy, poorly maintained dns server, you can follow the instructions here. </span><br />
<span> </span><br />
<span> <a href="http://opendns.com/start/" target="_blank">http://opendns.com/start/</a> </span><br />
<span> </span><br />
<span> The basic info is to put in these 2 IP&#8217;s as your dns servers </span><br />
<span> </span><br />
<span> 208.67.222.222 </span><br />
<span> 208.67.220.220 </span><br />
<span> </span><br />
<span> On Linux/*BSD you&#8217;d put them in your /etc/resolv.conf file like this </span><br />
<span> </span><br />
<span> nameserver 208.67.222.222 </span><br />
<span> nameserver 208.67.220.220 </span><br />
<span> </span><br />
<span> If you&#8217;d like to double whammy your performance run a local cache, I use DJB&#8217;s djbdns dnscache in forwarding only mode, as described here. </span><br />
<span> </span><br />
<span> <a href="http://cr.yp.to/djbdns/run-cache-x-home.html" target="_blank">http://cr.yp.to/djbdns/run-cache-x-home.html</a> </span><br />
<span> </span><br />
<span> With the above IP&#8217;s in the @ file. </span><br />
<span> </span><br />
<span> Installing DJB&#8217;s stuff is cake, you can pretty much cut &amp; paste his instructions found here </span><br />
<span> </span><br />
<span> <a href="http://cr.yp.to/djbdns/install.html" target="_blank">http://cr.yp.to/djbdns/install.html</a> </span><br />
<span> </span><br />
<span> Of course you&#8217;ll need Daemontools, and ucspi, install instructions (cut &amp; pasteable) here </span><br />
<span> </span><br />
<span> <a href="http://cr.yp.to/daemontools/install.html" target="_blank">http://cr.yp.to/daemontools/install.html</a> </span><br />
<span> <a href="http://cr.yp.to/ucspi-tcp/install.html" target="_blank">http://cr.yp.to/ucspi-tcp/install.html</a> </span><br />
<span> </span><br />
<span> If you get compilation errors cuz DJB hasn&#8217;t fixed a bug in his code and some systems (lots of recent Linux systems), run these commands. </span><br />
<span> (run after you&#8217;ve extracted the archive, and cd&#8217;d into it&#8217;s directory, and run for EACH install.) You may get a no such file for the src one on some, but he mixes software locations, so just run em both. </span><br />
<span> </span><br />
<span> perl -pi -e &#8216;s/extern int errno\;/\#include &lt;errno.h&gt;/&#8217; * </span><br />
<span> perl -pi -e &#8216;s/extern int errno\;/\#include &lt;errno.h&gt;/&#8217; src/* </span><br />
<span> </span><br />
<span> Enjoy!</span></div>
<div class="shr-publisher-58"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F03%2F12%2Flcod-3-12-07-speeding-up-your-dns-queries%2F' data-shr_title='LCOD+-+3.12.07+-+Speeding+up+your+DNS+queries+'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F03%2F12%2Flcod-3-12-07-speeding-up-your-dns-queries%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F03%2F12%2Flcod-3-12-07-speeding-up-your-dns-queries%2F' data-shr_title='LCOD+-+3.12.07+-+Speeding+up+your+DNS+queries+'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --><p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jonzobrist.com/2007/03/12/lcod-3-12-07-speeding-up-your-dns-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LCOD &#8211; 2.18.07 &#8211; Simple command line perl substitutions</title>
		<link>http://www.jonzobrist.com/2007/02/18/lcod-2-18-07-simple-command-line-perl-substitutions/</link>
		<comments>http://www.jonzobrist.com/2007/02/18/lcod-2-18-07-simple-command-line-perl-substitutions/#comments</comments>
		<pubDate>Mon, 19 Feb 2007 05:15:10 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Command of the Day]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[regex]]></category>
		<category><![CDATA[regular expression]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/?p=56</guid>
		<description><![CDATA[Ever have a list of things that you want to change all the same? Say you have an image directory and you want to make an html list of all the images in your directory? Perl to the rescue! first, make a file that lists all the images (we&#8217;re using *jpg, but you could do [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F02%2F18%2Flcod-2-18-07-simple-command-line-perl-substitutions%2F' data-shr_title='LCOD+-+2.18.07+-+Simple+command+line+perl+substitutions+'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F02%2F18%2Flcod-2-18-07-simple-command-line-perl-substitutions%2F' data-shr_title='LCOD+-+2.18.07+-+Simple+command+line+perl+substitutions+'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><div><span>Ever have a list of things that you want to change all the same? Say you have an image directory and you want to make an html list of all the images in your directory? Perl to the rescue! </span><br />
<span> </span><br />
<span> first, make a file that lists all the images (we&#8217;re using *jpg, but you could do *gif, or *coolimages*, or just * for all files in the dir &#8211; note: all files in dir * with a redirect will catch the file you are redirecting to, and it will likely need to be removed) </span><br />
<span> </span><br />
<span> From the shell / command line, run: </span><br />
<span> </span><br />
<span> /bin/ls *jpg &gt; ourfiles </span><br />
<span> </span><br />
<span> Now the fun part! This will take a line like this </span><br />
<span> </span><br />
<span> picture1.jpg </span><br />
<span> </span><br />
<span> And make it look like this </span><br />
<span> &lt;a href=&#8221;picture1.jpg&#8221;&gt;&lt;img src=&#8221;picture1.jpg&#8221; border=&#8221;0&#8243;&gt;&lt;/a&gt; </span><br />
<span> </span><br />
<span> From the shell run / command line, run: </span><br />
<span> </span><br />
<span> perl -pi -e &#8216;s/^(.*)$/&lt;a href=\&#8221;$1\&#8221;&gt;&lt;img src=\&#8221;picture1.jpg\&#8221; border=\&#8221;0\&#8221;&gt;&lt;\/a&gt;/&#8217; ourfiles </span><br />
<span> </span><br />
<span> The basic pattern of this command is </span><br />
<span> </span><br />
<span> &#8216;s/SEARCH PATTERN REGEX/REPLACEMENT PATTERN/&#8217; </span><br />
<span> </span><br />
<span> The search pattern is a Regular Expression, and the Replacement Pattern needs to have any special characters escaped (including / $ # @ &#8220;) with a \ </span><br />
<span> </span><br />
<span> The Search Pattern we&#8217;re using is a simple one ^ for start of line, (.*) for . anything and * any number of times, with paranthesis around it to put it into the perl variable $1, and $ for end of line.</span></div>
<div class="shr-publisher-56"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F02%2F18%2Flcod-2-18-07-simple-command-line-perl-substitutions%2F' data-shr_title='LCOD+-+2.18.07+-+Simple+command+line+perl+substitutions+'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F02%2F18%2Flcod-2-18-07-simple-command-line-perl-substitutions%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F02%2F18%2Flcod-2-18-07-simple-command-line-perl-substitutions%2F' data-shr_title='LCOD+-+2.18.07+-+Simple+command+line+perl+substitutions+'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --><p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jonzobrist.com/2007/02/18/lcod-2-18-07-simple-command-line-perl-substitutions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>LCOD &#8211; 2.5.07 &#8211; Debian package management</title>
		<link>http://www.jonzobrist.com/2007/02/05/lcod-2-5-07-debian-package-management/</link>
		<comments>http://www.jonzobrist.com/2007/02/05/lcod-2-5-07-debian-package-management/#comments</comments>
		<pubDate>Tue, 06 Feb 2007 05:14:05 +0000</pubDate>
		<dc:creator>Jon Zobrist</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Linux Command of the Day]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[dpkg]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[tip]]></category>

		<guid isPermaLink="false">http://jonzobrist.com/?p=54</guid>
		<description><![CDATA[This is all over the web, but for some inane reason I can never find it when I need it. List all packages installed in a Debian system, piped to more for readability dpkg -l &#124; more (dpkg dash lower case L pipe more) Seach installed packages for ones containing the word foobar dpkg -P [...]
No related posts.

Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F02%2F05%2Flcod-2-5-07-debian-package-management%2F' data-shr_title='LCOD+-+2.5.07+-+Debian+package+management+'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F02%2F05%2Flcod-2-5-07-debian-package-management%2F' data-shr_title='LCOD+-+2.5.07+-+Debian+package+management+'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop Automatic --><div><span>This is all over the web, but for some inane reason I can never find it when I need it. </span><br />
<span> </span><br />
<span> List all packages installed in a Debian system, piped to more for readability </span><br />
<span> </span><br />
<span> dpkg -l | more </span><br />
<span> </span><br />
<span> (dpkg dash lower case L pipe more) </span><br />
<span> </span><br />
<span> Seach installed packages for ones containing the word foobar </span><br />
<span> </span><br />
<span> dpkg -P /*foobar/* </span><br />
<span> </span><br />
<span> This info from this site </span><br />
<span> <a href="http://electron.mit.edu/%7Egsteele/debian/" target="_blank">http://electron.mit.edu/~gsteele/debian/</a></span></div>
<div class="shr-publisher-54"></div><!-- Start Shareaholic LikeButtonSetBottom Automatic --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' data-shr_layout='button_count' data-shr_showfaces='false' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F02%2F05%2Flcod-2-5-07-debian-package-management%2F' data-shr_title='LCOD+-+2.5.07+-+Debian+package+management+'></a><a class='shareaholic-fbsend' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F02%2F05%2Flcod-2-5-07-debian-package-management%2F'></a><a class='shareaholic-googleplusone' data-shr_size='medium' data-shr_count='true' data-shr_href='http%3A%2F%2Fwww.jonzobrist.com%2F2007%2F02%2F05%2Flcod-2-5-07-debian-package-management%2F' data-shr_title='LCOD+-+2.5.07+-+Debian+package+management+'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom Automatic --><p>No related posts.</p>
<p>Related posts brought to you by <a href='http://yarpp.org'>Yet Another Related Posts Plugin</a>.</p>]]></content:encoded>
			<wfw:commentRss>http://www.jonzobrist.com/2007/02/05/lcod-2-5-07-debian-package-management/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

