<?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/path</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Thu, 20 Jun 2013 06:23:43 GMT</pubDate>
<item>
<title>(PHP) Get File Path Data in PHP - apphp-snippets</title>
<link>http://snipplr.com/view/70020/get-file-path-data-in-php/</link>
<description><![CDATA[ <p>You may retrieve all needed file path data using PHP's built-in function pathinfo. You don't need to create your own functions or use regular expressions to get this info. It was already been created for this purpose.</p> ]]></description>
<pubDate>Wed, 20 Feb 2013 21:26:53 GMT</pubDate>
<guid>http://snipplr.com/view/70020/get-file-path-data-in-php/</guid>
</item>
<item>
<title>(PHP) Get the absolute webroot URL. - o0110o</title>
<link>http://snipplr.com/view/67841/get-the-absolute-webroot-url/</link>
<description><![CDATA[ <p>Get the absolute webroot URL.</p> ]]></description>
<pubDate>Sat, 20 Oct 2012 14:59:40 GMT</pubDate>
<guid>http://snipplr.com/view/67841/get-the-absolute-webroot-url/</guid>
</item>
<item>
<title>(PHP) WordPress- Get Image Path Relevant To Theme - xcsteve99</title>
<link>http://snipplr.com/view/60836/wordpress-get-image-path-relevant-to-theme/</link>
<description><![CDATA[ <p>Just pop this in your IMG tags</p> ]]></description>
<pubDate>Tue, 15 Nov 2011 09:59:10 GMT</pubDate>
<guid>http://snipplr.com/view/60836/wordpress-get-image-path-relevant-to-theme/</guid>
</item>
<item>
<title>(C) Dijkstra\'s Shortest Path algorithm - stakisko</title>
<link>http://snipplr.com/view/60663/dijkstras-shortest-path-algorithm/</link>
<description><![CDATA[ <p>Its Dijkstra's Shortest Path algorithm written in C. Reads from a file the nodes and the connected edges and implements Dijkstra's algorithm. I am uploading for your comments in my code. Thank you.

Files content should be in the format:   
n N   
startNode endNode distance   
startNode endNode distance   
.   
.   
.   
startNode endNode distance   
   
where n is the total number of Nodes and N is the total number of Acnes.</p> ]]></description>
<pubDate>Wed, 09 Nov 2011 22:37:02 GMT</pubDate>
<guid>http://snipplr.com/view/60663/dijkstras-shortest-path-algorithm/</guid>
</item>
<item>
<title>(C++) Check if a file exists - StraightforAward</title>
<link>http://snipplr.com/view/59647/check-if-a-file-exists/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 11 Oct 2011 23:04:38 GMT</pubDate>
<guid>http://snipplr.com/view/59647/check-if-a-file-exists/</guid>
</item>
<item>
<title>(MXML) Path example - GunnarHKarlsson</title>
<link>http://snipplr.com/view/59575/path-example/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 09 Oct 2011 15:13:53 GMT</pubDate>
<guid>http://snipplr.com/view/59575/path-example/</guid>
</item>
<item>
<title>(PHP) PHP - Bug Fix Required Path - cdohost</title>
<link>http://snipplr.com/view/59206/php--bug-fix-required-path/</link>
<description><![CDATA[ <p>Bug Fix Required Path (Corrige o bug no caminho do arquivo)</p> ]]></description>
<pubDate>Wed, 28 Sep 2011 16:45:01 GMT</pubDate>
<guid>http://snipplr.com/view/59206/php--bug-fix-required-path/</guid>
</item>
<item>
<title>(JavaScript) Get filename from path - jatkins</title>
<link>http://snipplr.com/view/57709/get-filename-from-path/</link>
<description><![CDATA[ <p>Released into the public domain. Useful for getting just the filename (and extension) from the `value` of an ``.</p> ]]></description>
<pubDate>Wed, 10 Aug 2011 03:11:54 GMT</pubDate>
<guid>http://snipplr.com/view/57709/get-filename-from-path/</guid>
</item>
<item>
<title>(Python) Get an absolute from a path relative to the current file - jarnaldich</title>
<link>http://snipplr.com/view/55580/get-an-absolute-from-a-path-relative-to-the-current-file/</link>
<description><![CDATA[ <p>Sometimes (ex. django templates section at setting.py), a function expects an absolute path, but it's more practical when developing to refer it to the current file position in our code base. The rel function does exactly that.</p> ]]></description>
<pubDate>Wed, 22 Jun 2011 16:55:48 GMT</pubDate>
<guid>http://snipplr.com/view/55580/get-an-absolute-from-a-path-relative-to-the-current-file/</guid>
</item>
<item>
<title>(ASP) Kentico - Resolve file path URL - inreflection7</title>
<link>http://snipplr.com/view/54523/kentico--resolve-file-path-url/</link>
<description><![CDATA[ <p>This will get the file path for something. Typically used with a cms:CMSRepeater</p> ]]></description>
<pubDate>Sat, 28 May 2011 01:08:55 GMT</pubDate>
<guid>http://snipplr.com/view/54523/kentico--resolve-file-path-url/</guid>
</item>
<item>
<title>(ActionScript 3) Path to swf folder in AS3 - martin9999uk</title>
<link>http://snipplr.com/view/54347/path-to-swf-folder-in-as3/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 25 May 2011 00:48:05 GMT</pubDate>
<guid>http://snipplr.com/view/54347/path-to-swf-folder-in-as3/</guid>
</item>
<item>
<title>(ActionScript 3) AS3 Trails - onemanstudio</title>
<link>http://snipplr.com/view/53738/as3-trails/</link>
<description><![CDATA[ <p>AS3 Trails, just call checkDistance() during Your Tween</p> ]]></description>
<pubDate>Wed, 18 May 2011 17:34:03 GMT</pubDate>
<guid>http://snipplr.com/view/53738/as3-trails/</guid>
</item>
<item>
<title>(Bash) gem path - greeneggs614</title>
<link>http://snipplr.com/view/53573/gem-path/</link>
<description><![CDATA[ <p>Prints the path to your gem directories.</p> ]]></description>
<pubDate>Sat, 14 May 2011 06:29:40 GMT</pubDate>
<guid>http://snipplr.com/view/53573/gem-path/</guid>
</item>
<item>
<title>(JavaScript) get document location - merrittwjm</title>
<link>http://snipplr.com/view/52760/get-document-location/</link>
<description><![CDATA[ <p>Strips the "http://" from the document path</p> ]]></description>
<pubDate>Fri, 29 Apr 2011 01:05:41 GMT</pubDate>
<guid>http://snipplr.com/view/52760/get-document-location/</guid>
</item>
<item>
<title>(Other) Append * to extentionless URL path - stephcode</title>
<link>http://snipplr.com/view/48886/append--to-extentionless-url-path/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 12 Feb 2011 04:06:24 GMT</pubDate>
<guid>http://snipplr.com/view/48886/append--to-extentionless-url-path/</guid>
</item>
<item>
<title>(JavaScript) Extract folder from window.location.pathname - markux</title>
<link>http://snipplr.com/view/48465/extract-folder-from-windowlocationpathname/</link>
<description><![CDATA[ <p>* example: google.com/reader/view/

folder = /reader

* example: google.com/reader

folder = /

* example: google.com

folder = ''</p> ]]></description>
<pubDate>Sat, 05 Feb 2011 18:26:41 GMT</pubDate>
<guid>http://snipplr.com/view/48465/extract-folder-from-windowlocationpathname/</guid>
</item>
<item>
<title>(JavaScript) Interpolate Points on a Line - parkerkrhoyt</title>
<link>http://snipplr.com/view/47206/interpolate-points-on-a-line/</link>
<description><![CDATA[ <p>This function will interpolate the points on a line.  When tracking mouse movements, not every point is captured.  This is especially true the faster the mouse moves.  This function will allow you to fill in the gap of points between two recorded positions.  It takes two point values (object with an "x" and a "y" property) and the distance to move forward for each new point to be added (e.g. spacing).  The result is an array containing all the points between the two points provided in the function call.</p> ]]></description>
<pubDate>Sun, 16 Jan 2011 04:21:27 GMT</pubDate>
<guid>http://snipplr.com/view/47206/interpolate-points-on-a-line/</guid>
</item>
<item>
<title>(Bash) base - cruelfate</title>
<link>http://snipplr.com/view/46700/base/</link>
<description><![CDATA[ <p>Determine absolute minimal absolute path of parent directory containing this script.  (remove any  ".." path segments).    Works with rudimentary Bourne shell as well as bash.</p> ]]></description>
<pubDate>Fri, 07 Jan 2011 03:21:15 GMT</pubDate>
<guid>http://snipplr.com/view/46700/base/</guid>
</item>
<item>
<title>(Python) Creating directories programmatically - magicrebirth</title>
<link>http://snipplr.com/view/43554/creating-directories-programmatically/</link>
<description><![CDATA[ <p>save as a file and run....</p> ]]></description>
<pubDate>Thu, 04 Nov 2010 20:27:19 GMT</pubDate>
<guid>http://snipplr.com/view/43554/creating-directories-programmatically/</guid>
</item>
<item>
<title>(PHP) Magento : product sku and url - aashvi</title>
<link>http://snipplr.com/view/42621/magento--product-sku-and-url/</link>
<description><![CDATA[ <p>Following sql statement collect product sku with store url

select catalog_product_entity.sku,catalog_product_entity_varchar.value from  catalog_product_entity,catalog_product_entity_varchar where 
catalog_product_entity_varchar.attribute_id=87 and catalog_product_entity_varchar.store_id=0 and catalog_product_entity_varchar.entity_id=catalog_product_entity.entity_id</p> ]]></description>
<pubDate>Wed, 20 Oct 2010 22:51:43 GMT</pubDate>
<guid>http://snipplr.com/view/42621/magento--product-sku-and-url/</guid>
</item>
</channel>
</rss>