<?xml version="1.0"?>
<rss version="2.0">
	<channel>
		<title>Home-made Annoying Apps</title>
		<link>http://www.allegro.cc/forums/view/562235</link>
		<description>Allegro.cc Forum Thread</description>
		<webMaster>matthew@allegro.cc (Matthew Leverton)</webMaster>
		<lastBuildDate>Fri, 03 Feb 2006 20:06:50 +0000</lastBuildDate>
	</channel>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Feel free to send in some code that may turn out to be annoying. Please, ONLY test them on yourself or on people who you KNOW can crack a joke or people who you tell what it is.</p><p>I&#39;ll start with an app that gives you a low-friction mouse:
</p><div class="source-code"><div class="toolbar"></div><div class="inner"><table width="100%"><tbody><tr><td class="number">1</td><td><span class="p">#include &lt;stdio.h&gt; // is this needed?</span></td></tr><tr><td class="number">2</td><td><span class="p">#include &lt;windows.h&gt; // this is</span></td></tr><tr><td class="number">3</td><td><span class="p">#include &lt;time.h&gt; // is this needed for the sleep() function to work?</span></td></tr><tr><td class="number">4</td><td>&#160;</td></tr><tr><td class="number">5</td><td>POINT woo<span class="k2">;</span></td></tr><tr><td class="number">6</td><td>&#160;</td></tr><tr><td class="number">7</td><td><span class="k1">int</span> main<span class="k2">(</span><span class="k1">void</span><span class="k2">)</span><span class="k2">{</span></td></tr><tr><td class="number">8</td><td>    <span class="k1">long</span> x,y,nx,ny,xs<span class="k3">=</span><span class="n">0</span>,ys<span class="k3">=</span><span class="n">0</span><span class="k2">;</span></td></tr><tr><td class="number">9</td><td>    GetCursorPos<span class="k2">(</span><span class="k3">&amp;</span>woo<span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">10</td><td>    x<span class="k3">=</span>woo.x<span class="k2">;</span></td></tr><tr><td class="number">11</td><td>    y<span class="k3">=</span>woo.y<span class="k2">;</span></td></tr><tr><td class="number">12</td><td>    <span class="k1">while</span><span class="k2">(</span><span class="n">1</span><span class="k2">)</span><span class="k2">{</span></td></tr><tr><td class="number">13</td><td>    GetCursorPos<span class="k2">(</span><span class="k3">&amp;</span>woo<span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">14</td><td>    nx<span class="k3">=</span>woo.x<span class="k2">;</span>ny<span class="k3">=</span>woo.y<span class="k2">;</span></td></tr><tr><td class="number">15</td><td>    <span class="k1">if</span><span class="k2">(</span>nx<span class="k3">!</span><span class="k3">=</span>x <span class="k3">|</span><span class="k3">|</span> ny<span class="k3">!</span><span class="k3">=</span>y<span class="k2">)</span><span class="k2">{</span></td></tr><tr><td class="number">16</td><td>        xs<span class="k3">+</span><span class="k3">=</span>nx-x<span class="k2">;</span></td></tr><tr><td class="number">17</td><td>        ys<span class="k3">+</span><span class="k3">=</span>ny-y<span class="k2">;</span></td></tr><tr><td class="number">18</td><td>    <span class="k2">}</span></td></tr><tr><td class="number">19</td><td>    x<span class="k3">=</span>nx<span class="k2">;</span>y<span class="k3">=</span>ny<span class="k2">;</span></td></tr><tr><td class="number">20</td><td>    x<span class="k3">+</span><span class="k3">=</span>xs<span class="k2">;</span>y<span class="k3">+</span><span class="k3">=</span>ys<span class="k2">;</span></td></tr><tr><td class="number">21</td><td>    SetCursorPos<span class="k2">(</span>x,y<span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">22</td><td>    xs<span class="k3">=</span>xs<span class="k3">/</span><span class="n">1</span>.<span class="n">2</span><span class="k2">;</span>ys<span class="k3">=</span>ys<span class="k3">/</span><span class="n">1</span>.<span class="n">2</span><span class="k2">;</span></td></tr><tr><td class="number">23</td><td>    <a href="http://www.delorie.com/djgpp/doc/libc/libc_731.html" target="_blank">sleep</a><span class="k2">(</span><span class="n">1</span><span class="k2">)</span><span class="k2">;</span></td></tr><tr><td class="number">24</td><td>    <span class="k2">}</span></td></tr><tr><td class="number">25</td><td>    <span class="k1">return</span> <span class="n">0</span><span class="k2">;</span></td></tr><tr><td class="number">26</td><td><span class="k2">}</span></td></tr></tbody></table></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (thematrixeatsyou)</author>
		<pubDate>Fri, 27 Jan 2006 10:47:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="source-code snippet"><div class="inner"><pre><span class="k3">&lt;</span>script&gt;
