<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - darkphotn</title>
<link>http://snipplr.com/users/darkphotn</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 06 Jul 2008 03:50:42 GMT</pubDate>
<item>
<title>(Prolog) Crazy Prolog Code</title>
<link>http://snipplr.com/view/4537/crazy-prolog-code/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 13 Jan 2008 15:12:14 GMT</pubDate>
<guid>http://snipplr.com/view/4537/crazy-prolog-code/</guid>
</item>
<item>
<title>(Perl) Crazy Perl Code</title>
<link>http://snipplr.com/view/4536/crazy-perl-code/</link>
<description><![CDATA[ <p>Yes, this is valid code.

Designed by myself, unless otherwise noted.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 15:10:03 GMT</pubDate>
<guid>http://snipplr.com/view/4536/crazy-perl-code/</guid>
</item>
<item>
<title>(C++) Crazy C++ Code</title>
<link>http://snipplr.com/view/4535/crazy-c-code/</link>
<description><![CDATA[ <p>Yes, this is valid code.

Designed by myself, unless otherwise noted.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 15:07:11 GMT</pubDate>
<guid>http://snipplr.com/view/4535/crazy-c-code/</guid>
</item>
<item>
<title>(Lisp) Large Factorials in LISP</title>
<link>http://snipplr.com/view/4534/large-factorials-in-lisp/</link>
<description><![CDATA[ <p>Large factorials are easy to do in LISP, although a number above (2000!) may crash it.  I designed this because of an online post from a mathematician talking about the number 1000! .  Code like this is difficult to write in C-like languages, but a snap in LISP, as the following code demonstrates.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 15:04:10 GMT</pubDate>
<guid>http://snipplr.com/view/4534/large-factorials-in-lisp/</guid>
</item>
<item>
<title>(C++) Crazy C Code</title>
<link>http://snipplr.com/view/4533/crazy-c-code/</link>
<description><![CDATA[ <p>Yes, it's valid code.

Created by myself, unless otherwise noted.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 15:01:14 GMT</pubDate>
<guid>http://snipplr.com/view/4533/crazy-c-code/</guid>
</item>
<item>
<title>(JavaScript) Convert String to Number in Javascript</title>
<link>http://snipplr.com/view/4531/convert-string-to-number-in-javascript/</link>
<description><![CDATA[ <p>Javascript sometimes confuses strings and numbers.  When this happens, you get bizarre outcomes such as "2 + 2 = 22".  The following code FORCES a conversion to a number.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 13:19:56 GMT</pubDate>
<guid>http://snipplr.com/view/4531/convert-string-to-number-in-javascript/</guid>
</item>
<item>
<title>(JavaScript) Sort text in Javascript</title>
<link>http://snipplr.com/view/4530/sort-text-in-javascript/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 13 Jan 2008 13:16:21 GMT</pubDate>
<guid>http://snipplr.com/view/4530/sort-text-in-javascript/</guid>
</item>
<item>
<title>(Lisp) Simple LISP reference</title>
<link>http://snipplr.com/view/4528/simple-lisp-reference/</link>
<description><![CDATA[ <p>This demonstrates, in as few lines as possible, the basic syntax of LISP.  You should be able to figure out how to make more complex programs just by thinking about it.  For example, if (+ '1 '2) is how you add numbers, then (* '1 '2) would multiply numbers.  String them together for more complexity --- (* (+ '1 '2) (+ '3 '4)).  Note that, with numbers, you can use '1 or 1 -- it's basically the same thing.  With variables, it is different.  Designed using CLISP.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 12:55:48 GMT</pubDate>
<guid>http://snipplr.com/view/4528/simple-lisp-reference/</guid>
</item>
<item>
<title>(C++) C Console Scripting Framework</title>
<link>http://snipplr.com/view/4527/c-console-scripting-framework/</link>
<description><![CDATA[ <p>This demonstrates how to make your own console "scripts" using C -- for example, you could capitalize every character that comes in.  Tweak the line labelled "TWEAK THIS LINE" in order to get it to do what you want.  This particular example will add "/new/" to the beginning of every filename and stick the result to a text file.  The listed DOS command can be stuck in a .BAT file and run from Windows like a program.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 12:32:55 GMT</pubDate>
<guid>http://snipplr.com/view/4527/c-console-scripting-framework/</guid>
</item>
<item>
<title>(Assembler) Simple MASM program</title>
<link>http://snipplr.com/view/4526/simple-masm-program/</link>
<description><![CDATA[ <p>This demonstrates a simple "Hello World" style program for 16-bit (DOS) x86 assembly using Microsoft's free MASM assembler.</p> ]]></description>
<pubDate>Sun, 13 Jan 2008 12:22:34 GMT</pubDate>
<guid>http://snipplr.com/view/4526/simple-masm-program/</guid>
</item>
</channel>
</rss>