<?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/the</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 00:17:21 GMT</pubDate>
<item>
<title>(C++) Hiding Passwords With C++ - eiger824</title>
<link>http://snipplr.com/view/69819/hiding-passwords-with-c/</link>
<description><![CDATA[ <p>In C++ console there's no way to make our passwords invisible when typing them. Here is a really simple funcion that resembles the behavior of hiding passwords.</p> ]]></description>
<pubDate>Thu, 07 Feb 2013 02:40:41 GMT</pubDate>
<guid>http://snipplr.com/view/69819/hiding-passwords-with-c/</guid>
</item>
<item>
<title>(PHP) Display Categories in your sidebar with The Events Calendar - clatterblast</title>
<link>http://snipplr.com/view/67630/display-categories-in-your-sidebar-with-the-events-calendar/</link>
<description><![CDATA[ <p>I used this code to display a list of categories in my sidebar. There is an issue with this code — it shows ALL event categories. I am working on a solution to only display the categories for upcoming (future) events.</p> ]]></description>
<pubDate>Sat, 06 Oct 2012 04:07:39 GMT</pubDate>
<guid>http://snipplr.com/view/67630/display-categories-in-your-sidebar-with-the-events-calendar/</guid>
</item>
<item>
<title>(HTML) Even Better facebook like that doesn't break at all!!! - jkdreaming</title>
<link>http://snipplr.com/view/64981/even-better-facebook-like-that-doesnt-break-at-all/</link>
<description><![CDATA[ <p>I altered it a bit to be just the like button and no mas!</p> ]]></description>
<pubDate>Tue, 22 May 2012 07:43:55 GMT</pubDate>
<guid>http://snipplr.com/view/64981/even-better-facebook-like-that-doesnt-break-at-all/</guid>
</item>
<item>
<title>(SQL) Schema for the database DVD - georgemathewkunnathoor</title>
<link>http://snipplr.com/view/58028/schema-for-the-database-dvd/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 19 Aug 2011 16:06:56 GMT</pubDate>
<guid>http://snipplr.com/view/58028/schema-for-the-database-dvd/</guid>
</item>
<item>
<title>(PHP) LA ULTIMA CATEGORIA VISTA, WORDPRESS - serialk89</title>
<link>http://snipplr.com/view/53900/la-ultima-categoria-vista-wordpress/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 21 May 2011 05:10:49 GMT</pubDate>
<guid>http://snipplr.com/view/53900/la-ultima-categoria-vista-wordpress/</guid>
</item>
<item>
<title>(ASP) Link Field and check box field in the Grid view - kashif21</title>
<link>http://snipplr.com/view/53522/link-field-and-check-box-field-in-the-grid-view/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 13 May 2011 21:16:07 GMT</pubDate>
<guid>http://snipplr.com/view/53522/link-field-and-check-box-field-in-the-grid-view/</guid>
</item>
<item>
<title>(jQuery) How to create the \"More\" link button to display rest of the text - erraja_07</title>
<link>http://snipplr.com/view/53360/how-to-create-the-more-link-button-to-display-rest-of-the-text/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 11 May 2011 21:19:23 GMT</pubDate>
<guid>http://snipplr.com/view/53360/how-to-create-the-more-link-button-to-display-rest-of-the-text/</guid>
</item>
<item>
<title>(PHP) wp get the thumbnail url - ricosushi</title>
<link>http://snipplr.com/view/44408/wp-get-the-thumbnail-url/</link>
<description><![CDATA[ <p>get the thumbnail url</p> ]]></description>
<pubDate>Fri, 19 Nov 2010 08:10:40 GMT</pubDate>
<guid>http://snipplr.com/view/44408/wp-get-the-thumbnail-url/</guid>
</item>
<item>
<title>(ActionScript 3) Flash, Flex and Html to pass parameters - activetofocus</title>
<link>http://snipplr.com/view/41050/flash-flex-and-html-to-pass-parameters/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 26 Sep 2010 14:10:33 GMT</pubDate>
<guid>http://snipplr.com/view/41050/flash-flex-and-html-to-pass-parameters/</guid>
</item>
<item>
<title>(jQuery) js javascript browser language detection, get the user\'s browser\'s language preference setting using jquery to detect users br - brandonjp</title>
<link>http://snipplr.com/view/37953/js-javascript-browser-language-detection-get-the-users-browsers-language-preference-setting-using-jquery-to-detect-users-br/</link>
<description><![CDATA[ <p>JQ - detect users browser language using http headers via ajax jsonp ajaxhttpheaders</p> ]]></description>
<pubDate>Tue, 27 Jul 2010 23:45:11 GMT</pubDate>
<guid>http://snipplr.com/view/37953/js-javascript-browser-language-detection-get-the-users-browsers-language-preference-setting-using-jquery-to-detect-users-br/</guid>
</item>
<item>
<title>(SAS) Sending the LOG and OUTPUT from PC SAS to a seperate file - sarathannapareddy</title>
<link>http://snipplr.com/view/34726/sending-the-log-and-output-from-pc-sas-to-a-seperate-file/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 18 May 2010 13:17:18 GMT</pubDate>
<guid>http://snipplr.com/view/34726/sending-the-log-and-output-from-pc-sas-to-a-seperate-file/</guid>
</item>
<item>
<title>(Bash) 99 bottles of beer on the wall - adkatrit</title>
<link>http://snipplr.com/view/28693/99-bottles-of-beer-on-the-wall/</link>
<description><![CDATA[ <p>works for mac osx</p> ]]></description>
<pubDate>Sun, 21 Feb 2010 16:33:58 GMT</pubDate>
<guid>http://snipplr.com/view/28693/99-bottles-of-beer-on-the-wall/</guid>
</item>
<item>
<title>(Bash) Howto run Tidy from the command line - noah</title>
<link>http://snipplr.com/view/27758/howto-run-tidy-from-the-command-line/</link>
<description><![CDATA[ <p>This shell command will retrieve a Web page and validate the HTML with [Tidy, the HTML linter from the W3](http://tidy.sourceforge.net/).  You can get an **XHTML validation** report right in your shell prompt, just like you'd get from the [Firefox extension](https://addons.mozilla.org/en-US/firefox/addon/249) or the [Web service.](validator.w3.org/).  It's especially helpful when you need to **validate HTML on your intranet, or behind a firewall.**

### **NOTE: Curl does not follow redirects by default!**

By default, Curl retrieves *exactly* the URL you specify. The `-L` option causes Curl to follow redirects just like a Web browser would.

### **NOTE: Tidy produces a lot of output!**


Windows users should make sure their [command prompt screen buffer height is set to 9999](http://www.codinghorror.com/blog/archives/000334.html 'command prompt tips from Coding Horror') so that you don't "lose" any output.


### **Explanation of the command line options**

`curl -L` tells Curl to fo**LL**ow HTTP redirects

`curl -s` **S**uppresses Curl's annoying progress bar

`tidy -e` tells Tidy not to **E**mit the tidied HTML to the console

`tidy -q` tells Tidy to be **Q**uiet, instead of printing extra crap at the bottom of the report

### **Dependencies**

Curl and Tidy are installed via the [Cygwin setup.exe](http://cygwin.com/)

Alternately, Perl hackers could use [lwp-request](http://search.cpan.org/~gaas/libwww-perl-5.808/bin/lwp-request).

### **Doing more**

[Validate HTML with a stricter algorithm,](http://snipplr.com/view/4130/check-linked-pages-for-tidy-validation-errors-on-the-command-line/) using the OpenJade SGML parser.

[Validate linked pages](http://snipplr.com/view/4130/check-linked-pages-for-tidy-validation-errors-on-the-command-line/) with Tidy and lwp-request.</p> ]]></description>
<pubDate>Fri, 05 Feb 2010 12:41:54 GMT</pubDate>
<guid>http://snipplr.com/view/27758/howto-run-tidy-from-the-command-line/</guid>
</item>
<item>
<title>(SAS) Self teach SAS Tutorials - sarathannapareddy</title>
<link>http://snipplr.com/view/22278/self-teach-sas-tutorials/</link>
<description><![CDATA[ <p>The following are a series of self-teach tutorials which will introduce you to the command language approach to SAS programming. Each tutorial is designed to take about twenty minutes. To work through the tutorials you need to be on a machine which has SAS Version 8 loaded on it, or has access to SAS through the campus network. The material presented in the tutorials is designed to get you 'up and running.' Consequently, many options are omitted. Check the SAS help files for more a detailed discussion of the procedures outlined in the tutorials.

The last tutorial is an introduction to SAS Analyst which is SAS's version of a 'point and click' approach to statistical analysis.</p> ]]></description>
<pubDate>Sun, 01 Nov 2009 07:52:49 GMT</pubDate>
<guid>http://snipplr.com/view/22278/self-teach-sas-tutorials/</guid>
</item>
<item>
<title>(MatLab) true positive rate and false positive rate for receiver operating characteristics (ROC) and area under the curve - benjamin</title>
<link>http://snipplr.com/view/22110/true-positive-rate-and-false-positive-rate-for-receiver-operating-characteristics-roc-and-area-under-the-curve/</link>
<description><![CDATA[ <p>i assume you have T,Y element of {-1,1}, see also my AUC function.</p> ]]></description>
<pubDate>Thu, 29 Oct 2009 15:15:27 GMT</pubDate>
<guid>http://snipplr.com/view/22110/true-positive-rate-and-false-positive-rate-for-receiver-operating-characteristics-roc-and-area-under-the-curve/</guid>
</item>
<item>
<title>(PHP) Code to change the file extensions of images to lowercase - el-artiste</title>
<link>http://snipplr.com/view/19822/code-to-change-the-file-extensions-of-images-to-lowercase/</link>
<description><![CDATA[ <p>This snippet is just an upgrade to the "http://snipplr.com/view/7396/php-file-extension-case-changer/" code. This particular code works on image files... although you can just change this line [if (preg_match("/(jpg|gif|png|bmp)/",$ext)) ] to target a specific filetype. ciao! hope this piece of code can help you as it has helped me. :)</p> ]]></description>
<pubDate>Wed, 16 Sep 2009 14:15:15 GMT</pubDate>
<guid>http://snipplr.com/view/19822/code-to-change-the-file-extensions-of-images-to-lowercase/</guid>
</item>
<item>
<title>(PHP) Find All The Links On A Page - Unreal</title>
<link>http://snipplr.com/view/12678/find-all-the-links-on-a-page/</link>
<description><![CDATA[ <p>The basis to a spider.</p> ]]></description>
<pubDate>Sat, 28 Feb 2009 18:59:43 GMT</pubDate>
<guid>http://snipplr.com/view/12678/find-all-the-links-on-a-page/</guid>
</item>
</channel>
</rss>