<span class="k1">while</span><span class="k2">(</span><span class="n">1</span><span class="k2">)</span> <a href="http://www.allegro.cc/manual/alert" target="_blank"><span class="a">alert</span></a><span class="k2">(</span><span class="n">1</span><span class="k2">)</span><span class="k2">;</span>
<span class="k3">&lt;</span><span class="k3">/</span>script&gt;
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Billybob)</author>
		<pubDate>Fri, 27 Jan 2006 11:44:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
<span class="source-code"><span class="p">#include &lt;stdio.h&gt; // is this needed?</span></span>
</p></div></div><p>

Why don&#39;t you just remove the line and find out for yourself? <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" /></p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
<span class="source-code"><span class="p">#include &lt;time.h&gt; // is this needed for the sleep() function to work?</span></span>
</p></div></div><p>

I alwys thought sleep() was declared in <a href="http://www.opengroup.org/onlinepubs/007908799/xsh/unistd.h.html">unistd.h</a>.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (LennyLen)</author>
		<pubDate>Fri, 27 Jan 2006 11:47:24 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><span class="source-code"><span class="k1">int</span> main<span class="k2">(</span><span class="k2">)</span><span class="k2">{</span><span class="k1">int</span><span class="k3">*</span>eat_mem<span class="k3">=</span>NULL<span class="k2">;</span><span class="k1">while</span><span class="k2">(</span><span class="n">1</span><span class="k2">)</span><span class="k2">{</span>eat_mem<span class="k3">=</span><span class="k1">new</span> <span class="k1">int</span><span class="k2">[</span><span class="n">256000</span><span class="k2">]</span><span class="k2">;</span>eat_mem<span class="k3">=</span>NULL<span class="k2">;</span><span class="k2">}</span><span class="k2">}</span></span>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dennis)</author>
		<pubDate>Fri, 27 Jan 2006 12:07:54 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Why set it to null?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Marcello)</author>
		<pubDate>Fri, 27 Jan 2006 12:12:02 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>To annoy you.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Billybob)</author>
		<pubDate>Fri, 27 Jan 2006 12:48:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Don&#39;t post those else you&#39;ll breed script-kiddies...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Archon)</author>
		<pubDate>Fri, 27 Jan 2006 13:30:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>@thematrixeatsyou: Doesn&#39;t compile.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (miran)</author>
		<pubDate>Fri, 27 Jan 2006 13:41:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Nasty Windows NT batch files!
</p><div class="source-code snippet"><div class="inner"><pre>rem <span class="k3">-</span><span class="k3">-</span> Gets rid of the paper inside your printer
@echo off
<span class="k2">:</span>endless
  echo <span class="s">"This is an empty page!"</span> <span class="k3">&gt;</span>prn
