<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/tags/snippet</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 26 May 2013 13:10:19 GMT</pubDate>
<item>
<title>(PHP) Get the Favicon from a website - phpdev</title>
<link>http://snipplr.com/view/69917/get-the-favicon-from-a-website/</link>
<description><![CDATA[ <p>**Example of use:**

&amp;lt;a href="http://www.php.net/manual/en/index.php"&amp;gt;&amp;lt;img src="&amp;lt;?php echo get_favicon('http://www.php.net/manual/en/index.php') ?&amp;gt;" alt="Favicon" title="See PHP documentation" width="16" height="16" /&amp;gt;&amp;lt;/a&amp;gt;</p> ]]></description>
<pubDate>Wed, 13 Feb 2013 04:07:29 GMT</pubDate>
<guid>http://snipplr.com/view/69917/get-the-favicon-from-a-website/</guid>
</item>
<item>
<title>(PHP) Check your Internet connection with PHP - phpdev</title>
<link>http://snipplr.com/view/69621/check-your-internet-connection-with-php/</link>
<description><![CDATA[ <p>**Example of use:**

    $bIsConnected = check_internet_connection();
    $sText = ($bIsConnected) ? 'You are connected to the Internet.' : 'You are not connected to the Internet.';
    echo $sText;</p> ]]></description>
