<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Sat, 13 Jun 2026 13:36:19 +0000</lastBuildDate>
    <item>
      <title>(PHP) What is default session time and path in PHP. How to change it ? - interviewqueries</title>
      <link>https://snipplr.com/view/334034/what-is-default-session-time-and-path-in-php-how-to-change-it-</link>
      <description>&lt;p&gt;Default session time in PHP is 1440 seconds (24 minutes) and the Default session storage path is temporary folder/tmp on server.&lt;/p&gt;</description>
      <pubDate>Sat, 14 Sep 2019 16:30:58 UTC</pubDate>
      <guid>https://snipplr.com/view/334034/what-is-default-session-time-and-path-in-php-how-to-change-it-</guid>
    </item>
    <item>
      <title>(Visual Basic) [vba-excel] lister tous les fichiers répertoires et sous-répertoires - martinbrait</title>
      <link>https://snipplr.com/view/333616/vbaexcel-lister-tous-les-fichiers-rpertoires-et-sousrpertoires</link>
      <description>&lt;p&gt;How to list files in directories and subdirectories ?&lt;/p&gt;</description>
      <pubDate>Sat, 10 Aug 2019 23:11:14 UTC</pubDate>
      <guid>https://snipplr.com/view/333616/vbaexcel-lister-tous-les-fichiers-rpertoires-et-sousrpertoires</guid>
    </item>
    <item>
      <title>(Java) A* Pathfinding Example - nulldev</title>
      <link>https://snipplr.com/view/90681/a-pathfinding-example</link>
      <description>&lt;p&gt;An A* pathfinding algorithm in Java, taken from: http://software-talk.org/blog/2012/01/a-star-java/&lt;/p&gt;</description>
      <pubDate>Wed, 18 Feb 2015 14:22:59 UTC</pubDate>
      <guid>https://snipplr.com/view/90681/a-pathfinding-example</guid>
    </item>
    <item>
      <title>(DOS Batch) An example batch file for set temporary PATH - jacktan</title>
      <link>https://snipplr.com/view/80407/an-example-batch-file-for-set-temporary-path</link>
      <description>&lt;p&gt;set-mysqlRT-Env.bat&#13;
&#13;
before you run other commands like mysql, call this bat for temporary PATH and other environment variablesã€‚&#13;
&#13;
**Vars** to specify&#13;
&#13;
+ ${STH_HOME}&#13;
+ ${homeValue}&#13;
&#13;
**Demo**&#13;
&#13;
Vars specified like&#13;
&#13;
+ ${STH_HOME}=MYSQL_HOME&#13;
+ ${homeValue}=E:\Programs\MySQL\MySQLServer5.6&#13;
&#13;
pluss other bash commond&#13;
&#13;
    @echo off&#13;
    set MYSQL_HOME=E:\Programs\MySQL\MySQLServer5.6&#13;
    set PATH=%PATH%;%MYSQL_HOME%\bin&#13;
 &#13;
    set mysqlConf=mysql-dev.ini&#13;
&#13;
use it like `call setEnv` or &#13;
&#13;
    @echo off&#13;
    call setEnv&#13;
    cmd&lt;/p&gt;</description>
      <pubDate>Thu, 30 Oct 2014 00:45:10 UTC</pubDate>
      <guid>https://snipplr.com/view/80407/an-example-batch-file-for-set-temporary-path</guid>
    </item>
    <item>
      <title>(Java) TestKnight.java - greymatters</title>
      <link>https://snipplr.com/view/77384/testknightjava</link>
      <description>&lt;p&gt;This code demonstrates the KnightsTour class I developed.&#13;
&#13;
See: http://www.snipplr.com/view/77383/knightstourjava/&lt;/p&gt;</description>
      <pubDate>Sat, 13 Sep 2014 08:36:56 UTC</pubDate>
      <guid>https://snipplr.com/view/77384/testknightjava</guid>
    </item>
    <item>
      <title>(Java) KnightsTour.java - greymatters</title>
      <link>https://snipplr.com/view/77383/knightstourjava</link>
      <description>&lt;p&gt;This is a Java class for solving a knight's tour via Hamiltonian path and Hamiltonian cycle algorithms.&lt;/p&gt;</description>
      <pubDate>Sat, 13 Sep 2014 08:31:59 UTC</pubDate>
      <guid>https://snipplr.com/view/77383/knightstourjava</guid>
    </item>
    <item>
      <title>(Bash) Ensure string ends with a / - jlmarks</title>
      <link>https://snipplr.com/view/74055/ensure-string-ends-with-a-</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 30 Mar 2014 21:46:52 UTC</pubDate>
      <guid>https://snipplr.com/view/74055/ensure-string-ends-with-a-</guid>
    </item>
    <item>
      <title>(SAS) Using PATHNAME to Retrieve a Physical Path - webonomic</title>
      <link>https://snipplr.com/view/71820/using-pathname-to-retrieve-a-physical-path</link>
      <description>&lt;p&gt;If you know a libref or fileref, the PATHNAME function can be used to return the physical location.&#13;