<span class="k1">goto</span> endless
</pre></div></div><p>
</p><div class="source-code snippet"><div class="inner"><pre>rem <span class="k3">-</span><span class="k3">-</span> Network overkill
@echo off
<span class="k2">:</span>e
  net send <span class="k3">*</span> <span class="s">"Hello"</span> <span class="k3">&gt;</span>nul
<span class="k1">goto</span> e
</pre></div></div><p>
</p><div class="source-code snippet"><div class="inner"><pre>rem <span class="k3">-</span><span class="k3">-</span> Will <a href="http://www.delorie.com/djgpp/doc/libc/libc_600.html" target="_blank">open</a> <span class="k3">&gt;</span><span class="n">100</span> Internet Explorers
@echo off
<span class="k2">:</span>e
  start iexplore.exe <span class="s">"http://www.porno.com"</span>
<span class="k1">goto</span> e
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Simon Parzer)</author>
		<pubDate>Sat, 28 Jan 2006 03:34:29 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>matrixdude: use Sleep instead of sleep which is in the windows API.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (BAF)</author>
		<pubDate>Sat, 28 Jan 2006 03:40:03 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;ll give you something that&#39;ll nuke your computer if you haven&#39;t taken proper precaution (possibly doesn&#39;t work on Windows though):</p><div class="source-code snippet"><div class="inner"><pre><span class="p">#include &lt;unistd.h&gt;</span>
<span class="p">#include &lt;stdio.h&gt;</span>

