<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>All things must pass... - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-4164e1cd" type="application/json"/><link>http://danielroux.disqus.com/</link><description></description><atom:link href="http://danielroux.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 09 May 2012 13:23:28 -0000</lastBuildDate><item><title>Re: links for 2010-11-03</title><link>http://danielroux.com/2010/11/03/links-for-2010-11-03/#comment-524603917</link><description>&lt;p&gt;First, you can use __DIR__ instead of dirname(__FILE__), and second, you shouldn't mix absolute paths (__DIR__) with paths that could have symlinks in them ($_SERVER['SCRIPT_FILENAME'].  The following line accomplishes all of what that snippet above does, and without needing a fudge-factor ($header_to_root_distance):&lt;/p&gt;

&lt;p&gt;$RelPath = str_repeat('../', (substr_count(dirname(realpath($_SERVER['SCRIPT_FILENAME'])), "/") - substr_count(__DIR__, "/")));&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeff Kopmanis</dc:creator><pubDate>Wed, 09 May 2012 13:23:28 -0000</pubDate></item><item><title>Re: rbx-require-relative requires Ruby version ~&gt; 1.8.7</title><link>http://danielroux.com/2011/08/17/rbx-require-relative-requires-ruby-version-1-8-7/#comment-309947809</link><description>&lt;p&gt;Thanks!  Very helpful.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ethan McCutchen</dc:creator><pubDate>Wed, 14 Sep 2011 11:28:27 -0000</pubDate></item><item><title>Re: links for 2010-07-29</title><link>http://danielroux.com/2010/07/29/links-for-2010-07-29/#comment-65657443</link><description>&lt;p&gt;Why People in Toronto all Enjoy &lt;a href="http://www.bagsok.com" rel="nofollow"&gt;women handbags&lt;/a&gt; 5 Disadvantages You Should Recognize About &lt;a href="http://www.bagsok.com" rel="nofollow"&gt;leather bags&lt;/a&gt; You Should Keep in Mind 9 Points of &lt;a href="http://www.bagsok.com" rel="nofollow"&gt;leather bags&lt;/a&gt; &lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sfasfsaa</dc:creator><pubDate>Sun, 01 Aug 2010 23:15:48 -0000</pubDate></item><item><title>Re: links for 2010-07-18</title><link>http://danielroux.com/2010/07/18/links-for-2010-07-18/#comment-63131119</link><description>&lt;p&gt;Many thanks for the linklove :-)&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">DK</dc:creator><pubDate>Mon, 19 Jul 2010 02:50:29 -0000</pubDate></item></channel></rss>