&#13;
If the libref refers to more than one physical location, all of those locations will be returned, in quotes, separated by spaces, with the whole list in parentheses:&lt;/p&gt;</description>
      <pubDate>Fri, 12 Jul 2013 01:11:57 UTC</pubDate>
      <guid>https://snipplr.com/view/71820/using-pathname-to-retrieve-a-physical-path</guid>
    </item>
    <item>
      <title>(PHP) Get File Path Data in PHP - apphp-snippets</title>
      <link>https://snipplr.com/view/70020/get-file-path-data-in-php</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Wed, 20 Feb 2013 21:26:53 UTC</pubDate>
      <guid>https://snipplr.com/view/70020/get-file-path-data-in-php</guid>
    </item>
    <item>
      <title>(PHP) Get the absolute webroot URL. - o0110o</title>
      <link>https://snipplr.com/view/67841/get-the-absolute-webroot-url</link>
      <description>&lt;p&gt;Get the absolute webroot URL.&lt;/p&gt;</description>
      <pubDate>Sat, 20 Oct 2012 14:59:40 UTC</pubDate>
      <guid>https://snipplr.com/view/67841/get-the-absolute-webroot-url</guid>
    </item>
    <item>
      <title>(PHP) WordPress- Get Image Path Relevant To Theme - xcsteve99</title>
      <link>https://snipplr.com/view/60836/wordpress-get-image-path-relevant-to-theme</link>
      <description>&lt;p&gt;Just pop this in your IMG tags&lt;/p&gt;</description>
      <pubDate>Tue, 15 Nov 2011 09:59:10 UTC</pubDate>
      <guid>https://snipplr.com/view/60836/wordpress-get-image-path-relevant-to-theme</guid>
    </item>
    <item>
      <title>(C) Dijkstra\'s Shortest Path algorithm - stakisko</title>
      <link>https://snipplr.com/view/60663/dijkstras-shortest-path-algorithm</link>
      <description>&lt;p&gt;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.&#13;
&#13;
&lt;p&gt;Files content should be in the format:   &#13;
n N   &#13;
startNode endNode distance   &#13;
startNode endNode distance   &#13;
.   &#13;
.   &#13;
.   &#13;
startNode endNode distance   &lt;/p&gt;&#13;
   &#13;
&lt;p&gt;where n is the total number of Nodes and N is the total number of Acnes.&lt;/p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 09 Nov 2011 22:37:02 UTC</pubDate>
      <guid>https://snipplr.com/view/60663/dijkstras-shortest-path-algorithm</guid>
    </item>
    <item>
      <title>(C++) Check if a file exists - StraightforAward</title>
      <link>https://snipplr.com/view/59647/check-if-a-file-exists</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 11 Oct 2011 23:04:38 UTC</pubDate>
      <guid>https://snipplr.com/view/59647/check-if-a-file-exists</guid>
    </item>
    <item>
      <title>(PHP) PHP - Bug Fix Required Path - cdohost</title>
      <link>https://snipplr.com/view/59206/php--bug-fix-required-path</link>
      <description>&lt;p&gt;Bug Fix Required Path (Corrige o bug no caminho do arquivo)&lt;/p&gt;</description>
      <pubDate>Wed, 28 Sep 2011 16:45:01 UTC</pubDate>
      <guid>https://snipplr.com/view/59206/php--bug-fix-required-path</guid>
    </item>
    <item>
      <title>(Python) Get an absolute from a path relative to the current file - jarnaldich</title>
      <link>https://snipplr.com/view/55580/get-an-absolute-from-a-path-relative-to-the-current-file</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Wed, 22 Jun 2011 16:55:48 UTC</pubDate>
      <guid>https://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>https://snipplr.com/view/54523/kentico--resolve-file-path-url</link>
      <description>&lt;p&gt;This will get the file path for something. Typically used with a cms:CMSRepeater&lt;/p&gt;</description>
      <pubDate>Sat, 28 May 2011 01:08:55 UTC</pubDate>
      <guid>https://snipplr.com/view/54523/kentico--resolve-file-path-url</guid>
    </item>
    <item>
      <title>(ActionScript 3) Path to swf folder in AS3 - martin9999uk</title>
      <link>https://snipplr.com/view/54347/path-to-swf-folder-in-as3</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 25 May 2011 00:48:05 UTC</pubDate>
      <guid>https://snipplr.com/view/54347/path-to-swf-folder-in-as3</guid>
    </item>
    <item>
      <title>(Other) Append * to extentionless URL path - stephcode</title>
      <link>https://snipplr.com/view/48886/append--to-extentionless-url-path</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sat, 12 Feb 2011 04:06:24 UTC</pubDate>
      <guid>https://snipplr.com/view/48886/append--to-extentionless-url-path</guid>
    </item>
    <item>
      <title>(JavaScript) Extract folder from window.location.pathname - markux</title>
      <link>https://snipplr.com/view/48465/extract-folder-from-windowlocationpathname</link>
      <description>&lt;p&gt;* example: google.com/reader/view/&#13;