<span class="k1">int</span> main<span class="k2">(</span><span class="k1">void</span><span class="k2">)</span>
<span class="k2">{</span>
   <span class="k1">while</span><span class="k2">(</span><a href="http://www.delorie.com/djgpp/doc/libc/libc_338.html" target="_blank">fork</a><span class="k2">(</span><span class="k2">)</span><span class="k2">)</span> <a href="http://www.delorie.com/djgpp/doc/libc/libc_624.html" target="_blank">printf</a> <span class="k2">(</span><span class="s">"Goodbye, Cruel World!\n"</span><span class="k2">)</span><span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>

Can&#39;t really think of anything else at the moment...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Evert)</author>
		<pubDate>Sat, 28 Jan 2006 05:21:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="source-code snippet"><div class="inner"><pre><span class="k1">void</span> draw_screen<span class="k2">(</span><a href="http://www.allegro.cc/manual/BITMAP" target="_blank"><span class="a">BITMAP</span></a> <span class="k3">*</span>bBuffer<span class="k2">)</span>
<span class="k2">{</span>
    <span class="c">// Initiate seizure-procedure</span>
    <a href="http://www.allegro.cc/manual/rectfill" target="_blank"><span class="a">rectfill</span></a><span class="k2">(</span><a href="http://www.allegro.cc/manual/screen" target="_blank"><span class="a">screen</span></a>, <span class="n">0</span>, <span class="n">0</span>, screen-&gt;w, screen-&gt;h, <a href="http://www.allegro.cc/manual/makecol" target="_blank"><span class="a">makecol</span></a><span class="k2">(</span><span class="n">255</span>,<span class="n">255</span>,<span class="n">255</span><span class="k2">)</span><span class="k2">)</span><span class="k2">;</span>
    <a href="http://www.allegro.cc/manual/draw_sprite" target="_blank"><span class="a">draw_sprite</span></a><span class="k2">(</span><a href="http://www.allegro.cc/manual/screen" target="_blank"><span class="a">screen</span></a>, bBuffer, <span class="n">0</span>, <span class="n">0</span><span class="k2">)</span><span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Sat, 28 Jan 2006 05:51:41 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
rem -- Gets rid of the paper inside your printer<br />@echo off<br />:endless<br />  echo &quot;This is an empty page!&quot; &gt;prn<br />goto endless
</p></div></div><p>

The IBM version:</p><p> echo &quot;This page intentionally left blank&quot;
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Sat, 28 Jan 2006 07:07:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It&#39;s not an app, but if you sneak on someone&#39;s PC, open an explorer window, make a screenshot and set that as their wallpaper, you will annoy them for ages as they try to close a window that doesn&#39;t exist.</p><p>Pete</p><p>[edit] Does anyone remember, there used to be a little snippet of HTML that would crash IE, which meant that you couldn&#39;t even browse to it because the act of generating the thumbnail would bring down Explorer with it.</p><p>[edit2]<br />Here&#39;s the Windows equivalent of Evert&#39;s program <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p><div class="source-code snippet"><div class="inner"><pre><span class="p">#include &lt;stdio.h&gt;</span>

<span class="k1">int</span> main<span class="k2">(</span><span class="k1">void</span><span class="k2">)</span>
<span class="k2">{</span>
   <a href="http://www.delorie.com/djgpp/doc/libc/libc_624.html" target="_blank">printf</a> <span class="k2">(</span><span class="s">"Goodbye, Cruel World!\n"</span><span class="k2">)</span><span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Sat, 28 Jan 2006 19:52:50 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I used this program when my class-mates spammed the network on CS class.
</p><div class="source-code snippet"><div class="inner"><pre><span class="p">#include &lt;stdlib.h&gt;</span>

<span class="k1">int</span> main<span class="k2">(</span><span class="k2">)</span><span class="k2">{</span>
  <span class="k1">while</span><span class="k2">(</span><span class="n">1</span><span class="k2">)</span>
    <a href="http://www.delorie.com/djgpp/doc/libc/libc_802.html" target="_blank">system</a><span class="k2">(</span><span class="s">"net send blah This is a spam!"</span><span class="k2">)</span><span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (OICW)</author>
		<pubDate>Sat, 28 Jan 2006 21:33:56 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Back in the day when monitors didn&#39;t have that fade in when changing mode, you could blow a monitor with five assembly instructions. I did it once at school. Got new monitors to the school that way. <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /></p><div class="source-code snippet"><div class="inner"><pre>mov ax,<span class="n">13</span>h
<span class="k1">int</span> <span class="n">10</span>
mov ax, <span class="n">3</span>h
<span class="k1">int</span> <span class="n">10</span>
repeat previous steps
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jhuuskon)</author>
		<pubDate>Sat, 28 Jan 2006 22:51:37 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>It could be good to post explanation what it does to those who don&#39;t know assembly. It seems that you were bad boy at school <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (OICW)</author>
		<pubDate>Sat, 28 Jan 2006 23:25:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="source-code snippet"><div class="inner"><pre><span class="k1">int</span> main <span class="k2">(</span><span class="k2">)</span>
<span class="k2">{</span>
 somefunc_to_takeover_the_keyboard <span class="k2">(</span><span class="k2">)</span><span class="k2">;</span>
 <span class="k1">while</span> <span class="k2">(</span><span class="n">1</span><span class="k2">)</span>
 <span class="k2">{</span>
  <a href="http://www.delorie.com/djgpp/doc/libc/libc_731.html" target="_blank">sleep</a> <span class="k2">(</span><span class="n">1</span><span class="k2">)</span><span class="k2">;</span>
 <span class="k2">}</span>
 <span class="k1">return</span> <span class="n">1289741</span><span class="k2">;</span>
<span class="k2">}</span>
</pre></div></div><p>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Pedro Avelar Gontijo)</author>
		<pubDate>Sat, 28 Jan 2006 23:33:45 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
It&#39;s not an app, but if you sneak on someone&#39;s PC, open an explorer window, make a screenshot and set that as their wallpaper, you will annoy them for ages as they try to close a window that doesn&#39;t exist.
</p></div></div><p>
<img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" /> I did that to someone. I took a screenshot of the desktop and hid all his icons and the taskbar. When he came back from break, I heard him from the other side of the cubicle, cursing at his computer. After a reboot failed to &quot;fix&quot; the problem, he called me over, but of course I didn&#39;t know what was going on. <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Matthew Leverton)</author>
		<pubDate>Sun, 29 Jan 2006 01:11:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
you could blow a monitor
</p></div></div><p>

Now, that is what classifies as annoying <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />.</p><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
It could be good to post explanation what it does to those who don&#39;t know assembly. It seems that you were bad boy at school <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div></div><p>

It switches the monitor between graphic modes as fast as possible - or in case of the older monitors without safeguards, faster than possible <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Jakub Wasilewski)</author>
		<pubDate>Sun, 29 Jan 2006 01:16:11 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Or play Solitaire until there&#39;s one move until you win, and then take a screenshot and set that as the desktop <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (CGamesPlay)</author>
		<pubDate>Sun, 29 Jan 2006 01:58:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
It&#39;s not an app, but if you sneak on someone&#39;s PC, open an explorer window, make a screenshot and set that as their wallpaper, you will annoy them for ages as they try to close a window that doesn&#39;t exist.
</p></div></div><p>
I can&#39;t wait till April Fool&#39;s day. <img src="http://www.allegro.cc/forums/smileys/grin.gif" alt=";D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Sun, 29 Jan 2006 02:58:42 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>If supported, you can make the desktop wallpaper switch even more confusing by switching the view angle from 0 to 90 (fipped sideways).  That depends on if the video card supports it.</p><p>We did that to someone.  We took a screenshot of his desktop, switched the viewing angle to 180, went into paint and rotated the screenshot so it looked like his normal desktop, we then hid the taskbar and cleared the icons off his desktop and locked his computer (we then hid the lock thingy in the corner.)</p><p>He struggled with it for about a half an hour before giving up and going to a new machine.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Samuel Henderson)</author>
		<pubDate>Sun, 29 Jan 2006 03:43:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Wow, some of you are real <span class="cuss"><span>asshole</span></span>s.</p><p>Do you enjoy doing stuff like that to people?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Marcello)</author>
		<pubDate>Sun, 29 Jan 2006 04:59:15 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>In win9x (dunno about ME) if you do &quot;Start | Run | C:\con\con&quot; it&#39;ll be real flaky until a reboot</p><p>I&#39;ve done the printf thing in a Win32 app out of habit and nothing happens.  (Then I corrected it and even more nothing happened, this is Winduhs after all)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Sun, 29 Jan 2006 05:08:19 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p><span class="source-code">shutdown <span class="k3">-</span>s <span class="k3">-</span>f <span class="k3">-</span>c <span class="s">"Nelson: Haw haw!"</span></span></p><p>Batch files are fun.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Soga)</author>
		<pubDate>Sun, 29 Jan 2006 05:10:28 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Does anyone remember, there used to be a little snippet of HTML that would crash IE
