<?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>bashhacker.com/blog</title>
	<atom:link href="http://bashhacker.com/blog/?feed=rss2" rel="self" type="application/rss+xml" />
	<link>http://bashhacker.com/blog</link>
	<description></description>
	<lastBuildDate>Tue, 14 Aug 2012 23:10:45 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4.1</generator>
		<item>
		<title>Raspberry Pi</title>
		<link>http://bashhacker.com/blog/?p=126</link>
		<comments>http://bashhacker.com/blog/?p=126#comments</comments>
		<pubDate>Tue, 14 Aug 2012 23:10:45 +0000</pubDate>
		<dc:creator>jonny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bashhacker.com/blog/?p=126</guid>
		<description><![CDATA[So I made this case. And the Pi fits in there pretty good. I did have to notch out the bottom to make room for the USB connector to poke out (not shown). I&#8217;m also working on a reset switch for the Pi because it does not seem to a have hardware switch that will [...]]]></description>
			<content:encoded><![CDATA[<p>So I made this case. And the Pi fits in there pretty good. I did have to notch out the bottom to make room for the USB connector to poke out (not shown).</p>
<p>I&#8217;m also working on a reset switch for the Pi because it does not seem to a have hardware switch that will cause a proper shutdown of the OS. </p>
<div id="attachment_127" class="wp-caption alignnone" style="width: 235px"><a href="http://bashhacker.com/blog/wp-content/uploads/2012/08/IMG_1082.jpg"><img src="http://bashhacker.com/blog/wp-content/uploads/2012/08/IMG_1082-225x300.jpg" alt="Raspberry Pi atari cartridge case" title="IMG_1082" width="225" height="300" class="size-medium wp-image-127" /></a><p class="wp-caption-text">Raspberry Pi atari cartridge case</p></div>
]]></content:encoded>
			<wfw:commentRss>http://bashhacker.com/blog/?feed=rss2&#038;p=126</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Pspice / Orcad student batch simulation</title>
		<link>http://bashhacker.com/blog/?p=120</link>
		<comments>http://bashhacker.com/blog/?p=120#comments</comments>
		<pubDate>Thu, 06 Oct 2011 17:50:54 +0000</pubDate>
		<dc:creator>jonny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bashhacker.com/blog/?p=120</guid>
		<description><![CDATA[Since it seems there is no command line spice packaged with the free pspice/orcad 9.1 student edition I decided I needed to figure out how to make it work, and I did. After much googleing, and failed command prompt switches, I figured out that the only (useful) switch that pspice would respond to on the [...]]]></description>
			<content:encoded><![CDATA[<p>Since it seems there is no command line spice packaged with the free pspice/orcad 9.1 student edition I decided I needed to figure out how to make it work, and I did. After much googleing, and failed command prompt switches, I figured out that the only (useful) switch that pspice would respond to on the command line is -c. Which basically allows the user to run a script against the UI after pspice AD is executed. The program loads visually, does it&#8217;s thing and then closes. That&#8217;s as good as I could get with the free stuff.<span id="more-120"></span> If you blink while that is happening it&#8217;s a very clean solution. I wanted to do this because editing values in a netlist and re-running a simulation is much faster than than clicking in the schematic and updating values that way. Well, narrative aside here is the command:<br />
<strong><br />
<code>pspice -C <your command file>.cmd</code><strong></p>
<p>And here is the contents of my command file&#8230;<br />
</strong><code><br />
File Open_Simulation<br />
*path and file name of .sim file<br />
C:\Users\jonny\Desktop\2130\hwd5a\hwd5-SCHEMATIC1-dasd.sim<br />
OK<br />
Simulate Run<br />
* Exit Probe environment<br />
File Exit<br />
</code><br />
</strong><br />
You can generate a script by opening the pspice AD and clicking File-> Log Commands (do some clicking&#8230;then)  File-> Log Commands (to stop logging) or exit and it will add the act of exiting to the log. Of couse if you want the program to exit you can just add <strong><code>File Exit</code></strong> to the end of the command log.</p>
]]></content:encoded>
			<wfw:commentRss>http://bashhacker.com/blog/?feed=rss2&#038;p=120</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Atmega85 with AVRDragon</title>
		<link>http://bashhacker.com/blog/?p=115</link>
		<comments>http://bashhacker.com/blog/?p=115#comments</comments>
		<pubDate>Tue, 19 Apr 2011 04:11:51 +0000</pubDate>
		<dc:creator>jonny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bashhacker.com/blog/?p=115</guid>
		<description><![CDATA[I just loaded a basic pin toggling c program to test my AVRDragon chip programmer. Apparently at some point I had figured out how to re-wire this tutorial on instructables to work with the 8 pin chips.. two or three Halloweens ago. It was the night that Dave Bazan played the Slowdown as not Pedro [...]]]></description>
			<content:encoded><![CDATA[<p>I just loaded a basic pin toggling c program to test my AVRDragon chip programmer. Apparently at some point I had figured out how to re-wire <a href="http://www.instructables.com/id/Help%3A-An-Absolute-Beginner-s-Guide-to-8-Bit-AVR-Pr/">this tutorial on instructables</a> to work with the 8 pin chips.. two or three Halloweens ago. It was the night that Dave Bazan played the Slowdown as not Pedro the Lion. Well anyhoo, to my surprise it actually worked! Pin 7 was blinking like mad. So I guess next is <a href="http://embedded-lab.com/blog/?p=30">this LCD character display setup</a> once the shift registers come in the mail. I suppose with 8k of program memory I&#8217;ll act spoiled and write in c? Well, I might try some assembly after all. <div class="wp-caption alignnone" style="width: 410px"><img alt="" src="https://lh5.googleusercontent.com/_Gf9LXnDhTBE/Ta0HpawOloI/AAAAAAAAAKQ/VpNJ3NjzY8Q/s400/IMG_20110418_225252.jpg" title="attiny and avrDragon" width="400" height="300" /><p class="wp-caption-text">attiny and avrDragon</p></div></p>
]]></content:encoded>
			<wfw:commentRss>http://bashhacker.com/blog/?feed=rss2&#038;p=115</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Docs as insane source control</title>
		<link>http://bashhacker.com/blog/?p=94</link>
		<comments>http://bashhacker.com/blog/?p=94#comments</comments>
		<pubDate>Sat, 05 Mar 2011 03:54:05 +0000</pubDate>
		<dc:creator>jonny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bashhacker.com/blog/?p=94</guid>
		<description><![CDATA[I think the title really says most of it already. I have been working on 8086 assembly stuff for a class. We are using DOS and MASM a lot. My friend Kyle and I wanted to share the source for our project but neither of us had a good idea how to do it. We [...]]]></description>
			<content:encoded><![CDATA[<p>I think the title really says most of it already. I have been working on 8086 assembly stuff for a class. We are using DOS and MASM a lot. My friend Kyle and I wanted to share the source for our project but neither of us had a good idea how to do it. We both have google docs accounts so for this last project we just shared a collection with two folder OLDARCHE and NEWEST. To check a file out we just moved it to OLDARCHIVE. Then to check it in we just copied it back up. Since you can download whole collections as a zip file this worked pretty well. <span id="more-94"></span></p>
<p>Then I decided it would be cool if we could edit the files online. So I wrote a .bat that would rename all the asm files to .txt file extensions and do a basic &#8220;clean&#8221; of the folder to kill obj and exe files. I called this batch file gd_pack. That stood for google docs pack. Well now that they are all .txt files google is happy to convert them to editable documents. The batch files can be uploaded with the source.</p>
<p>All the source files can be downloaded at once as a collection and I always choose &#8220;convert docs to txt format&#8221; in the collection download options.</p>
<p>I wrote another script to change all the filenames back once I downloaded a collection and unzipped it. I called that one gd_unpack. The one thing that was a pain in the butt was that google docs ads a correctly formated UTF BOM which is a two bite code you would normally be ok with having at the front of your bit stream. Except that beaks the file as far as MASM is concerned. See my google docs help question for more info: <a href="http://www.google.com/support/forum/p/Google+Docs/thread?tid=053b786244ab3398&#038;hl=en">http://www.google.com/support/forum/p/Google+Docs/thread?tid=053b786244ab3398&#038;hl=en</a></p>
<p> All that had to be done now was to strip out the first 4 bytes of each txt file. Unfortunately I&#8217;m not the illest assembly programmer yet. I have not done anything with writing files to disk or reading command tails. Well, I was feeling lazy so I just used <strong>GNU tail</strong>. But yes I was in windows so that means keeping tail.exe with my files (and two libraries). Very dirty I admit but I just wan to try this out you know. So I wrote a <strong>for</strong> loop so that dos runs <strong>tail</strong> on each file and strips out the first four bytes. DONE except I had to rename tail.exe to tail.com and that&#8217;s what its getting called for the rest of its life (dos does not care) so that it dodge <strong>clean</strong> which I do every once in a while even when I&#8217;m not about to upload it (yes,everything is living hodge podge in the same folder for now).</p>
<p>As part of the gd_pack tail.com is renamed to tail.bin to dodge the google file type filters, and back when I retrieve it&#8230; because google docs hates com and exe files.</p>
<p>The end result is I can edit my source online and download it with a few clicks and unpack it. One click cleans it and prepares it for upload, then I drag and drop to my google docs page for safe keeping. Oh I forgot to mention there are a few .txt files in my folder that are actually for real txt files. I just rename those back to txt at the last minute &#8230; </p>
<p>I did some &#8220;things&#8221; with the file extensions that basically go like this:<br />
1. the files are stripped of leading 4 bytes and end up copied to <em>filename</em>.txt.tmp<br />
2. then I delete all *.txt files<br />
3. strip off .tmp file extensions from <em>filename</em>.txt.tmp files<br />
4. rename .txt to .asm</p>
<p>If it was bash I could have combined steps but , DOS I really an happy with just getting something to work with less investment of time. So that should explain the bash file. The others are real simple.</p>
<p>here are the scripts:<br />
<strong>dg_pack.bat:</strong><br />
<code><br />
rename *.asm *.txt<br />
rename tail.com tail.bin<br />
clean<br />
</code><br />
<strong>clean.bat:</strong><br />
<code><br />
del *.exe<br />
del *.obj<br />
</code><br />
<strong>gd_unpack.bat:</strong><br />
<code><br />
rename tail.bin tail.com</p>
<p>for /f %%a IN ('dir /b *.txt') do tail --bytes=+4 %%a > %%a".tmp"</p>
<p>del *.txt<br />
rename *.tmp *.<br />
rename *.txt *.asm</p>
<p>rename *answers.asm *.txt<br />
rename *verification.asm *.txt<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://bashhacker.com/blog/?feed=rss2&#038;p=94</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Augen Gentouch78 DOIT</title>
		<link>http://bashhacker.com/blog/?p=92</link>
		<comments>http://bashhacker.com/blog/?p=92#comments</comments>
		<pubDate>Sat, 14 Aug 2010 01:42:46 +0000</pubDate>
		<dc:creator>jonny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bashhacker.com/blog/?p=92</guid>
		<description><![CDATA[I&#8217;d say buy one just because. I think it rules. It&#8217;s at least a good web browser that fits in your man purse. It&#8217;s plays you tube etc&#8230; And some how it knows where I am in the google map. I read some reviews where people cry about it not being everything it was advertised [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;d say buy one just because. I think it rules. It&#8217;s at least a good web browser that fits in your man purse. It&#8217;s plays you tube etc&#8230; And some how it knows where I am in the google map. I read some reviews where people cry about it not being everything it was advertised to be. HELLO THAT&#8217;S CALLED ADVERTISEMENT! IF YOU DON&#8217;T LIKE IT AND YOU LIVE IN THE USA TAKE IT BACK TO THE STORE FOR A FULL REFUND AND SHUT IT. PS: naked chicks</p>
]]></content:encoded>
			<wfw:commentRss>http://bashhacker.com/blog/?feed=rss2&#038;p=92</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PDF what?</title>
		<link>http://bashhacker.com/blog/?p=85</link>
		<comments>http://bashhacker.com/blog/?p=85#comments</comments>
		<pubDate>Thu, 15 Jul 2010 03:02:05 +0000</pubDate>
		<dc:creator>jonny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bashhacker.com/blog/?p=85</guid>
		<description><![CDATA[How do you split the pages in half? If you had a PDF and you wanted to split the pages each in half and have twice as many half dimensioned pages how would you do it&#8230; Sadly the answer is perhaps to print the pdf to file with crazy print options. AFAIK there is no [...]]]></description>
			<content:encoded><![CDATA[<p>How do you split the pages in half? If you had a PDF and you wanted to split the pages each in half and have twice as many half dimensioned pages how would you do it&#8230; Sadly the answer is perhaps to print the pdf to file with crazy print options. AFAIK there is no functionality in Adobe Acrobat Pro that lets me cut off the bottom half of each page and move it to a new page just below that one for each page. WHY would I/you ever want to do this&#8230;. well the PDF reader I have was being real lame about what it wanted to do so I had to feed it a gourmet PDF. Because I wanted to read the document in landscape mode&#8230; I had to rotate the PDF in an editor&#8230; but I also only wanted each half a page to be a page. DOES ANY OF THIS MAKE SENSE!!!! formatting PDFs for a specific screen size is a pain! But who wants to scroll? So it must be done. Text layout jams and flow are still related to the size of the medium. I know there are technologies that are suppose to be agnostic of that but there will always be things like diagrams or graphs that have to contain a certain amount of detail.. or lack of detail which is sort of up to geometry a little bit. Panning / scrolling makes me want to vomit a little less that zooming way out so that the whole figure is visible but without the detail. In the mean time I&#8217;ll be wasting time trimming, rotating, and gutting PDFs like the rotten fish of a medium they are.</p>
]]></content:encoded>
			<wfw:commentRss>http://bashhacker.com/blog/?feed=rss2&#038;p=85</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Calendar &#8216;Quick Add&#8217; 0wned</title>
		<link>http://bashhacker.com/blog/?p=82</link>
		<comments>http://bashhacker.com/blog/?p=82#comments</comments>
		<pubDate>Sat, 03 Jul 2010 18:45:16 +0000</pubDate>
		<dc:creator>jonny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bashhacker.com/blog/?p=82</guid>
		<description><![CDATA[I was trying to to a quick add of a repeating event. After a bunch of trial and error, SUCCESS!! I think the toughest thing to figure out was that the event will not repeat if you do the quick add and do create event without first clicking edit event details. In other words if [...]]]></description>
			<content:encoded><![CDATA[<p>I was trying to to a quick add of a repeating event. After a bunch of trial and error, SUCCESS!!<br /> I think the toughest thing to figure out was that the event <em>will not repeat</em> if you do the quick add and do <strong>create event</strong> without first clicking <strong>edit event details</strong>.</p>
<p> In other words if you want the event to repeat &#8230; you must click <strong>edit event details</strong>.</p>
<p> Which is to say even if you enter the syntax exactly right the event will not repeat! Am I carzy?<br />
My test string:</p>
<p style="margin-bottom:0;">
<pre style="margin-top:0;margin-bottom:0;background:#E0E0E0;overflow: auto;"><code>Java at Peter Kiewit Institute room 261 every tuesday and thursday 1:30PM - 2:45PM until 12/17/201</code></pre>
<p style="margin-top:0;">
]]></content:encoded>
			<wfw:commentRss>http://bashhacker.com/blog/?feed=rss2&#038;p=82</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>amazonmp3 on ubuntu 10.4 64bit</title>
		<link>http://bashhacker.com/blog/?p=81</link>
		<comments>http://bashhacker.com/blog/?p=81#comments</comments>
		<pubDate>Thu, 17 Jun 2010 03:06:42 +0000</pubDate>
		<dc:creator>jonny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bashhacker.com/blog/?p=81</guid>
		<description><![CDATA[Well&#8230; it wasn&#8217;t pretty. I had once had some things from amazon sent to my friend in England. Because I had one address in my address book it would not let me download anything. &#8220;We could not process your order. The sale of MP3 Downloads is currently available only to US customers located in the [...]]]></description>
			<content:encoded><![CDATA[<p>Well&#8230; it wasn&#8217;t pretty. I had once had some things from amazon sent to my friend in England. Because I had one address in my address book it would not let me download anything. </p>
<p>&#8220;We could not process your order. The sale of MP3 Downloads is currently available only to US customers located in the 48 contiguous states, Alaska, Hawaii, and the District of Columbia.&#8221;</p>
<p>Every address I have ever lived at in the last 8 years or whatever is in there and because I had some thing sent to the UK I can&#8217;t buy mp3s&#8230;? I deleted that one address and every thing worked&#8230; OH but before that&#8230; <!-- more --> I could not get the installer to work because it only wants to work with 32 bit.</p>
<p><a href="http://ubuntuforums.org/showthread.php?p=9145072">http://ubuntuforums.org/showthread.php?p=9145072</a></p>
]]></content:encoded>
			<wfw:commentRss>http://bashhacker.com/blog/?feed=rss2&#038;p=81</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>stereo mix audio recording on dell m1330 in windows 7</title>
		<link>http://bashhacker.com/blog/?p=79</link>
		<comments>http://bashhacker.com/blog/?p=79#comments</comments>
		<pubDate>Sat, 27 Mar 2010 00:07:49 +0000</pubDate>
		<dc:creator>jonny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bashhacker.com/blog/?p=79</guid>
		<description><![CDATA[The dell I&#8217;m on is a 64 bit guy with the 92xx sound card from singmatel audio. Dell might tell you that the hardware feature is missing. According to &#8230; oh, wait it works. You just need an old driver. Why would an old driver work better than a new one? I don&#8217;t know ask [...]]]></description>
			<content:encoded><![CDATA[<p>The dell I&#8217;m on is a 64 bit guy with the 92xx sound card from singmatel audio.</p>
<p><a href='http://bashhacker.com/blog/wp-content/uploads/2010/03/new-bitmap-image.bmp'><img src="http://bashhacker.com/blog/wp-content/uploads/2010/03/new-bitmap-image.bmp" alt="BOOOYAAAHHH" title="Screen shot of devices" class="alignnone size-medium wp-image-80" /></a></p>
<p>Dell might tell you that the hardware feature is missing.<br />
According to &#8230; oh, wait it works. You just need an old driver. Why would an old driver work better than a new one? I don&#8217;t know ask DEVO, the band. Maybe they know something I don&#8217;t.</p>
<p>Go forth and find the driver R171789.exe from dell.</p>
<p>I have renamed the file on my system to:</p>
<p>&#8220;R171789_GOLD__92xx_32and64_bit_stereo_mix<br />
_recording_driver__run_with_xp_compatability_<br />
_after_unistalling_old_driver_BUT_BEFORE_REBOOT.exe&#8221;</p>
<p>You should un-install all audio drivers (make sure they are really gone). Then install this bad boy and reboot.<br />
<strong><br />
use the XP sp3 compatibility mode in properties when you run it!</strong></p>
<p>also you need to right click in your recording devices and &#8216;show disabled devices&#8217; AND WANG THERE YOU GO!</p>
<p>It might work in Vista and Xp as well?</p>
]]></content:encoded>
			<wfw:commentRss>http://bashhacker.com/blog/?feed=rss2&#038;p=79</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>windows 7 mobility center is not awsome</title>
		<link>http://bashhacker.com/blog/?p=77</link>
		<comments>http://bashhacker.com/blog/?p=77#comments</comments>
		<pubDate>Sat, 06 Feb 2010 18:21:14 +0000</pubDate>
		<dc:creator>jonny</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bashhacker.com/blog/?p=77</guid>
		<description><![CDATA[I thought the mobility center available in windows 7 was going to revolutionary my life. I really thought that by striking the keys WinKey + X I was going to have access to all the controls that were most important to me. Turns out I have instant access to all the controls Bill Gates thought [...]]]></description>
			<content:encoded><![CDATA[<p><a href='http://bashhacker.com/blog/wp-content/uploads/2010/02/mobi.bmp'><img src="http://bashhacker.com/blog/wp-content/uploads/2010/02/mobi.bmp" alt="mobility center" title="mobi" class="alignnone size-medium wp-image-78" /></a></p>
<p>I thought the mobility center available in windows 7 was going to revolutionary my life. I really thought that by striking the keys</p>
<p style="margin-bottom:0;">
<pre style="margin-top:0;margin-bottom:0;background:#E0E0E0;overflow: auto;"><code>WinKey + X</code></pre>
<p style="margin-top:0;">
<p>I was going to have access to all the controls that were most important to me. Turns out I have instant access to all the controls Bill Gates thought I would ever need, with no options to add my own choices such the microphone volume/gain. I can adjust my speaker volume BUT NOT THE MIC. OH THAT&#8217;S RIGHT&#8230; I&#8217;M JUST A DUMB CONSUMER WITH NO BRAINS&#8230; WHY WOULD I NEED A MIC!!!!!!<br />
I&#8217;m SURE it can be done SOMEHOW. But no instructions are given here:<br />
<a href="http://windows.microsoft.com/en-us/windows-vista/Using-Windows-Mobility-Center">http://windows.microsoft.com/en-us/windows-vista/Using-Windows-Mobility-Center</a><br />
&#8220;Some tiles in Mobility Center are added by your mobile PC manufacturer&#8221; BUT NONE WILL BE ADDED BY YOU!!!!</p>
<p>Sit back and enjoy the show friends! Sorry to harsh your vibe. :p</p>
]]></content:encoded>
			<wfw:commentRss>http://bashhacker.com/blog/?feed=rss2&#038;p=77</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