&#13;
folder = /reader&#13;
&#13;
* example: google.com/reader&#13;
&#13;
folder = /&#13;
&#13;
* example: google.com&#13;
&#13;
folder = ''&lt;/p&gt;</description>
      <pubDate>Sat, 05 Feb 2011 18:26:41 UTC</pubDate>
      <guid>https://snipplr.com/view/48465/extract-folder-from-windowlocationpathname</guid>
    </item>
    <item>
      <title>(JavaScript) Interpolate Points on a Line - parkerkrhoyt</title>
      <link>https://snipplr.com/view/47206/interpolate-points-on-a-line</link>
      <description>&lt;p&gt;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.&lt;/p&gt;</description>
      <pubDate>Sun, 16 Jan 2011 04:21:27 UTC</pubDate>
      <guid>https://snipplr.com/view/47206/interpolate-points-on-a-line</guid>
    </item>
    <item>
      <title>(Python) Creating directories programmatically - magicrebirth</title>
      <link>https://snipplr.com/view/43554/creating-directories-programmatically</link>
      <description>&lt;p&gt;save as a file and run....&lt;/p&gt;</description>
      <pubDate>Thu, 04 Nov 2010 20:27:19 UTC</pubDate>
      <guid>https://snipplr.com/view/43554/creating-directories-programmatically</guid>
    </item>
    <item>
      <title>(PHP) Magento : product sku and url - aashvi</title>
      <link>https://snipplr.com/view/42621/magento--product-sku-and-url</link>
      <description>&lt;p&gt;Following sql statement collect product sku with store url&#13;