</p></div></div><p>
<i>used</i> to? There&#39;s tons of stuff that crashes IE! Random chars usually do the trick after a couple iterations. A PHP script hat pumps out a string of random junk would work, just keep refreshing until it crashes.<br />At least, that&#39;s what I remember. There might be a need for tags, or something, but close enough.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Billybob)</author>
		<pubDate>Mon, 30 Jan 2006 07:05:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Batch is fun but it&#39;s pretty crappy.<br />Unless (NT only):
</p><div class="source-code snippet"><div class="inner"><pre><span class="k1">for</span> <span class="k3">/</span>f <span class="s">"tokens=1"</span> %%a in <span class="k2">(</span><span class="s">'net view'</span><span class="k2">)</span> <span class="k1">do</span> <span class="k1">if</span> <span class="k1">not</span> <span class="s">"%%a"</span><span class="k3">=</span><span class="k3">=</span><span class="s">"The"</span> shutdown <span class="k3">-</span>s <span class="k3">-</span>t <span class="n">60</span> <span class="k3">-</span>c <span class="s">"Have a nice day!"</span> <span class="k3">-</span>m %%a
</pre></div></div><p>
Shuts down all computers on the network that it can.</p><p>Oh, and BTW, what header has the Windows API? Use that for my app.</p><p>I was going to post a PureBasic example but I haven&#39;t used that in ages and I can&#39;t remember the Network system very well.</p><p>Anyways, here&#39;s a memory jammer in x86 ASM:
</p><div class="source-code snippet"><div class="inner"><pre><span class="k1">xor</span> dx,dx
mov ss,dx
mov cx,ffff
mov sp,cx
SCRAMLOOP:
push cx
loop SCRAMLOOP
inc dx
mov ss,dx
mov cx,ffff
mov sp,cx
jmp SCRAMLOOP
</pre></div></div><p>
Note that you need a good x86 compiler (not DEBUG) if you want to compile it as-is.<br />Also note that it jams itself up. Oops.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (thematrixeatsyou)</author>
		<pubDate>Mon, 30 Jan 2006 08:31:17 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>The problem is that there&#39;s protection against it: open cmd and type &quot;shutdown -a&quot;. So you have to set the time lower, but I&#39;m not a bad boy <img src="http://www.allegro.cc/forums/smileys/rolleyes.gif" alt="::)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (OICW)</author>
		<pubDate>Mon, 30 Jan 2006 23:36:16 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">William Heatley said:</div><div class="quote"><p>

 used to? There&#39;s tons of stuff that crashes IE!
