<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - jprochazka</title>
<link>http://snipplr.com/users/jprochazka</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 19 Jun 2013 08:06:18 GMT</pubDate>
<item>
<title>(C#) Check if a file is an executable.</title>
<link>http://snipplr.com/view/71221/check-if-a-file-is-an-executable/</link>
<description><![CDATA[ <p>A function to check the first two bytes to see if they match "MZ" marking it as an executable.</p> ]]></description>
<pubDate>Sat, 18 May 2013 05:02:45 GMT</pubDate>
<guid>http://snipplr.com/view/71221/check-if-a-file-is-an-executable/</guid>
</item>
<item>
<title>(SQL) Enable Ad Hoc Distributed Queries using sp_configure</title>
<link>http://snipplr.com/view/70561/enable-ad-hoc-distributed-queries-using-spconfigure/</link>
<description><![CDATA[ <p>Allows Ad Hoc Distributed Queries using by executing sp_configure.</p> ]]></description>
<pubDate>Wed, 27 Mar 2013 03:49:23 GMT</pubDate>
<guid>http://snipplr.com/view/70561/enable-ad-hoc-distributed-queries-using-spconfigure/</guid>
</item>
<item>
<title>(JavaScript) Allow only numberic key presses.</title>
<link>http://snipplr.com/view/69756/allow-only-numberic-key-presses/</link>
<description><![CDATA[ <p>The following code allows only numeric characters to be entered.</p> ]]></description>
<pubDate>Sat, 02 Feb 2013 02:49:40 GMT</pubDate>
<guid>http://snipplr.com/view/69756/allow-only-numberic-key-presses/</guid>
</item>
<item>
<title>(SQL) SQL Server: Remove extra spaces from a string.</title>
<link>http://snipplr.com/view/69200/sql-server-remove-extra-spaces-from-a-string/</link>
<description><![CDATA[ <p>Removes extra spaces from a string in SQL Server.</p> ]]></description>
<pubDate>Fri, 21 Dec 2012 23:08:08 GMT</pubDate>
<guid>http://snipplr.com/view/69200/sql-server-remove-extra-spaces-from-a-string/</guid>
</item>
<item>
<title>(C#) Get Entire Markup For The Supplied URL.</title>
<link>http://snipplr.com/view/69122/get-entire-markup-for-the-supplied-url/</link>
<description><![CDATA[ <p>Returns the entire markup making up the specified webpage.</p> ]]></description>
<pubDate>Sat, 15 Dec 2012 08:47:24 GMT</pubDate>
<guid>http://snipplr.com/view/69122/get-entire-markup-for-the-supplied-url/</guid>
</item>
<item>
<title>(VB.NET) Read an external url into a string variable.</title>
<link>http://snipplr.com/view/68832/read-an-external-url-into-a-string-variable/</link>
<description><![CDATA[ <p>Assigns the contents of a "url" to the string variable "result".</p> ]]></description>
<pubDate>Fri, 30 Nov 2012 08:30:25 GMT</pubDate>
<guid>http://snipplr.com/view/68832/read-an-external-url-into-a-string-variable/</guid>
</item>
<item>
<title>(VB.NET) Get the MIME type of a file.</title>
<link>http://snipplr.com/view/68809/get-the-mime-type-of-a-file/</link>
<description><![CDATA[ <p>By running the function GetMimeType(file.name) the following code will return the MIME type for a file.</p> ]]></description>
<pubDate>Thu, 29 Nov 2012 03:07:25 GMT</pubDate>
<guid>http://snipplr.com/view/68809/get-the-mime-type-of-a-file/</guid>
</item>
<item>
<title>(PHP) Return a string between two strings or tags.</title>
<link>http://snipplr.com/view/68175/return-a-string-between-two-strings-or-tags/</link>
<description><![CDATA[ <p>Returns the contents of a string between two unique strings. Useful for returning the portion of a string found between two tags such as  and </p> ]]></description>
<pubDate>Fri, 09 Nov 2012 18:05:11 GMT</pubDate>
<guid>http://snipplr.com/view/68175/return-a-string-between-two-strings-or-tags/</guid>
</item>
<item>
<title>(SQL) Microsoft SQL Server: Back up all transaction logs.</title>
<link>http://snipplr.com/view/68113/microsoft-sql-server-back-up-all-transaction-logs/</link>
<description><![CDATA[ <p>Backs up all database transaction logs within a Microsoft SQL Server instance except for databases set to simple recovery mode.</p> ]]></description>
<pubDate>Tue, 06 Nov 2012 08:14:25 GMT</pubDate>
<guid>http://snipplr.com/view/68113/microsoft-sql-server-back-up-all-transaction-logs/</guid>
</item>
<item>
<title>(SQL) Microsoft SQL Server: Back up all databases.</title>
<link>http://snipplr.com/view/68112/microsoft-sql-server-back-up-all-databases/</link>
<description><![CDATA[ <p>Backs up all databases contained in a Microsoft SQL Server instance.</p> ]]></description>
<pubDate>Tue, 06 Nov 2012 08:11:50 GMT</pubDate>
<guid>http://snipplr.com/view/68112/microsoft-sql-server-back-up-all-databases/</guid>
</item>
<item>
<title>(SQL) Microsoft SQL Server: Rename a database schema.</title>
<link>http://snipplr.com/view/57796/microsoft-sql-server-rename-a-database-schema/</link>
<description><![CDATA[ <p>Generates a set of queries to run which will change the schema for all items within a specified schema and change them to another.</p> ]]></description>
<pubDate>Sat, 13 Aug 2011 01:15:34 GMT</pubDate>
<guid>http://snipplr.com/view/57796/microsoft-sql-server-rename-a-database-schema/</guid>
</item>
<item>
<title>(SQL) Microsoft SQL Server: Find and replace.</title>
<link>http://snipplr.com/view/46896/microsoft-sql-server-find-and-replace/</link>
<description><![CDATA[ <p>Clears supplied text from database tables.
Does not clear the string out of TEXT or NTEXT tables.</p> ]]></description>
<pubDate>Tue, 11 Jan 2011 06:06:09 GMT</pubDate>
<guid>http://snipplr.com/view/46896/microsoft-sql-server-find-and-replace/</guid>
</item>
<item>
<title>(JavaScript) Validate an email address. (advanced)</title>
<link>http://snipplr.com/view/41308/validate-an-email-address-advanced/</link>
<description><![CDATA[ <p>The following JavaScript will validate an email address using strict rules when a form is submitted.</p> ]]></description>
<pubDate>Sat, 02 Oct 2010 01:42:59 GMT</pubDate>
<guid>http://snipplr.com/view/41308/validate-an-email-address-advanced/</guid>
</item>
<item>
<title>(PHP) Validate an email address.</title>
<link>http://snipplr.com/view/41306/validate-an-email-address/</link>
<description><![CDATA[ <p>The following function does a very simple check on the supplied string to help ensure it is a valid email address.</p> ]]></description>
<pubDate>Sat, 02 Oct 2010 01:37:40 GMT</pubDate>
<guid>http://snipplr.com/view/41306/validate-an-email-address/</guid>
</item>
<item>
<title>(PHP) Validate a domain name.</title>
<link>http://snipplr.com/view/41305/validate-a-domain-name/</link>
<description><![CDATA[ <p>The following function validates and returns TRUE or FALSE if the supplied string could be a valid domain name format.</p> ]]></description>
<pubDate>Sat, 02 Oct 2010 01:37:35 GMT</pubDate>
<guid>http://snipplr.com/view/41305/validate-a-domain-name/</guid>
</item>
<item>
<title>(PHP) Get a visitor\'s real IP address.</title>
<link>http://snipplr.com/view/41303/get-a-visitors-real-ip-address/</link>
<description><![CDATA[ <p>A more reliable way to obtain a visitor's IP address.</p> ]]></description>
<pubDate>Sat, 02 Oct 2010 01:37:05 GMT</pubDate>
<guid>http://snipplr.com/view/41303/get-a-visitors-real-ip-address/</guid>
</item>
<item>
<title>(PHP) Make a \"SEO Friendly URL\" string.</title>
<link>http://snipplr.com/view/41302/make-a-seo-friendly-url-string/</link>
<description><![CDATA[ <p>The following function will return a SEO friendly URL using a supplied string.</p> ]]></description>
<pubDate>Sat, 02 Oct 2010 01:36:46 GMT</pubDate>
<guid>http://snipplr.com/view/41302/make-a-seo-friendly-url-string/</guid>
</item>
<item>
<title>(PHP) Send an email. (simple)</title>
<link>http://snipplr.com/view/41301/send-an-email-simple/</link>
<description><![CDATA[ <p>A simple example of how to send an email using PHP's build in mail() function.</p> ]]></description>
<pubDate>Sat, 02 Oct 2010 01:36:42 GMT</pubDate>
<guid>http://snipplr.com/view/41301/send-an-email-simple/</guid>
</item>
<item>
<title>(PHP) Find the \"SEO Friendly\" title in a URL.</title>
<link>http://snipplr.com/view/41300/find-the-seo-friendly-title-in-a-url/</link>
<description><![CDATA[ <p>Finds an "SEO Friendly" title placed in the URL after the domain and returns the value.</p> ]]></description>
<pubDate>Sat, 02 Oct 2010 01:36:22 GMT</pubDate>
<guid>http://snipplr.com/view/41300/find-the-seo-friendly-title-in-a-url/</guid>
</item>
<item>
<title>(PHP) Get a directory listing.</title>
<link>http://snipplr.com/view/41299/get-a-directory-listing/</link>
<description><![CDATA[ <p>List files within a directory while ignoring system folders such as "Thumbs.db" as well as "." and "..".</p> ]]></description>
<pubDate>Sat, 02 Oct 2010 01:34:52 GMT</pubDate>
<guid>http://snipplr.com/view/41299/get-a-directory-listing/</guid>
</item>
</channel>
</rss>