&#13;
select catalog_product_entity.sku,catalog_product_entity_varchar.value from  catalog_product_entity,catalog_product_entity_varchar where &#13;
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&lt;/p&gt;</description>
      <pubDate>Wed, 20 Oct 2010 22:51:43 UTC</pubDate>
      <guid>https://snipplr.com/view/42621/magento--product-sku-and-url</guid>
    </item>
    <item>
      <title>(Python) How to Add Locations to Python Path in Django - magicrebirth</title>
      <link>https://snipplr.com/view/42518/how-to-add-locations-to-python-path-in-django</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 19 Oct 2010 05:52:11 UTC</pubDate>
      <guid>https://snipplr.com/view/42518/how-to-add-locations-to-python-path-in-django</guid>
    </item>
    <item>
      <title>(Objective C) getting a resource path - tenveer</title>
      <link>https://snipplr.com/view/41564/getting-a-resource-path</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 05 Oct 2010 18:19:15 UTC</pubDate>
      <guid>https://snipplr.com/view/41564/getting-a-resource-path</guid>
    </item>
    <item>
      <title>(PHP) Create Directory Path - iloveitaly</title>
      <link>https://snipplr.com/view/40543/create-directory-path</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 16 Sep 2010 01:26:56 UTC</pubDate>
      <guid>https://snipplr.com/view/40543/create-directory-path</guid>
    </item>
    <item>
      <title>(ActionScript 3) AS3 Keep Track of Where FocusRect Is Whilst Tabbing - adrianparr</title>
      <link>https://snipplr.com/view/37476/as3-keep-track-of-where-focusrect-is-whilst-tabbing</link>
      <description>&lt;p&gt;This code traces out the name (and display list path) of the object that currently has focus. This handy when you are testing the tab order and you can't see a yellow rectangle anywhere.&lt;/p&gt;</description>
      <pubDate>Fri, 16 Jul 2010 01:21:18 UTC</pubDate>
      <guid>https://snipplr.com/view/37476/as3-keep-track-of-where-focusrect-is-whilst-tabbing</guid>
    </item>
    <item>
      <title>(Python) Get File Size Python - iloveitaly</title>
      <link>https://snipplr.com/view/35371/get-file-size-python</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 31 May 2010 18:44:19 UTC</pubDate>
      <guid>https://snipplr.com/view/35371/get-file-size-python</guid>
    </item>
    <item>
      <title>(PHP) Find relative path to a specific file - Mikaye</title>
      <link>https://snipplr.com/view/34728/find-relative-path-to-a-specific-file</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 18 May 2010 14:12:33 UTC</pubDate>
      <guid>https://snipplr.com/view/34728/find-relative-path-to-a-specific-file</guid>
    </item>
    <item>
      <title>(Bash) Relative to Absolute Path Conversion - iloveitaly</title>
      <link>https://snipplr.com/view/34401/relative-to-absolute-path-conversion</link>
      <description>&lt;p&gt;the os x version of realpath works differently than the linux version; the following allows you to attain the same functionality in a shell on os x as `readlink -f $0` on a standard linux dist.&lt;/p&gt;</description>
      <pubDate>Thu, 13 May 2010 09:15:59 UTC</pubDate>
      <guid>https://snipplr.com/view/34401/relative-to-absolute-path-conversion</guid>
    </item>
    <item>
      <title>(Java) getResourcePath - AndreasKT</title>
      <link>https://snipplr.com/view/33811/getresourcepath</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 04 May 2010 04:17:42 UTC</pubDate>
      <guid>https://snipplr.com/view/33811/getresourcepath</guid>
    </item>
    <item>
      <title>(Java) getResourceFile - AndreasKT</title>
      <link>https://snipplr.com/view/33809/getresourcefile</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 04 May 2010 04:17:08 UTC</pubDate>
      <guid>https://snipplr.com/view/33809/getresourcefile</guid>
    </item>
    <item>
      <title>(PHP) How to manually set active menu for nodes - electblake</title>
      <link>https://snipplr.com/view/31790/how-to-manually-set-active-menu-for-nodes</link>
      <description>&lt;p&gt;initial code and concept bitten from: http://drupal.org/project/menutrails&lt;/p&gt;</description>
      <pubDate>Wed, 14 Apr 2010 11:42:15 UTC</pubDate>
      <guid>https://snipplr.com/view/31790/how-to-manually-set-active-menu-for-nodes</guid>
    </item>
    <item>
      <title>(PHP) Get Internal URL from URL Alias - electblake</title>
      <link>https://snipplr.com/view/31788/get-internal-url-from-url-alias</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Wed, 14 Apr 2010 11:20:13 UTC</pubDate>
      <guid>https://snipplr.com/view/31788/get-internal-url-from-url-alias</guid>
    </item>
    <item>
      <title>(PHP) Get full path of current file - zartgesotten</title>
      <link>https://snipplr.com/view/31592/get-full-path-of-current-file</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 13 Apr 2010 05:19:38 UTC</pubDate>
      <guid>https://snipplr.com/view/31592/get-full-path-of-current-file</guid>
    </item>
    <item>
      <title>(Python) Find site-packages directory - xupisco</title>
      <link>https://snipplr.com/view/30464/find-sitepackages-directory</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 29 Mar 2010 07:49:03 UTC</pubDate>
      <guid>https://snipplr.com/view/30464/find-sitepackages-directory</guid>
    </item>
    <item>
      <title>(Bash) Find Your Ruby Gems Path - alvarezrilla</title>
      <link>https://snipplr.com/view/29772/find-your-ruby-gems-path</link>
      <description>&lt;p&gt;Because different systems put it in different places.&lt;/p&gt;</description>
      <pubDate>Mon, 15 Mar 2010 07:14:18 UTC</pubDate>
      <guid>https://snipplr.com/view/29772/find-your-ruby-gems-path</guid>
    </item>
    <item>
      <title>(PHP) Drupal - get path alias - marcelodornelas</title>
      <link>https://snipplr.com/view/29464/drupal--get-path-alias</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Tue, 09 Mar 2010 04:32:24 UTC</pubDate>
      <guid>https://snipplr.com/view/29464/drupal--get-path-alias</guid>
    </item>
    <item>
      <title>(SAS) Retrieve the physical location of a dynamic dataset, file or folder in SAS - webonomic</title>
      <link>https://snipplr.com/view/28985/retrieve-the-physical-location-of-a-dynamic-dataset-file-or-folder-in-sas</link>
      <description>&lt;p&gt;The PATHNAME function can be used to retrieve the physical location of a file or directory. This can be especially useful when reassigning engines for a libref using the Macro Language.&#13;