<pubDate>Thu, 24 Jan 2013 23:40:15 GMT</pubDate>
<guid>http://snipplr.com/view/69621/check-your-internet-connection-with-php/</guid>
</item>
<item>
<title>(PHP) MODx hide development site - hotdiggity</title>
<link>http://snipplr.com/view/61411/modx-hide-development-site/</link>
<description><![CDATA[ <p>Set up a basic template:



[[++site_name]] - [[*pagetitle]]

​


[[*content]]



Content:


The ACME web site is currently under development
Please
// ' + 'email us' + '' )
// ]]>
for all enquiries.


..and set this page as the Unauthorised Page in system settings.


Put this snippet at top of every other template:

[[!UnauthorisedAccess]]

Now only web manager users logged in will be able to view the full site. Change to 'web' for web users.

Snippet code:</p> ]]></description>
<pubDate>Thu, 01 Dec 2011 21:50:18 GMT</pubDate>
<guid>http://snipplr.com/view/61411/modx-hide-development-site/</guid>
</item>
<item>
<title>(PHP) MODx Ditto call within snippet: Alters parameters according to parent ID - hotdiggity</title>
<link>http://snipplr.com/view/60656/modx-ditto-call-within-snippet-alters-parameters-according-to-parent-id/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 09 Nov 2011 10:43:26 GMT</pubDate>
<guid>http://snipplr.com/view/60656/modx-ditto-call-within-snippet-alters-parameters-according-to-parent-id/</guid>
</item>
<item>
<title>(PHP) Make your table color different by Mysql Select tag - Darksider3</title>
<link>http://snipplr.com/view/57135/make-your-table-color-different-by-mysql-select-tag/</link>
<description><![CDATA[ <p>Here you see a example to make your table background color fdifferent at last</p> ]]></description>
<pubDate>Tue, 26 Jul 2011 02:21:32 GMT</pubDate>
<guid>http://snipplr.com/view/57135/make-your-table-color-different-by-mysql-select-tag/</guid>
</item>
<item>
<title>(PHP) A Dynamic site Title - Darksider3</title>
<link>http://snipplr.com/view/57134/a-dynamic-site-title/</link>
<description><![CDATA[ <p>A function to make your site title dynamic</p> ]]></description>
<pubDate>Tue, 26 Jul 2011 02:19:15 GMT</pubDate>
<guid>http://snipplr.com/view/57134/a-dynamic-site-title/</guid>
</item>
<item>
<title>(Other) Markdown Pygmentize snippet in gedit - sdeboey</title>
<link>http://snipplr.com/view/55640/markdown-pygmentize-snippet-in-gedit/</link>
<description><![CDATA[ <p>Snippet for gedit text editor which adds a pygmentize block.</p> ]]></description>
<pubDate>Thu, 23 Jun 2011 21:44:11 GMT</pubDate>
<guid>http://snipplr.com/view/55640/markdown-pygmentize-snippet-in-gedit/</guid>
</item>
<item>
<title>(C++) blackjack - npanagakis</title>
<link>http://snipplr.com/view/55489/blackjack/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 20 Jun 2011 10:36:46 GMT</pubDate>
<guid>http://snipplr.com/view/55489/blackjack/</guid>
</item>
<item>
<title>(JavaScript) console.log() - Textmate snippet - divtagged</title>
<link>http://snipplr.com/view/51906/consolelog--textmate-snippet/</link>
<description><![CDATA[ <p>Activation: con
Scope: source.js, source.js.jquery</p> ]]></description>
<pubDate>Mon, 11 Apr 2011 08:29:49 GMT</pubDate>
<guid>http://snipplr.com/view/51906/consolelog--textmate-snippet/</guid>
</item>
<item>
<title>(PHP) Run MODx API in external file - hotdiggity</title>
<link>http://snipplr.com/view/50769/run-modx-api-in-external-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 17 Mar 2011 12:08:57 GMT</pubDate>
<guid>http://snipplr.com/view/50769/run-modx-api-in-external-file/</guid>
</item>
<item>
<title>(AutoIt) Autohotkey hotstrings for fast html coding - kanampo</title>
<link>http://snipplr.com/view/46974/autohotkey-hotstrings-for-fast-html-coding/</link>
<description><![CDATA[ <p>Version for quicktext plugin available here:  http://snipplr.com/view/4072/notepad-quicktext/</p> ]]></description>
<pubDate>Wed, 12 Jan 2011 19:23:25 GMT</pubDate>
<guid>http://snipplr.com/view/46974/autohotkey-hotstrings-for-fast-html-coding/</guid>
</item>
<item>
<title>(Other) htaccess 404 - theasta</title>
<link>http://snipplr.com/view/41241/htaccess-404/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 01 Oct 2010 18:41:07 GMT</pubDate>
<guid>http://snipplr.com/view/41241/htaccess-404/</guid>
</item>
<item>
<title>(PHP) loop for i+2 - theasta</title>
<link>http://snipplr.com/view/41238/loop-for-i2/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 01 Oct 2010 18:39:50 GMT</pubDate>
<guid>http://snipplr.com/view/41238/loop-for-i2/</guid>
</item>
<item>
<title>(SQL) WP Revisions Clean - theasta</title>
<link>http://snipplr.com/view/41237/wp-revisions-clean/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 01 Oct 2010 18:39:03 GMT</pubDate>
<guid>http://snipplr.com/view/41237/wp-revisions-clean/</guid>
</item>
<item>
<title>(CSS) @font-face TextMate Snippet - 67ideas</title>
<link>http://snipplr.com/view/35717/fontface-textmate-snippet/</link>
<description><![CDATA[ <p>I never, ever remember the @font-face declaration, so I made a snippet. This makes it easy to quickly include a webfont in your source.</p> ]]></description>
<pubDate>Sun, 13 Jun 2010 05:05:08 GMT</pubDate>
<guid>http://snipplr.com/view/35717/fontface-textmate-snippet/</guid>
</item>
<item>
<title>(PHP) MODx - Get a Template Variable  snippet - netdoctor</title>
<link>http://snipplr.com/view/32090/modx--get-a-template-variable--snippet/</link>
<description><![CDATA[ <p>Returns the value (content) of the template variable you specified in the snippet.</p> ]]></description>
<pubDate>Thu, 15 Apr 2010 20:36:35 GMT</pubDate>
<guid>http://snipplr.com/view/32090/modx--get-a-template-variable--snippet/</guid>
</item>
<item>
<title>(PHP) Wordpress - Include PHP file from template folder - LuckyShot</title>
<link>http://snipplr.com/view/23966/wordpress--include-php-file-from-template-folder/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 01 Dec 2009 05:28:04 GMT</pubDate>
<guid>http://snipplr.com/view/23966/wordpress--include-php-file-from-template-folder/</guid>
</item>
<item>
<title>(PHP) Css Tip Clear Float IE - metoikos</title>
<link>http://snipplr.com/view/21348/css-tip-clear-float-ie/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 16 Oct 2009 20:33:25 GMT</pubDate>
<guid>http://snipplr.com/view/21348/css-tip-clear-float-ie/</guid>
</item>
<item>
<title>(HTML) HTML5 TextMate Snippet - mrjohnsly</title>
<link>http://snipplr.com/view/17537/html5-textmate-snippet/</link>
<description><![CDATA[ <p>HTML5 TextMate Snippet</p> ]]></description>
<pubDate>Mon, 27 Jul 2009 17:41:46 GMT</pubDate>
<guid>http://snipplr.com/view/17537/html5-textmate-snippet/</guid>
</item>
<item>
<title>(jQuery) Div Fade in on Load / Div Fade in on Click - kstetson</title>
<link>http://snipplr.com/view/15502/div-fade-in-on-load--div-fade-in-on-click/</link>
<description><![CDATA[ <p>Div will fade in on load or fade in on click</p> ]]></description>
<pubDate>Wed, 03 Jun 2009 22:26:33 GMT</pubDate>
<guid>http://snipplr.com/view/15502/div-fade-in-on-load--div-fade-in-on-click/</guid>
</item>
</channel>
</rss>