<?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/with</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 20 May 2013 16:09:19 GMT</pubDate>
<item>
<title>(PHP) Wordperss Follow with variable - Scoldy</title>
<link>http://snipplr.com/view/71110/wordperss-follow-with-variable/</link>
<description><![CDATA[ <p>Wordperss Follow with variable 
In double quotes you have ability to embed variable
post content: [twitter username='VeronicaDjeneva']Follow me Fools[/twitter]</p> ]]></description>
<pubDate>Thu, 09 May 2013 19:14:06 GMT</pubDate>
<guid>http://snipplr.com/view/71110/wordperss-follow-with-variable/</guid>
</item>
<item>
<title>(PHP) first letter of lastname php - dego89</title>
<link>http://snipplr.com/view/70416/first-letter-of-lastname-php/</link>
<description><![CDATA[ <p>Get the first char of a lastname in php</p> ]]></description>
<pubDate>Thu, 14 Mar 2013 04:48:00 GMT</pubDate>
<guid>http://snipplr.com/view/70416/first-letter-of-lastname-php/</guid>
</item>
<item>
<title>(Java) Test-Type Exam Correction With Java - eiger824</title>
<link>http://snipplr.com/view/69859/testtype-exam-correction-with-java/</link>
<description><![CDATA[ <p>A simple way of correcting tests with Java. In this piece of code I just defined two possible models or answers, they're all random, but the only thing needed is to update them with valid answers. The length of the test? I just did it for a 10-question test, but it can naturally be extended to the number of answers the teacher may want.</p> ]]></description>
<pubDate>Fri, 08 Feb 2013 06:38:23 GMT</pubDate>
<guid>http://snipplr.com/view/69859/testtype-exam-correction-with-java/</guid>
</item>
<item>
<title>(Java) Simple User Agent (Mobile and Smartphone) Detection and Redirction with PHP - Klostrag</title>
<link>http://snipplr.com/view/69201/simple-user-agent-mobile-and-smartphone-detection-and-redirction-with-php/</link>
<description><![CDATA[ <p>This is similar to the one for PHP but modified for JAVA.</p> ]]></description>
<pubDate>Sat, 22 Dec 2012 01:56:10 GMT</pubDate>
<guid>http://snipplr.com/view/69201/simple-user-agent-mobile-and-smartphone-detection-and-redirction-with-php/</guid>
</item>
<item>
<title>(JavaScript) Clear form with JavaScript - laxman2021</title>
<link>http://snipplr.com/view/68796/clear-form-with-javascript/</link>
<description><![CDATA[ <p>JavaScript is the only option, if you want to have the ability to clear all form fields. Yes, HTML form has Reset method, but if the form has initial values, then Reset will return the form to the initial state instead of clear input fields. This example also shows how to create an access loop for each form element. You can uncomment alert before "switch" line and you will see the message before element value is cleared. Drop down select-one will be set to its first option because it can not be treated like input text field or select-multiple</p> ]]></description>
<pubDate>Wed, 28 Nov 2012 14:39:07 GMT</pubDate>
<guid>http://snipplr.com/view/68796/clear-form-with-javascript/</guid>
</item>
<item>
<title>(PHP) Calculate Age using PHP (mounth-day-year to age) - i0ni</title>
<link>http://snipplr.com/view/58370/calculate-age-using-php-mounthdayyear-to-age/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 01 Sep 2011 17:58:55 GMT</pubDate>
<guid>http://snipplr.com/view/58370/calculate-age-using-php-mounthdayyear-to-age/</guid>
</item>
<item>
<title>(Windows PowerShell) echo print text to file with windows batch bat - shadevampire</title>
<link>http://snipplr.com/view/55290/echo-print-text-to-file-with-windows-batch-bat/</link>
<description><![CDATA[ <p>echo "hello" >> tmp.txt will append the text "hello" to tmp.txt
echo "world" > tmp.txt will overwrite the existing tmp.txt 's content, and after this it will only contain "world"</p> ]]></description>
<pubDate>Thu, 16 Jun 2011 06:28:50 GMT</pubDate>
<guid>http://snipplr.com/view/55290/echo-print-text-to-file-with-windows-batch-bat/</guid>
</item>
<item>
<title>(JavaScript) Enable and disable shift and ctrl key with some of there comibinations - kashif21</title>
<link>http://snipplr.com/view/52666/enable-and-disable-shift-and-ctrl-key-with-some-of-there-comibinations/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 27 Apr 2011 21:19:17 GMT</pubDate>
<guid>http://snipplr.com/view/52666/enable-and-disable-shift-and-ctrl-key-with-some-of-there-comibinations/</guid>
</item>
<item>
<title>(PHP) Classes With Friends (users.php) - BrianHanly</title>
<link>http://snipplr.com/view/52386/classes-with-friends-usersphp/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 20 Apr 2011 23:38:34 GMT</pubDate>
<guid>http://snipplr.com/view/52386/classes-with-friends-usersphp/</guid>
</item>
<item>
<title>(PHP) Classes With Friends (myclasses.php) - BrianHanly</title>
<link>http://snipplr.com/view/52385/classes-with-friends-myclassesphp/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 20 Apr 2011 23:37:57 GMT</pubDate>
<guid>http://snipplr.com/view/52385/classes-with-friends-myclassesphp/</guid>
</item>
<item>
<title>(PHP) Classes With Friends (insertclass.php) - BrianHanly</title>
<link>http://snipplr.com/view/52384/classes-with-friends-insertclassphp/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 20 Apr 2011 23:37:18 GMT</pubDate>
<guid>http://snipplr.com/view/52384/classes-with-friends-insertclassphp/</guid>
</item>
<item>
<title>(PHP) Classes With Friends (addclass.php) - BrianHanly</title>
<link>http://snipplr.com/view/52383/classes-with-friends-addclassphp/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 20 Apr 2011 23:36:36 GMT</pubDate>
<guid>http://snipplr.com/view/52383/classes-with-friends-addclassphp/</guid>
</item>
<item>
<title>(PHP) Classes With Friends (index.php) - BrianHanly</title>
<link>http://snipplr.com/view/52382/classes-with-friends-indexphp/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 20 Apr 2011 23:35:39 GMT</pubDate>
<guid>http://snipplr.com/view/52382/classes-with-friends-indexphp/</guid>
</item>
<item>
<title>(CSS) Vertical centering with line-height - blueocto</title>
<link>http://snipplr.com/view/46367/vertical-centering-with-lineheight/</link>
<description><![CDATA[ <p>When you have a container with fixed height you can use line-height property to vertically center the content.</p> ]]></description>
<pubDate>Sat, 01 Jan 2011 03:17:06 GMT</pubDate>
<guid>http://snipplr.com/view/46367/vertical-centering-with-lineheight/</guid>
</item>
<item>
<title>(PHP) PHP/HTML/CSS - Script to scan a directoy recursively with filters and/or ingore list - SoN9ne</title>
<link>http://snipplr.com/view/46276/phphtmlcss--script-to-scan-a-directoy-recursively-with-filters-andor-ingore-list/</link>
<description><![CDATA[ <p>There seems to be many scan directory systems but I could not find one that works the way I needed. I added in functionality for a search filter and an ignore list. The search filter and ignore list can ignore by extension, file (case-sensitive file name), and directory. I also added in the ability to have a max depth for the scan.

The HTML and CSS that are in the script is to preview in the browser the output. If you scan a directory that is outside the webroot then the links will not be built properly. I did not care to resolve this issue as it was not a problem for me.

I tested the script in Strict mode and have no errors, warnings, or notices. Pasting this here for a few friends and the community. If you can improve the script, please let me know as I always enjoy learning new techniques.

Thanks,
SoN9ne</p> ]]></description>
<pubDate>Thu, 30 Dec 2010 09:44:08 GMT</pubDate>
<guid>http://snipplr.com/view/46276/phphtmlcss--script-to-scan-a-directoy-recursively-with-filters-andor-ingore-list/</guid>
</item>
<item>
<title>(jQuery) CENTER DIV WITH JQUERY - wesleymacente</title>
<link>http://snipplr.com/view/44658/center-div-with-jquery/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 22 Nov 2010 15:28:38 GMT</pubDate>
<guid>http://snipplr.com/view/44658/center-div-with-jquery/</guid>
</item>
<item>
<title>(Other) Integrate asp.net web app with sharepoint - hairajeshk</title>
<link>http://snipplr.com/view/42487/integrate-aspnet-web-app-with-sharepoint/</link>
<description><![CDATA[ <p>integrate asp.net with sharepoint (Sharepoint)</p> ]]></description>
<pubDate>Mon, 18 Oct 2010 20:20:52 GMT</pubDate>
<guid>http://snipplr.com/view/42487/integrate-aspnet-web-app-with-sharepoint/</guid>
</item>
<item>
<title>(PHP) Replacing a long string with special characters like dots. - rupakdhiman</title>
<link>http://snipplr.com/view/19321/replacing-a-long-string-with-special-characters-like-dots/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 06 Sep 2009 14:14:11 GMT</pubDate>
<guid>http://snipplr.com/view/19321/replacing-a-long-string-with-special-characters-like-dots/</guid>
</item>
<item>
<title>(PHP) startsWith / hasPrefix - iloveitaly</title>
<link>http://snipplr.com/view/15336/startswith--hasprefix/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 26 May 2009 18:05:05 GMT</pubDate>
<guid>http://snipplr.com/view/15336/startswith--hasprefix/</guid>
</item>
<item>
<title>(Other) basic xhtml page with FLIR - lister</title>
<link>http://snipplr.com/view/12667/basic-xhtml-page-with-flir/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 28 Feb 2009 13:38:14 GMT</pubDate>
<guid>http://snipplr.com/view/12667/basic-xhtml-page-with-flir/</guid>
</item>
</channel>
</rss>