<?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>Nate&#039;s blog &#187; Cool</title>
	<atom:link href="http://naterocks.com/category/cool/feed/" rel="self" type="application/rss+xml" />
	<link>http://naterocks.com</link>
	<description>OMG! Its a blog!</description>
	<lastBuildDate>Sun, 20 Nov 2011 17:17:07 +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>Compiling and Running Java using Notepad++ on Windows</title>
		<link>http://naterocks.com/2011/01/30/compiling-and-running-java-using-notepad-on-windows/</link>
		<comments>http://naterocks.com/2011/01/30/compiling-and-running-java-using-notepad-on-windows/#comments</comments>
		<pubDate>Mon, 31 Jan 2011 04:19:50 +0000</pubDate>
		<dc:creator>Nathan Schloss</dc:creator>
				<category><![CDATA[Anouncements]]></category>
		<category><![CDATA[Computers]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://naterocks.com/?p=385</guid>
		<description><![CDATA[I spent sometime today trying to compile and then run Java using Notepad++ so I figured that I would write<a href="http://naterocks.com/2011/01/30/compiling-and-running-java-using-notepad-on-windows/" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>I spent sometime today trying to compile and then run Java using <a href="http://notepad-plus-plus.org/" target="_blank">Notepad++</a> so I figured that I would write a guide explaining how to do it.</p>
<p><em>For those of you who don&#8217;t know <a href="http://notepad-plus-plus.org/" target="_blank">Notepad++</a> is one of my favorite text editors.</em></p>
<p>Step 1) Download and install the Java JDK from <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html">http://www.oracle.com/technetwork/java/javase/downloads/index.html</a></p>
<p>Step 2) Setup your path variables</p>
<p>Step 2.1) Go to your control panel and search for path</p>
<p>Step 2.2) Click on edit the system environment variables</p>
<p>Step 2.3) Click on environment variables</p>
<p>Step 2.4) Find your path setting</p>
<p><a href="http://naterocks.com/wp-content/uploads/2011/01/edit-path-in-windows-7.png"><img class="alignnone size-full wp-image-386" title="edit path in windows 7" src="http://naterocks.com/wp-content/uploads/2011/01/edit-path-in-windows-7.png" alt="" width="443" height="481" /></a></p>
<p>Step 2.5) Click on your path variable and then click on the edit button</p>
<p>Step 2.6) At the end of your path variable add the following: &#8220;;C:\Program Files\Java\jdk%JDK-VERSION%\bin&#8221; where %JDK-VERSION% is your JDK version number. (You can also find this by browsing to c:/program files/java and looking at the folders there)</p>
<p>Step 3) Log off your computer and then log back in. (You can also reboot if you want, but that is unnecessary)</p>
<p>Step 4) Somewhere on your computer make a new text file and add the following to it:</p>
<blockquote><p>
cd /d &#8220;%1&#8243;<br />
javac %2 -Xlint:all<br />
if errorlevel 1 goto finish<br />
java %3<br />
:finish<br />
pause
</p></blockquote>
<p>Step 5) Rename this file to CompileJava.bat (if the file name does not end it .txt before you rename you will need to do <a href="http://www.fileinfo.com/help/windows-show-extensions.html" target="_blank">this </a>first)</p>
<p>Step 6) Copy this file to C:/Program Files/Notepad++</p>
<p>Step 7) Hit the &#8220;F5&#8243; key and type the following into the text field <em>$(NPP_DIRECTORY)\CompileJava.bat &#8220;$(CURRENT_DIRECTORY)&#8221; &#8220;$(FILE_NAME)&#8221; &#8220;$(NAME_PART)&#8221;</em></p>
<p><em><a href="http://naterocks.com/wp-content/uploads/2011/01/run-java-from-notepad++.png"><img class="alignnone size-full wp-image-387" title="run java from notepad++" src="http://naterocks.com/wp-content/uploads/2011/01/run-java-from-notepad++.png" alt="" width="321" height="205" /></a></em></p>
<p>Step 8 ) Click on save and name the command something like &#8220;CompileJava&#8221;, you can also set up a key command if you like.</p>
<p>Step 9) You can now access your command from the &#8220;Run&#8221; menu</p>
<p><a href="http://naterocks.com/wp-content/uploads/2011/01/run-java-from-notepad++ss.png"><img class="alignnone size-full wp-image-388" title="run java from notepad++ss" src="http://naterocks.com/wp-content/uploads/2011/01/run-java-from-notepad++ss.png" alt="" width="371" height="347" /></a></p>
<p>Thats it, your now ready to create and run Java code from Notepad++! One important note though, only Java programs with default package will compile and run.</p>
<h5><em>Cried goes to <a href="http://techtravelthink.blogspot.com/2009/03/java-compile-and-run-in-notepad.html" target="_blank">Tech Travel Think</a> for the .bat code.</em></h5>
]]></content:encoded>
			<wfw:commentRss>http://naterocks.com/2011/01/30/compiling-and-running-java-using-notepad-on-windows/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>My Life Is Hopkins</title>
		<link>http://naterocks.com/2011/01/13/my-life-is-hopkins/</link>
		<comments>http://naterocks.com/2011/01/13/my-life-is-hopkins/#comments</comments>
		<pubDate>Fri, 14 Jan 2011 06:46:49 +0000</pubDate>
		<dc:creator>Nathan Schloss</dc:creator>
				<category><![CDATA[Anouncements]]></category>
		<category><![CDATA[College]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Internet]]></category>
		<category><![CDATA[Johns Hopkins]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[School]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://naterocks.com/?p=382</guid>
		<description><![CDATA[My new website is mylifeishopkins.com (My Life Is Hopkins or MLIH). Its a website that allows students to post small<a href="http://naterocks.com/2011/01/13/my-life-is-hopkins/" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>My new website is <a href="http://mylifeishopkins.com">mylifeishopkins.com</a> (<a href="http://mylifeishopkins.com">My Life Is Hopkins</a> or <a href="http://mylifeishopkins.com">MLIH</a>). Its a website that allows students to post small anecdotes about life at Johns Hopkins University. I made the website during finals week when I should probably have been studying. The bulk of the work took 2 hours and I made a few tweaks over break. The site has grown really quickly and has gained over 200 members in the past 3 days!</p>
]]></content:encoded>
			<wfw:commentRss>http://naterocks.com/2011/01/13/my-life-is-hopkins/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Funny Keyboard Shortcuts 2</title>
		<link>http://naterocks.com/2011/01/02/funny-keyboard-shortcuts-2/</link>
		<comments>http://naterocks.com/2011/01/02/funny-keyboard-shortcuts-2/#comments</comments>
		<pubDate>Sun, 02 Jan 2011 09:35:58 +0000</pubDate>
		<dc:creator>Nathan Schloss</dc:creator>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Evil]]></category>
		<category><![CDATA[Funny]]></category>
		<category><![CDATA[HowTo]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://naterocks.com/?p=376</guid>
		<description><![CDATA[So in 2008 I made a post about funny keyboard shortcuts. Here is an updated version of that post. Like the old<a href="http://naterocks.com/2011/01/02/funny-keyboard-shortcuts-2/" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>So in 2008 I made a post about <a href="http://naterocks.com/2008/10/09/funny-keyboard-short-cuts/">funny keyboard shortcuts</a>. Here is an updated version of that post.</p>
<p>Like the old post these will only work on windows (windows 7 to be more specific).</p>
<p>1) &#8220;Windows Key&#8221; + &#8220;+&#8221; then &#8220;Windows Key&#8221; + &#8220;-&#8221; then &#8220;Ctrl&#8221; + &#8220;Alt&#8221; +&#8221;I&#8221; &#8211; This will invert the colors on the screen.</p>
<p>2) &#8220;Windows Key&#8221; + &#8220;+&#8221; then &#8220;Ctrl&#8221; + &#8220;Alt&#8221; + &#8220;F&#8221; &#8211; This will make it so the screen is magnified.</p>
<p>3) &#8220;Left Alt&#8221; + &#8220;Left Shift&#8221; + &#8220;Num Lock&#8221; &#8211; This will make it so the number pad can move the mouse around. It can be fun to enable this and then play around with the number pad when someone else is using the computer to confuse them.</p>
<p>4) &#8220;Windows Key&#8221; + &#8220;R&#8221; then type in &#8220;shutdown -f -t 0&#8243; &#8211; This will enable you to shutdown the computer quickly. It will also make it so windows won&#8217;t wait for programs to close, it will shutdown right then and there.</p>
<p>5) &#8220;Shift&#8221; then &#8220;Shift&#8221; then &#8220;Shift&#8221; then &#8220;Shift&#8221; then &#8220;Shift- This will turn on &#8220;Sticky Keys&#8221; which will make it so when anyone presses the &#8220;Shift&#8221;, &#8220;Ctrl&#8221;, &#8220;Alt&#8221;, or &#8220;Windows Key&#8221; and then lets go of the key the computer will act as if they are still holding the key down.</p>
]]></content:encoded>
			<wfw:commentRss>http://naterocks.com/2011/01/02/funny-keyboard-shortcuts-2/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Razer L33T Power Suite Giveaway</title>
		<link>http://naterocks.com/2010/10/19/razer-l33t-power-suite-giveaway/</link>
		<comments>http://naterocks.com/2010/10/19/razer-l33t-power-suite-giveaway/#comments</comments>
		<pubDate>Tue, 19 Oct 2010 21:35:29 +0000</pubDate>
		<dc:creator>Nathan Schloss</dc:creator>
				<category><![CDATA[Anouncements]]></category>
		<category><![CDATA[Contests]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Israel]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[Websites]]></category>

		<guid isPermaLink="false">http://naterocks.com/?p=374</guid>
		<description><![CDATA[Razer is having a giveaway because of all of their fans on facebook&#8230; &#8220;One lucky fan will get to score<a href="http://naterocks.com/2010/10/19/razer-l33t-power-suite-giveaway/" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p><a href="http://l33t.razerzone.com/index.php?user_dtl=e9c5b2e61f0c4c5e008c61fac83061ef">Razer </a>is having a <a href="http://l33t.razerzone.com/index.php?user_dtl=e9c5b2e61f0c4c5e008c61fac83061ef">giveaway </a>because of all of their fans on facebook&#8230;</p>
<p>&#8220;One lucky fan will get to score the ultimate gaming suite powered by Razer &#8211; worth over US$500 &#8211; shipped right to your doorstep that will consist of Razer‘s suite of award winning gaming peripherals &#8211; A choice of your Professional Gaming Mouse, your ideal Professional Gaming Surface and Gaming Keyboard (just tell us which one you would like to have &#8211; it‘s yours), the Razer Megalodon 7.1 Gaming Audio Headset, Razer Armadillo2 Mouse Cable Management System, a Razer Attitude Tee, Razer Messenger Bag, Razer Gear Rack and a Razer l33t Pack.&#8221;</p>
<p>If you are interested in entering then go <a href="http://l33t.razerzone.com/index.php?user_dtl=e9c5b2e61f0c4c5e008c61fac83061ef">here</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://naterocks.com/2010/10/19/razer-l33t-power-suite-giveaway/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>College!</title>
		<link>http://naterocks.com/2010/09/12/college/</link>
		<comments>http://naterocks.com/2010/09/12/college/#comments</comments>
		<pubDate>Mon, 13 Sep 2010 01:56:08 +0000</pubDate>
		<dc:creator>Nathan Schloss</dc:creator>
				<category><![CDATA[Anouncements]]></category>
		<category><![CDATA[College]]></category>
		<category><![CDATA[Cool]]></category>
		<category><![CDATA[Johns Hopkins]]></category>
		<category><![CDATA[Judaism]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[School]]></category>

		<guid isPermaLink="false">http://naterocks.com/?p=368</guid>
		<description><![CDATA[So I&#8217;ve been at college for about 2 weeks now (3 if you count pre-orientation) and I&#8217;ve yet to blog<a href="http://naterocks.com/2010/09/12/college/" class="searchmore">Read the Rest...</a><div class="clr"></div>]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been at college for about 2 weeks now (3 if you count pre-orientation) and I&#8217;ve yet to blog about it, I figured that I&#8217;ll attempt to do so now.</p>
<p><strong>Pre Orientation (August 20th until August 26th):</strong></p>
<p>I did the multi-element pre-orientation trip. It was awesome, we went camping, backbacking, river rafting, and cannoning. I made so many friends on the trip. Two funny stories from the trip:</p>
<p>-On the first day of backpacking when we got to the campsite one of the leaders showed us the water pump and told us to fill our water bottles, she began to use the pump and then someone pointed out the sign that said non-potable water. We ended up using iodine in the water so we could drink it.</p>
<p>-Later that night we were given the option to either sleep in a ten that we had made using a tarp or to sleep in the permanent shelters that were at the campsite. Me and three other students chose to stay in the ten, we asked one of the leaders if we would be okay there at night. He said that we would be fine as long as it did not rain really, really hard. It rained really hard. All of our stuff got wet. (It was still lots and lots of fun)</p>
<p><strong>Finally at Johns Hopkins (August 26th until now):</strong></p>
<p>So from August 26th until August 30th we didn&#8217;t have any classes, instead we met people from various departments and learned more about the school. We also participated in some very fun Hopkins orientation traditions. My favorite of these was playfair.</p>
<p>On August 30th classes started. I was quite worried about the transition however once I got into class I realized that my high school (Milken Community High School) did a really good job of preparing me and that I would do fine. All of my professors are really nice and willing to help. My favorite classes are Robots in Science Fiction, Discrete Math, and Intermediate Programming.</p>
<p>The orientation activities continued throughout the week. I really liked first night (it takes place on the first night of classes, the upperclassmen welcome the freshmen) and the trip to the inner harbor/the national aquarium (which was only open for Hopkins students when we went).</p>
<p>Rosh Ha Shanah was cool too, the Hillel here is really nice and the food was good too. I made a bunch of friends at all of the Hillel events.</p>
]]></content:encoded>
			<wfw:commentRss>http://naterocks.com/2010/09/12/college/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

