<?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>Throw the Mind [dot] Com &#187; Programming</title>
	<atom:link href="http://throwthemind.com/tag/programming/feed/" rel="self" type="application/rss+xml" />
	<link>http://throwthemind.com</link>
	<description></description>
	<lastBuildDate>Wed, 23 May 2012 18:57:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Now Lets Securely Delete Files</title>
		<link>http://throwthemind.com/2008/02/10/now-lets-securely-delete-files/</link>
		<comments>http://throwthemind.com/2008/02/10/now-lets-securely-delete-files/#comments</comments>
		<pubDate>Sun, 10 Feb 2008 06:20:25 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://throwthemind.com/index.php/2008/02/10/now-lets-securely-delete-files/</guid>
		<description><![CDATA[Every week I listen to Security Now a podcast hosted by Steve Gibson and Leo Laporte. The other week I found out that most File Shredding programs don&#8217;t actually delete the files in the correct manner. A file isn&#8217;t deleted until its place on disk has been allocated to another file. This is the reason [...]]]></description>
			<content:encoded><![CDATA[<p>Every week I listen to Security Now a podcast hosted by Steve Gibson and Leo Laporte.  The other week I found out that most File Shredding programs don&#8217;t actually delete the files in the correct manner.  A file isn&#8217;t deleted until its place on disk has been allocated to another file.  This is the reason there are so many file recovery programs available.  So what are we suppose to do if we want to delete a file and be sure it can never be recovered again?  We download SDelete from Sysinternals and put it to work. <span class="p">  </span>SDelete is a command line utility and personally I don&#8217;t like having to type in a long command just to delete a file.  So I wrote up a nice little batch program.  You can either drag and drop one file, or one folder and it will delete the item using SDelete.  All you have to do is download the batch file to the same directory as SDelete.exe and your good to go.   Also the batch file tells SDelete to do five passes, just to make sure your item isn&#8217;t coming back.</p>
<p>Download SDelete.exe <a href="http://download.sysinternals.com/Files/SDelete.zip">http://download.sysinternals.com/Files/SDelete.zip</a><br />
Download delete.bat <a href="http://throwthemind.com/tools/delete.bat">http://throwthemind.com/tools/delete.bat </a></p>
<p>In the last few days I have shown you how to encrypt and decrypt any file, and securely delete any file (unencrypted ones) all running off a USB Dive without Administrator access on a Windows machine.  I hope you get use out of this, I know I do.</p>
<p>Thanks<br />
Nathan</p>
<p class="tags">Tags: <a href="http://throwthemind.com/tag/encryption/" rel="tag">Encryption</a>, <a href="http://throwthemind.com/tag/programming/" rel="tag">Programming</a>, <a href="http://throwthemind.com/tag/security/" rel="tag">Security</a>, <a href="http://throwthemind.com/tag/windows/" rel="tag">Windows</a>
]]></content:encoded>
			<wfw:commentRss>http://throwthemind.com/2008/02/10/now-lets-securely-delete-files/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using OpenSSL on Windows with a USB Drive</title>
		<link>http://throwthemind.com/2008/02/07/using-openssl-on-windows-with-a-usb-drive/</link>
		<comments>http://throwthemind.com/2008/02/07/using-openssl-on-windows-with-a-usb-drive/#comments</comments>
		<pubDate>Fri, 08 Feb 2008 04:21:39 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Encryption]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://throwthemind.com/index.php/2008/02/07/using-openssl-on-windows-with-a-usb-drive/</guid>
		<description><![CDATA[The other day I picked up a new 2gb USB Drive. I like to keep storage with me, as well as programs like Portable Putty, Firefox, Filezilla, VLC, 7Zip and KeePass. All of which can be downloaded free at PortableApps.com Keeping all these programs only takes up around 150MB, which isn&#8217;t bad when you have [...]]]></description>
			<content:encoded><![CDATA[<p>The other day I picked up a new 2gb USB Drive.  I like to keep storage with me, as well as programs like Portable Putty, Firefox, Filezilla, VLC, 7Zip and KeePass.  All of which can be downloaded free at <a href="http://portableapps.com">PortableApps.com</a>   Keeping all these programs only takes up around 150MB, which isn&#8217;t bad when you have 1.9GB to play with.  Now lets talk about encryption.  Using a Mac or Linux a lot like I do, you find OpenSSL is awesome.  You can easily encrypt and decrypt files quickly.  I recently got to looking around and found an .exe of OpenSSL.  So I started playing.  When I was done I had OpenSSL working off a USB Drive,  and a batch file that either encrypts or decrypts based on the file extension.  Oh and the batch file is run by dropping a file onto it.  Here is what I did.</p>
<ol>
<li>Download  <span class="ActiveBoxContent"></span><a href="http://www.slproweb.com/download/Win32OpenSSL_Light-0_9_8g.exe">Win32 OpenSSL v0.9.8g Light</a> and install.</li>
<li>Copy C:\OpenSSL\bin to your USB Drive.</li>
<li>Rename the bin directory to openssl.</li>
<li>Copy libssl32.dll, libeay32.dll, msvcr71.dll, ssleay32.dll from C:\WINDOWS\system32 to your new openssl directory.</li>
<li>Double click on openssl.exe in your openssl directory.  If it works you should get a command prompt showing OpenSSL&gt;</li>
<li>Download this file to the root of your USB Drive.  <a href="http://throwthemind.com/tools/encrypt-and-decrypt.bat">encrypt-and-decrypt.bat</a></li>
<li>Now you have drag and drop encryption and decryption using aes-256.</li>
</ol>
<p>The batch file will encrypt any file but will not encrypt a directory.  If you want to encrypt a directory you can use 7zip to zip up the directory, then encrypt the .zip  Also the batch file will only decrypt files ending in .enc  Test it out and you will see what I mean.   If you have any questions just leave a comment.</p>
<p>Thanks<br />
Nathan</p>
<p>ps. If you want separated encrypt and decrypt files you can download these. <a href="http://throwthemind.com/tools/encrypt.bat">encrypt.bat</a>  <a href="http://throwthemind.com/tools/decrypt.bat">decrypt.bat</a></p>
<p class="tags">Tags: <a href="http://throwthemind.com/tag/encryption/" rel="tag">Encryption</a>, <a href="http://throwthemind.com/tag/programming/" rel="tag">Programming</a>, <a href="http://throwthemind.com/tag/security/" rel="tag">Security</a>, <a href="http://throwthemind.com/tag/windows/" rel="tag">Windows</a>
]]></content:encoded>
			<wfw:commentRss>http://throwthemind.com/2008/02/07/using-openssl-on-windows-with-a-usb-drive/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>GeekTool Rss Script</title>
		<link>http://throwthemind.com/2007/09/20/geektool-rss-script/</link>
		<comments>http://throwthemind.com/2007/09/20/geektool-rss-script/#comments</comments>
		<pubDate>Fri, 21 Sep 2007 04:44:52 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[OSX]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://throwthemind.com/index.php/2007/09/20/geektool-rss-script/</guid>
		<description><![CDATA[Here is a little script a friend help me put together. It it basically a caching RSS reader for GeekTool. I use it to display my Netflix query on my desktop, as well as My MeeVee listing. Just change the LOG, RSS lines and it will pull the title lines out of RSS feeds. If [...]]]></description>
			<content:encoded><![CDATA[<p>Here is a little script a friend help me put together.  It it basically a caching RSS reader for GeekTool.  I use it to display my Netflix query on my desktop, as well as My MeeVee listing.  Just change the LOG, RSS lines and it will pull the title lines out of RSS feeds.  If you want more you can change the curl lines.  Have fun. </p>
<ul>
#!/bin/sh<br />
LOG=/Users/Nathan/scripts/netflix_queue.txt<br />
RSS=&#8221;http://rss.netflix.com/QueueRSS?id=P1414648916102002442351662043565655&#8243;<br />
size=$(ls -all $LOG | awk &#8216;{print $5}&#8217;)</p>
<p>if [ ! -f $LOG ]; then<br />
	curl -s $RSS | grep title |  sed -E &#8216;s/<\/?title>//g&#8217; > $LOG<br />
else<br />
	age=$(echo $(date &#8220;+%s&#8221;) &#8211; $(stat -t &#8220;%s&#8221; $LOG 2>/dev/null | awk -F\&#8221; &#8216;{print $4}&#8217;) | bc -l)<br />
	if [ "$age" -gt 3600 -o $size = 0 ]; then<br />
		curl -s $RSS | grep title |  sed -E &#8216;s/<\/?title>//g&#8217; > $LOG<br />
	fi<br />
fi<br />
cat $LOG
</ul>
<p class="tags">Tags: <a href="http://throwthemind.com/tag/computer/" rel="tag">Computer</a>, <a href="http://throwthemind.com/tag/osx/" rel="tag">OSX</a>, <a href="http://throwthemind.com/tag/programming/" rel="tag">Programming</a>, <a href="http://throwthemind.com/tag/script/" rel="tag">script</a>
]]></content:encoded>
			<wfw:commentRss>http://throwthemind.com/2007/09/20/geektool-rss-script/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Real Linux Commands</title>
		<link>http://throwthemind.com/2007/09/19/real-linux-commands/</link>
		<comments>http://throwthemind.com/2007/09/19/real-linux-commands/#comments</comments>
		<pubDate>Wed, 19 Sep 2007 16:21:36 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Commands]]></category>
		<category><![CDATA[Computer]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://throwthemind.com/index.php/2007/09/19/real-linux-commands/</guid>
		<description><![CDATA[I stole this list from this blog. % cat &#8220;food in cans&#8221; cat: can&#8217;t open food in cans % nice man woman No manual entry for woman. % &#8220;How would you rate Quayle&#8217;s incompetence? Unmatched &#8220;. % Unmatched &#8220;. Unmatched &#8220;. % [Where is Jimmy Hoffa? Missing ]. % ^How did the sex change operation [...]]]></description>
			<content:encoded><![CDATA[<p>I stole this list from this <a href="http://frankmash.blogspot.com">blog</a>. </p>
<ul>
<p>% cat &#8220;food in cans&#8221;<br />
cat: can&#8217;t open food in cans</p>
<p>% nice man woman<br />
No manual entry for woman.</p>
<p>% &#8220;How would you rate Quayle&#8217;s incompetence?<br />
Unmatched &#8220;.</p>
<p>% Unmatched &#8220;.<br />
Unmatched &#8220;.</p>
<p>% [Where is Jimmy Hoffa?<br />
Missing ].</p>
<p>% ^How did the sex change operation go?^<br />
Modifier failed.</p>
<p>% If I had a ( for every $ the Congress spent, what would I have?<br />
Too many (&#8216;s.</p>
<p>% make love<br />
Make: Don&#8217;t know how to make love. Stop.</p>
<p>% sleep with me<br />
bad character</p>
<p>% got a light?<br />
No match.</p>
<p>% man: why did you get a divorce?<br />
man:: Too many arguments.</p>
<p>% !:say, what is saccharine?<br />
Bad substitute.</p>
<p>% %blow<br />
%blow: No such job.</p>
<p>% \(-<br />
(-: Command not found.</p>
<p>$ PATH=pretending! /usr/ucb/which sense<br />
no sense in pretending!</p>
<p>$ drink matter<br />
matter: cannot create
</ul>
<p class="tags">Tags: <a href="http://throwthemind.com/tag/commands/" rel="tag">Commands</a>, <a href="http://throwthemind.com/tag/computer/" rel="tag">Computer</a>, <a href="http://throwthemind.com/tag/linux/" rel="tag">Linux</a>, <a href="http://throwthemind.com/tag/programming/" rel="tag">Programming</a>
]]></content:encoded>
			<wfw:commentRss>http://throwthemind.com/2007/09/19/real-linux-commands/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Best of the Interweb 6-26-06</title>
		<link>http://throwthemind.com/2006/06/26/best-of-the-interweb-6-26-06/</link>
		<comments>http://throwthemind.com/2006/06/26/best-of-the-interweb-6-26-06/#comments</comments>
		<pubDate>Mon, 26 Jun 2006 14:49:48 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Best Interweb]]></category>
		<category><![CDATA[Drinks]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[wii]]></category>
		<category><![CDATA[YouTube]]></category>

		<guid isPermaLink="false">http://throwthemind.com/blog/2006/06/26/best-of-the-interweb-6-26-06/</guid>
		<description><![CDATA[Hey everyone it&#8217;s a new week, and a hole new start to the best of the interweb. First off if this one isn&#8217;t great it cause I&#8217;m really tired. I was up all night arguing with someone about something that really didn&#8217;t matter&#8230;maybe Ill make a new post about that. Anyway hope you enjoy this [...]]]></description>
			<content:encoded><![CDATA[<p>Hey everyone it&#8217;s a new week, and a hole new start to the best of the interweb.  First off if this one isn&#8217;t great it cause I&#8217;m really tired.  I was up all night arguing with someone about something that really didn&#8217;t matter&#8230;maybe Ill make a new post about that.  Anyway hope you enjoy this list.</p>
<ul>
<li>I wish I was <a href="http://www.techeblog.com/index.php/tech-gadget/top-10-strangest-japanese-gadgets-and-accessories/trackback/">Japanese</a>!</li>
<li>Bla Bla Bla, we knew this was <a href="http://blogs.msdn.com/winfs/archive/2006/06/23/644706.aspx">coming</a>.</li>
<li><a href="http://www.engadget.com/2006/06/24/nintendo-wii-mockup-next-to-very-many-things/">Wiiiiii</a> very awesome</li>
<li>Here is a cool thing i stumbled upon, <a href="http://www.google.com/dirhp?hl=en">Google Directory</a> </li>
<li>Have an idea, don&#8217;t know how to code it.  How bout you <a href="http://rentacoder.com/RentACoder/default.asp">rent a coder</a>.</li>
<li><a href="http://abcnews.go.com/GMA/Health/story?id=2114263&#038;page=1">Nicotine</a> in a drink, way to great.</li>
<li><a href="http://youtube.com/watch?v=JUvv-BM7zg0">Orientation</a> of Scientology</li>
</ul>
<p class="tags">Tags: <a href="http://throwthemind.com/tag/best-interweb/" rel="tag">Best Interweb</a>, <a href="http://throwthemind.com/tag/drinks/" rel="tag">Drinks</a>, <a href="http://throwthemind.com/tag/google/" rel="tag">Google</a>, <a href="http://throwthemind.com/tag/microsoft/" rel="tag">Microsoft</a>, <a href="http://throwthemind.com/tag/programming/" rel="tag">Programming</a>, <a href="http://throwthemind.com/tag/wii/" rel="tag">wii</a>, <a href="http://throwthemind.com/tag/youtube/" rel="tag">YouTube</a>
]]></content:encoded>
			<wfw:commentRss>http://throwthemind.com/2006/06/26/best-of-the-interweb-6-26-06/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Best of the Interweb 6-22-06</title>
		<link>http://throwthemind.com/2006/06/22/best-of-the-interweb-6-22-06/</link>
		<comments>http://throwthemind.com/2006/06/22/best-of-the-interweb-6-22-06/#comments</comments>
		<pubDate>Thu, 22 Jun 2006 15:46:55 +0000</pubDate>
		<dc:creator>Nathan</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Bathroom]]></category>
		<category><![CDATA[Crazy]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[Medical]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[MySpace]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Sex]]></category>
		<category><![CDATA[Web_2.0]]></category>

		<guid isPermaLink="false">http://throwthemind.com/blog/2006/06/22/best-of-the-interweb-6-22-06/</guid>
		<description><![CDATA[I found some nice stuff today. Hope you enjoy, and keep on keep&#8217;n on, only one more work day left before the weekend. This would be great in a home bathroom, or this. Use google for evil. One big ass website. Even people at M$ don&#8217;t like to use MSN to search..lol I swear MrWorld [...]]]></description>
			<content:encoded><![CDATA[<p>I found some nice stuff today.  Hope you enjoy, and keep on keep&#8217;n on, only one more work day left before the weekend.  </p>
<ul>
<li><a href="http://www.philipwattsdesign.com/cat-12-subcat-22-product-178">This</a> would be great in a home bathroom, or <a href="http://www.philipwattsdesign.com/cat-12-subcat-22-product-179">this</a>.</li>
<li>Use <a href="http://blog.outer-court.com/archive/2006-06-21-n14.html">google</a> for evil.</li>
<li>One big ass <a href="http://www.phrenopolis.com/perspective/atom/index.html">website</a>.</li>
<li>Even people at M$ don&#8217;t like to use MSN to <a href="http://www.theinquirer.net/?article=32538">search</a>..lol</li>
<li>I swear MrWorld finds the <a href="http://www.religionnewsblog.com/">craziest shit</a>! Thanks man</li>
<li>Rape is like&#8230;..Oh fuck my penis is <a href="http://www.medgadget.com/archives/2006/06/rapex_delayed.html">bleeding</a>&#8230;you fucking bitch now your going to die&#8230;anyone else think violence isn&#8217;t the answer?</li>
<li>A <a href="http://arts.guardian.co.uk/features/story/0,,1801705,00.html">fake</a> on myspace, is this anything new, or anything to be proud of?</li>
<li>Really there could be something <a href="http://www.medialifemagazine.com/artman/publish/article_5439.asp">wrong</a> with me?  I would have never guessed.</li>
<li> <a href="http://en.wikipedia.org/wiki/Malbolge_programming_language">Hello World!</a> <br />(=<`:9876Z4321UT.-Q+*)M'&#038;%$H"!~}|Bzy?=|{z]KwZY44Eq0/{mlk**<br />
 hKs_dG5[m_BA{?-Y;;Vb&#8217;rR5431M}/.zHGwEDCBA@98\6543W10/.R,+O<</li>
<li>Useful <a href="http://www.zealivityfive.com/article/news/208/">mashups</a>.</li>
</ul>
<p class="tags">Tags: <a href="http://throwthemind.com/tag/bathroom/" rel="tag">Bathroom</a>, <a href="http://throwthemind.com/tag/crazy/" rel="tag">Crazy</a>, <a href="http://throwthemind.com/tag/google/" rel="tag">Google</a>, <a href="http://throwthemind.com/tag/medical/" rel="tag">Medical</a>, <a href="http://throwthemind.com/tag/microsoft/" rel="tag">Microsoft</a>, <a href="http://throwthemind.com/tag/myspace/" rel="tag">MySpace</a>, <a href="http://throwthemind.com/tag/programming/" rel="tag">Programming</a>, <a href="http://throwthemind.com/tag/sex/" rel="tag">Sex</a>, <a href="http://throwthemind.com/tag/web_20/" rel="tag">Web_2.0</a>
]]></content:encoded>
			<wfw:commentRss>http://throwthemind.com/2006/06/22/best-of-the-interweb-6-22-06/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>