&#13;
Here we want to write a Version 6 copy of the data set CLASS to the same location as the MYDATA library, however in order to issue a new LIBNAME statement we need to know the location of the MYDATA library. The PATHNAME function returns this location and the new libref (MYDAT6) can be created.&lt;/p&gt;</description>
      <pubDate>Fri, 26 Feb 2010 16:04:44 UTC</pubDate>
      <guid>https://snipplr.com/view/28985/retrieve-the-physical-location-of-a-dynamic-dataset-file-or-folder-in-sas</guid>
    </item>
    <item>
      <title>(MySQL) MySQL Find and Replace - Jamie</title>
      <link>https://snipplr.com/view/28920/mysql-find-and-replace</link>
      <description>&lt;p&gt;This is useful for when a Wordpress environment goes live; typically the uploads have an absolute URL.&lt;/p&gt;</description>
      <pubDate>Thu, 25 Feb 2010 12:50:05 UTC</pubDate>
      <guid>https://snipplr.com/view/28920/mysql-find-and-replace</guid>
    </item>
    <item>
      <title>(MySQL) Wordpress updating URL paths after address change - johnandrewsroot</title>
      <link>https://snipplr.com/view/27695/wordpress-updating-url-paths-after-address-change</link>
      <description>&lt;p&gt;If the official codex approach (http://codex.wordpress.org/Changing_The_Site_URL) is causing you problems, give this a try. Be sure to change the constant declarations and modify table names as necessary for your instance. Confirmed working with WP v3.4.&lt;/p&gt;</description>
      <pubDate>Thu, 04 Feb 2010 10:29:21 UTC</pubDate>
      <guid>https://snipplr.com/view/27695/wordpress-updating-url-paths-after-address-change</guid>
    </item>
    <item>
      <title>(C#) Get the path to the executable - bokkers</title>
      <link>https://snipplr.com/view/27671/get-the-path-to-the-executable</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 04 Feb 2010 05:35:48 UTC</pubDate>
      <guid>https://snipplr.com/view/27671/get-the-path-to-the-executable</guid>
    </item>
    <item>
      <title>(Lisp) Dijkstra's algorithm in Clojure - Kototama</title>
      <link>https://snipplr.com/view/22183/dijkstras-algorithm-in-clojure</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Fri, 30 Oct 2009 13:14:43 UTC</pubDate>
      <guid>https://snipplr.com/view/22183/dijkstras-algorithm-in-clojure</guid>
    </item>
    <item>
      <title>(PHP) Normalize File Path PHP - iloveitaly</title>
      <link>https://snipplr.com/view/19081/normalize-file-path-php</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Mon, 31 Aug 2009 22:03:01 UTC</pubDate>
      <guid>https://snipplr.com/view/19081/normalize-file-path-php</guid>
    </item>
    <item>
      <title>(C) get filename from a filepath - tandouri</title>
      <link>https://snipplr.com/view/18634/get-filename-from-a-filepath</link>
      <description>&lt;p&gt;for cmdparsing&lt;/p&gt;</description>
      <pubDate>Fri, 21 Aug 2009 03:54:48 UTC</pubDate>
      <guid>https://snipplr.com/view/18634/get-filename-from-a-filepath</guid>
    </item>
    <item>
      <title>(JavaScript) File.Basename.js (from JSAN) - quickredfox</title>
      <link>https://snipplr.com/view/18610/filebasenamejs-from-jsan</link>
      <description>&lt;p&gt;File.Basename - A library that provides unix-like tools 'dirname' and 'basename'&lt;/p&gt;</description>
      <pubDate>Thu, 20 Aug 2009 13:06:23 UTC</pubDate>
      <guid>https://snipplr.com/view/18610/filebasenamejs-from-jsan</guid>
    </item>
    <item>
      <title>(Bash) Creating links in different directories (Linux/UNIX) - deepsoul</title>
      <link>https://snipplr.com/view/18350/creating-links-in-different-directories-linuxunix</link>
      <description>&lt;p&gt;When using `ln` to create a link in a different directory, the semantics of creating hard and symbolic links differ.  That is because a hard link contains a direct reference to its target's data, while a symbolic link is just a string containing a (possibly relative) path.  You can get around this by using absoute paths, but then moving a subtree will break the symlink.&#13;
&#13;
Just to recap, the other main differences between hard and symbolic links: Symbolic links can be left dangling when their target is removed; hard links cannot.  Symbolic links can point to files on other partitions or disks, while hard links cannot.&lt;/p&gt;</description>
      <pubDate>Sat, 15 Aug 2009 16:35:51 UTC</pubDate>
      <guid>https://snipplr.com/view/18350/creating-links-in-different-directories-linuxunix</guid>
    </item>
    <item>
      <title>(Bash) Canonical absolute path - deepsoul</title>
      <link>https://snipplr.com/view/18026/canonical-absolute-path</link>
      <description>&lt;p&gt;The following shell function returns the canonicalised abolute path of a file.  It resolves symbolic links, /./ and /../ as applicable.  This was adapted from various sources.  Related snippets on snipplr are [Find absolute path of Bash script](http://snipplr.com/view/16715/find-absolute-path-of-bash-script/) and [Get current script name and absolute paths](http://snipplr.com/view/9508/get-current-script-name-and-absolute-paths/).&lt;/p&gt;</description>
      <pubDate>Fri, 07 Aug 2009 12:05:00 UTC</pubDate>
      <guid>https://snipplr.com/view/18026/canonical-absolute-path</guid>
    </item>
    <item>
      <title>(Bash) Find absolute path of Bash script - loungerdork</title>
      <link>https://snipplr.com/view/16715/find-absolute-path-of-bash-script</link>
      <description>&lt;p&gt;Gets the absolute path of the script itself even when it's executing, not just a simple "pwd".&lt;/p&gt;</description>
      <pubDate>Tue, 07 Jul 2009 01:43:08 UTC</pubDate>
      <guid>https://snipplr.com/view/16715/find-absolute-path-of-bash-script</guid>
    </item>
    <item>
      <title>(ColdFusion) getting current filename physical path - aanooj</title>
      <link>https://snipplr.com/view/14334/getting-current-filename-physical-path</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Thu, 23 Apr 2009 13:57:57 UTC</pubDate>
      <guid>https://snipplr.com/view/14334/getting-current-filename-physical-path</guid>
    </item>
    <item>
      <title>(Windows PowerShell) Create a textfile listing all paths to a certain file or wildcard. - Vordreller</title>
      <link>https://snipplr.com/view/14155/create-a-textfile-listing-all-paths-to-a-certain-file-or-wildcard</link>
      <description>&lt;p&gt;First of all, for all Stackoverflow.com members who have seen my question about this snippet on Stackoverflow, yes I am the same person as WebDevhobo. Last time I asked a question about something I posted here I got a bucketload of comments saying I couldn't claim the work of that snippet to be mine &gt;_&gt;&#13;
&#13;
&#13;
&#13;
This is a function for Windows Powershell. What this will do is create a list of all paths that lead to a  certain file on your computer.&#13;
&#13;
&#13;
Example input: `listAllPaths c:\ *.zip c:\allZips.txt`&#13;
&#13;
This will create a file allZips.txt under your root harddrive(the third parameter). The content will be a list of all paths to every file that ends with the  characters .zip(second parameter) and Powershell will start looking from c:\(the first parameter)&#13;
&#13;
You'll have to make sure Powershell knows the function first. So you'll have to add it to your Powershell profile, which will make it so that every time you start Powershell, you can use the function.&#13;
&#13;
More info on the Powershell profile can be found [here][1]&#13;
&#13;
&#13;
  [1]: http://superuser.com/questions/63446#63458&lt;/p&gt;</description>
      <pubDate>Sat, 18 Apr 2009 13:37:19 UTC</pubDate>
      <guid>https://snipplr.com/view/14155/create-a-textfile-listing-all-paths-to-a-certain-file-or-wildcard</guid>
    </item>
  </channel>
</rss>