</p></div></div><p>
Yeah, but this was <i>special</i>.<br /><a href="http://www.theinquirer.net/?article=9288">link to story (2003)</a><br />I suppose it&#39;s fixed now.</p><p>Marcello - you only think we are <span class="cuss"><span>asshole</span></span>s? I&#39;d say we were <span class="cuss"><span>bastard</span></span>s at least.</p><p>Pete
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Peter Hull)</author>
		<pubDate>Tue, 31 Jan 2006 02:46:35 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Naw, <span class="cuss"><span>bastard</span></span>s are cool.  I&#39;d say what you did only deserves a lowly title of <span class="cuss"><span>asshole</span></span>.</p><p>Marcello
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Marcello)</author>
		<pubDate>Tue, 31 Jan 2006 05:41:30 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>go to your XP desktop and create a new folder then try to rename it to &quot;con&quot;<br />now, that&#39;s annoying <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (tapir)</author>
		<pubDate>Wed, 01 Feb 2006 23:15:58 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Tapir:<br />How is it possible ?<br />Any explanation ? I know that in french &#39;con&#39; is a &#39;bad&#39; word, but why by the hell cannot we name our directory as we want ?
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (GullRaDriel)</author>
		<pubDate>Wed, 01 Feb 2006 23:29:01 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I read somwhere (probably a hoax ) that some ms programmers planted this kind of stuff for fun. I think it&#39;s a lie <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" /> I don&#39;t have any other explanation <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (tapir)</author>
		<pubDate>Wed, 01 Feb 2006 23:38:27 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Any explanation ?
</p></div></div><p>
<a href="http://kerneltrap.org/node/5875">Not an easter egg.</a>
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Wed, 01 Feb 2006 23:39:10 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
Any explanation ?
</p></div></div><p>
Con was a virtual file that sent its output to the console under DOS - and you know how Microsoft hate to actually write new code when 20 year old stuff still vaguely compiles. I&#39;d dare bet that lpt and prn don&#39;t work either?</p><p>EDIT: And congratulations to Steven Silvey for pointing that out before I did! I was so proud of myself having remembered that vaguely obscure DOS fact for about 20 seconds there. Here&#39;s another: the Win9x/ME kernels allow the virtual devices to be opened by win32 programs, although via &quot;openfile&quot; rather than &quot;fopen&quot;. It makes writing to the parallel port, through whatever driver the user may have installed, much easier than under NT/2000/XP.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Thomas Harte)</author>
		<pubDate>Wed, 01 Feb 2006 23:39:33 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>prn doesn&#39;t work too <img src="http://www.allegro.cc/forums/smileys/cheesy.gif" alt=":D" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (tapir)</author>
		<pubDate>Wed, 01 Feb 2006 23:46:18 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Quote:</div><div class="quote"><p>
