<?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>BlueScripts &#187; Uncategorized</title>
	<atom:link href="http://bluescripts.net/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://bluescripts.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Wed, 07 Jul 2010 16:42:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Puppies!</title>
		<link>http://bluescripts.net/2010/07/puppies/</link>
		<comments>http://bluescripts.net/2010/07/puppies/#comments</comments>
		<pubDate>Wed, 07 Jul 2010 05:59:59 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bluescripts.net/?p=352</guid>
		<description><![CDATA[These are my two new puppies: Spunky (golden) and Licorice (black) &#8212; they&#8217;re both Lab/Retriever/Terrier mixes that I rescued:]]></description>
			<content:encoded><![CDATA[<p>These are my two new puppies: Spunky (golden) and Licorice (black) &#8212; they&#8217;re both Lab/Retriever/Terrier mixes that I rescued:</p>
<p><a href="http://www.flickr.com/photos/93856865@N00/4770005101/" title="DSCN5441 by josh.rendek, on Flickr"><img src="http://farm5.static.flickr.com/4076/4770005101_cf7e054eca_z.jpg" width="480" height="640" alt="DSCN5441"></a></p>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2010/07/puppies/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple alias for .bash_rc and script/generate</title>
		<link>http://bluescripts.net/2010/05/simple-alias-for-bash_rc-and-scriptgenerate/</link>
		<comments>http://bluescripts.net/2010/05/simple-alias-for-bash_rc-and-scriptgenerate/#comments</comments>
		<pubDate>Sat, 29 May 2010 07:40:39 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[rails]]></category>

		<guid isPermaLink="false">http://bluescripts.net/2010/05/simple-alias-for-bash_rc-and-scriptgenerate/</guid>
		<description><![CDATA[Just add this to your bash_rc &#8230; quick easy way to access script/generate alias rg='script/generate']]></description>
			<content:encoded><![CDATA[<p>Just add this to your bash_rc &#8230; quick easy way to access script/generate</p>
<pre>alias rg='script/generate'</pre>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2010/05/simple-alias-for-bash_rc-and-scriptgenerate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Boolean Aglebra / Canonical SOP form</title>
		<link>http://bluescripts.net/2010/02/boolean-aglebra-canonical-sop-form/</link>
		<comments>http://bluescripts.net/2010/02/boolean-aglebra-canonical-sop-form/#comments</comments>
		<pubDate>Tue, 16 Feb 2010 13:43:45 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://bluescripts.net/2010/02/boolean-aglebra-canonical-sop-form/</guid>
		<description><![CDATA[Got tired of doing these by hand for classes so I made a little program&#8230; VERY basic, only handles one missing variable, but it orders them in terms of min terms and multiplies them out properly&#8230; perhaps ill generalize it more the N terms and make a little web service out of it&#8230;.]]></description>
			<content:encoded><![CDATA[<p>Got tired of doing these by hand for classes so I made a little program&#8230; VERY basic, only handles one missing variable, but it orders them in terms of min terms and multiplies them out properly&#8230; perhaps ill generalize it more the N terms and make a little web service out of it&#8230;.</p>
<p><script src="http://gist.github.com/305731.js"></script></p>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2010/02/boolean-aglebra-canonical-sop-form/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>C++ not reading in integers: Windows vs Mac error?</title>
		<link>http://bluescripts.net/2009/11/c-windows-vs-mac-error/</link>
		<comments>http://bluescripts.net/2009/11/c-windows-vs-mac-error/#comments</comments>
		<pubDate>Fri, 06 Nov 2009 17:08:55 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[c++]]></category>

		<guid isPermaLink="false">http://bluescripts.net/?p=293</guid>
		<description><![CDATA[Well I was doing some homework today in XCode and ran across a strange error&#8230; Assume the first line of the file is an integer, lets say 127 ifstream inFile; int number; inFile &#62;&#62; number; You would think, on both windows and mac this would store 127 in number. Only on windows. On my mac [...]]]></description>
			<content:encoded><![CDATA[<p>Well I was doing some homework today in XCode and ran across a strange error&#8230;</p>
<p>Assume the first line of the file is an integer, lets say 127</p>
<pre>ifstream inFile;
int number;
inFile &gt;&gt; number;</pre>
<p>You would think, on both windows and mac this would store 127 in number.<br />
Only on windows. On my mac it would read in 0 as the value.</p>
<p>On mac (specifically in xcode) to get that number&#8230;</p>
<pre>ifstream inFile;
int num;
string temp_num;
inFile &gt;&gt; temp_num;
num = atoi(temp_num.c_str());</pre>
<p>Interesting little bug, or perhaps design choice?</p>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2009/11/c-windows-vs-mac-error/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Apple jokes&#8230;</title>
		<link>http://bluescripts.net/2009/09/apple-jokes/</link>
		<comments>http://bluescripts.net/2009/09/apple-jokes/#comments</comments>
		<pubDate>Mon, 07 Sep 2009 21:01:40 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bluescripts.net/?p=271</guid>
		<description><![CDATA[This always cracks me up whenever I hit &#8220;Get Info&#8221; for a PC&#8230;.BSOD!]]></description>
			<content:encoded><![CDATA[<p>This always cracks me up whenever I hit &#8220;Get Info&#8221; for a PC&#8230;.BSOD!</p>
<p><img class="aligncenter" src="http://img.skitch.com/20090907-ch1uqrmypa4jwkbj9i5act62hx.jpg" alt="" width="265" height="380" /></p>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2009/09/apple-jokes/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Leapord -&gt; Snow Leapord MySQL Issue</title>
		<link>http://bluescripts.net/2009/09/leapord-snow-leapord-mysql-issue/</link>
		<comments>http://bluescripts.net/2009/09/leapord-snow-leapord-mysql-issue/#comments</comments>
		<pubDate>Sat, 05 Sep 2009 22:28:13 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bluescripts.net/?p=267</guid>
		<description><![CDATA[Well I was going to write a really long blog post about this but others have already done a really good job. I had to copy all my innodb files over (when you do, make sure permissions are right) and do a pristine gem update but most of it was pretty painless&#8230; Recommended reading: http://afreshcup.com/2009/09/02/migrating-to-snow-leopard-for-rails-development-a-definitive-guide/ [...]]]></description>
			<content:encoded><![CDATA[<p>Well I was going to write a really long blog post about this but others have already done a really good job. I had to copy all my innodb files over (when you do, make sure permissions are right) and do a pristine gem update but most of it was pretty painless&#8230;</p>
<p>Recommended reading:<br />
<a href="http://afreshcup.com/2009/09/02/migrating-to-snow-leopard-for-rails-development-a-definitive-guide/"> http://afreshcup.com/2009/09/02/migrating-to-snow-leopard-for-rails-development-a-definitive-guide/</a></p>
<p><a href="http://frozenplague.net/2009/08/snow-leopard-rubyrails-developer-setup/">http://frozenplague.net/2009/08/snow-leopard-rubyrails-developer-setup/</a></p>
<p>A mixture of both and a little bit of tinkering on my own managed to get my development environment back to sanity.</p>
<p>Over all though I&#8217;d say the upgrade process for the actual OS worked flawlessly&#8230;. pretty much two buttons to click, sit back and watch. Kudos to Apple.</p>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2009/09/leapord-snow-leapord-mysql-issue/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>XPM not being found on php configure</title>
		<link>http://bluescripts.net/2009/08/xpm-not-being-found-on-php-configure/</link>
		<comments>http://bluescripts.net/2009/08/xpm-not-being-found-on-php-configure/#comments</comments>
		<pubDate>Sat, 29 Aug 2009 23:48:14 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gd]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[xpm]]></category>

		<guid isPermaLink="false">http://bluescripts.net/2009/08/xpm-not-being-found-on-php-configure/</guid>
		<description><![CDATA[Just spent the better portion of my day fixing a buggered PHP installation&#8230; The magic line: &#8211;with-mysql &#8211;enable-shmop &#8211;enable-track-vars &#8211;enable-sockets &#8211;enable-sysvsem &#8211;enable-sysvshm &#8211;enable-magic-quotes &#8211;enable-mbstring &#8211;with-curl &#8211;with-mcrypt &#8211;with-freetype-dir=/usr &#8211;with-exec-dir=/usr/bin &#8211;with-mhash=shared &#8211;with-pear=/usr/share/pear &#8211;with-zlib &#8211;with-openssl &#8211;with-xml &#8211;enable-gd-native-ttf &#8211;with-png &#8211;with-zlib &#8211;with-zlib-dir=/usr &#8211;with-jpeg-dir=/usr &#8211;with-png-dir=/usr &#8211;with-gd=/usr ^^ MAKE SURE &#8211;with-gd=/usr is at THE END]]></description>
			<content:encoded><![CDATA[<p>Just spent the better portion of my day fixing a buggered PHP installation&#8230;</p>
<p>The magic line:<br />
&#8211;with-mysql &#8211;enable-shmop &#8211;enable-track-vars &#8211;enable-sockets &#8211;enable-sysvsem &#8211;enable-sysvshm &#8211;enable-magic-quotes &#8211;enable-mbstring &#8211;with-curl &#8211;with-mcrypt &#8211;with-freetype-dir=/usr &#8211;with-exec-dir=/usr/bin &#8211;with-mhash=shared &#8211;with-pear=/usr/share/pear &#8211;with-zlib &#8211;with-openssl &#8211;with-xml  &#8211;enable-gd-native-ttf &#8211;with-png &#8211;with-zlib &#8211;with-zlib-dir=/usr &#8211;with-jpeg-dir=/usr &#8211;with-png-dir=/usr &#8211;with-gd=/usr</p>
<p>^^ MAKE SURE &#8211;with-gd=/usr is at THE END </p>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2009/08/xpm-not-being-found-on-php-configure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Quote of the Day Tweeter</title>
		<link>http://bluescripts.net/2009/08/quote-of-the-day-tweeter/</link>
		<comments>http://bluescripts.net/2009/08/quote-of-the-day-tweeter/#comments</comments>
		<pubDate>Sun, 16 Aug 2009 02:05:04 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[free scripts]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://bluescripts.net/?p=236</guid>
		<description><![CDATA[I wrote this to pull from QuotationsPage.com and post the quote of the day to twitter in Python. Download it, edit the username/password line and set it up in cron to run once a day. Download Here View source: http://bluescripts.net/quote-of-the-day-tweeter/]]></description>
			<content:encoded><![CDATA[<p>I wrote this to pull from <a href="http://quotationspage.com/">QuotationsPage.com</a> and post the quote of the day to twitter in Python. Download it, edit the username/password line and set it up in cron to run once a day.</p>
<p><a href="http://bluescripts.net/wp-content/plugins/download-monitor/download.phpid=4">Download Here</a></p>
<p>View source: <a href="http://bluescripts.net/quote-of-the-day-tweeter/">http://bluescripts.net/quote-of-the-day-tweeter/</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2009/08/quote-of-the-day-tweeter/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Interesting Loopback Device issue on CentOS</title>
		<link>http://bluescripts.net/2009/08/interesting-loopback-device-issue-on-centos/</link>
		<comments>http://bluescripts.net/2009/08/interesting-loopback-device-issue-on-centos/#comments</comments>
		<pubDate>Mon, 03 Aug 2009 23:03:17 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[CentOS]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Loopback device]]></category>

		<guid isPermaLink="false">http://bluescripts.net/2009/08/interesting-loopback-device-issue-on-centos/</guid>
		<description><![CDATA[Was playing around with using the loopback devices to mount some OS images on CentOS and following the losetup followed by a mount command would indeed mount the image, but umount wouldn&#8217;t unmount it and would leave it stagnant, leaving me with this error: ioctl: LOOP_CLR_FD: Device or resource busy Interestingly enough though the lomount [...]]]></description>
			<content:encoded><![CDATA[<p>Was playing around with using the loopback devices to mount some OS images on CentOS and following the losetup followed by a mount command would indeed mount the image, but umount wouldn&#8217;t unmount it and would leave it stagnant, leaving me with this error:</p>
<pre>ioctl: LOOP_CLR_FD: Device or resource busy</pre>
<p>Interestingly enough though the lomount command</p>
<pre>lomount -diskimage OS.img -partition 1  /MOUNTFOLDER</pre>
<p>and then using umount to unmount the mountfolder would unmount the loopback device properly and free it for re-use.</p>
<p>Hope this helps someone!</p>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2009/08/interesting-loopback-device-issue-on-centos/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Gem/Rails CRC Error</title>
		<link>http://bluescripts.net/2009/07/gemrails-crc-error/</link>
		<comments>http://bluescripts.net/2009/07/gemrails-crc-error/#comments</comments>
		<pubDate>Wed, 15 Jul 2009 01:03:40 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bluescripts.net/?p=226</guid>
		<description><![CDATA[[root@unknown openssl]# gem install rails --verbose GET 200 OK: http://gems.rubyforge.org/latest_specs.4.8.gz GET 200 OK: http://gems.rubyforge.org/specs.4.8.gz Installing gem activesupport-2.3.2 ERROR: While executing gem ... (Zlib::GzipFile::CRCError) invalid compressed data -- crc error After about an hour on the rails IRC and talking with a friend over instant messaging about possible issues it ended up boiling down to openssl [...]]]></description>
			<content:encoded><![CDATA[<pre>[root@unknown openssl]# gem install rails --verbose
GET 200 OK: http://gems.rubyforge.org/latest_specs.4.8.gz
GET 200 OK: http://gems.rubyforge.org/specs.4.8.gz
Installing gem activesupport-2.3.2
ERROR:  While executing gem ... (Zlib::GzipFile::CRCError)
    invalid compressed data -- crc error</pre>
<p>After about an hour on the rails IRC and talking with a friend over instant messaging about possible issues it ended up boiling down to openssl and openssl-dev not being installed. Install those but you&#8217;re not done yet.</p>
<p>cd to your ruby directory then go into the ext directory, once in there cd openssl; ruby extconf.rb; make; make install, cd ../; cd zlib; ruby extconf.rb; make; make install</p>
<p>And the shebang line: gem install rails &#8211;verbose and you should be all good to go now <img src='http://bluescripts.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Hope this helps someone else as google was pretty empty with any &#8220;resolved&#8221; solutions.</p>
]]></content:encoded>
			<wfw:commentRss>http://bluescripts.net/2009/07/gemrails-crc-error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
