<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - engel</title>
<link>http://snipplr.com/users/engel</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Fri, 24 May 2013 13:59:43 GMT</pubDate>
<item>
<title>(Perl) shortLink v2</title>
<link>http://snipplr.com/view/5180/shortlink-v2/</link>
<description><![CDATA[ <p>Shorter, more simple, but with a GUI. Requires GNOME (and the Zenity program, which comes by default with GNOME).

I recommend setting a hotkey with GNOME or Compiz (mine is Ctrl+Alt+A) to run this program, so when the hotkey is pressed you can quickly and easily shorten URLs.</p> ]]></description>
<pubDate>Sun, 24 Feb 2008 20:06:53 GMT</pubDate>
<guid>http://snipplr.com/view/5180/shortlink-v2/</guid>
</item>
<item>
<title>(Perl) shortLink</title>
<link>http://snipplr.com/view/5152/shortlink/</link>
<description><![CDATA[ <p>Easily and quickly shorten URLs from the command line. Utilizes TinyURL and MetaMark APIs.</p> ]]></description>
<pubDate>Thu, 21 Feb 2008 20:26:32 GMT</pubDate>
<guid>http://snipplr.com/view/5152/shortlink/</guid>
</item>
<item>
<title>(PHP) strstr() and stristr() with Arrays</title>
<link>http://snipplr.com/view/4435/strstr-and-stristr-with-arrays/</link>
<description><![CDATA[ <p>Searches an array $haystack for $needle. Returns the value of the element which contains the first result. Use strstr_array() for case-sensitive searches and stristr_array() for case-insensitive searches.</p> ]]></description>
<pubDate>Sun, 30 Dec 2007 18:32:19 GMT</pubDate>
<guid>http://snipplr.com/view/4435/strstr-and-stristr-with-arrays/</guid>
</item>
<item>
<title>(Bash) Append Line to a File</title>
<link>http://snipplr.com/view/4212/append-line-to-a-file/</link>
<description><![CDATA[ <p>Running this command will append a line with given values to a file you specify. Replace words between < and > with the values you desire.</p> ]]></description>
<pubDate>Wed, 28 Nov 2007 19:55:15 GMT</pubDate>
<guid>http://snipplr.com/view/4212/append-line-to-a-file/</guid>
</item>
<item>
<title>(PHP) Programming Notes</title>
<link>http://snipplr.com/view/4209/programming-notes/</link>
<description><![CDATA[ <p>Here are some commonly-used notes given in PHP sources, especially in multi-developer projects. They are used to note various things, such as things to improve and bugs at that line.</p> ]]></description>
<pubDate>Wed, 28 Nov 2007 19:19:15 GMT</pubDate>
<guid>http://snipplr.com/view/4209/programming-notes/</guid>
</item>
<item>
<title>(PHP) Function Template</title>
<link>http://snipplr.com/view/4206/function-template/</link>
<description><![CDATA[ <p>Add this template before functions in a library, in order to give a good description of what it is and what it does. Replace all in < and > with your values.</p> ]]></description>
<pubDate>Wed, 28 Nov 2007 09:33:03 GMT</pubDate>
<guid>http://snipplr.com/view/4206/function-template/</guid>
</item>
<item>
<title>(PHP) Prevent SQL Injection</title>
<link>http://snipplr.com/view/4205/prevent-sql-injection/</link>
<description><![CDATA[ <p>Pass a user-inputted variable to this function in order to prevent SQL injection. Example:

mysql_query("INSERT INTO table VALUES('" . sql_sanitize($_POST["variable") . "')");

Instead of:

mysql_query("INSERT INTO table VALUES('" . $_POST["variable"] . "'");</p> ]]></description>
<pubDate>Wed, 28 Nov 2007 09:25:01 GMT</pubDate>
<guid>http://snipplr.com/view/4205/prevent-sql-injection/</guid>
</item>
</channel>
</rss>