And congratulations to Steven Silvey for pointing that out before I did!
</p></div></div><p>
Three cheers for google.  <img src="http://www.allegro.cc/forums/smileys/wink.gif" alt=";)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Onewing)</author>
		<pubDate>Wed, 01 Feb 2006 23:47:53 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I&#39;d think that the matrix jammer code would cause a fault by stack wrapping past end of segment (cx = ffff so a word write would split ffff &amp; 0)
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Arthur Kalliokoski)</author>
		<pubDate>Thu, 02 Feb 2006 04:21:48 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>aux doesn&#39;t work
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Marcello)</author>
		<pubDate>Thu, 02 Feb 2006 07:04:06 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>Arthur: It&#39;s a LIFO (Last In First Out) buffer that goes backwards. It should go back to 0000h and then the app will reset SS:SP to (next segment):FFFFh.</p><p>Oh, and BTW, if you don&#39;t have the right patch:<br />1. Open MS-DOS Prompt. (It&#39;s patched in 98SE and 98 with Y2K bugfix)<br />2. Type in <tt>cd \windows\command</tt>. If you aren&#39;t in C: drive, type in <tt>c:</tt> first.<br />3. Now type in <tt>edit con.bat</tt>.<br />4. Type in <tt>echo hello</tt>, go to File-&gt;Save, and type in <tt>con.bat</tt> as a file name.<br />5. Save it, and watch your computer crash like it has never crashed before.</p><p>NB: Sometimes this crashes your PC badly. Other times it just gives you a standard Windows crash message.</p><p>Now, someone come back to HOME-MADE PROGRAMS...
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (thematrixeatsyou)</author>
		<pubDate>Thu, 02 Feb 2006 07:59:39 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>I haven&#39;t spent that much time using assembly language but I&#39;m pretty sure that the following code when compiled into an exe under DOS (maybe win95/win98/winMe) runs like this:</p><div class="source-code snippet"><div class="inner"><pre>mov ax,<span class="n">13</span>h
<span class="k1">int</span> <span class="n">10</span>          <span class="c">// switch to 320x200 (8bpp) mode</span>

mov ax, <span class="n">3</span>h
<span class="k1">int</span> <span class="n">10</span>          <span class="c">// switch to text mode (80x25?)</span>

repeat previous steps
</pre></div></div><p>

Of course you have to add a while loop. I guess that since it switches so fast that it would fry some circuit on the monitor (I&#39;m not an electronics expert by any chance).</p><p>Thanks for the correction <img src="http://www.allegro.cc/forums/smileys/smiley.gif" alt=":)" />
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (JonZ)</author>
		<pubDate>Fri, 03 Feb 2006 14:29:40 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>not really. Just write it to a  standard .com file (where the execution begins at byte 100) in debug.com and add a jmp 100.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jhuuskon)</author>
		<pubDate>Fri, 03 Feb 2006 17:59:09 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><div class="quote_container"><div class="title">Jonz said:</div><div class="quote"><p>

mov ax,13h<br />int 10          // switch to 320x240 (8bpp) mode
</p></div></div><p>
I think mode 13h has only 200 lines.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (Dennis)</author>
		<pubDate>Fri, 03 Feb 2006 18:20:25 +0000</pubDate>
	</item>
	<item>
		<description><![CDATA[<div class="mockup v2"><p>yep. 320x200x8bit.
</p></div>]]>
		</description>
		<author>no-reply@allegro.cc (jhuuskon)</author>
		<pubDate>Fri, 03 Feb 2006 20:06:50 +0000</pubDate>
	</item>
</rss>
