<?xml version="1.0" encoding="UTF-8"?>
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
  <title>Peppy Heppy - All Comments</title>
  <id>tag:peppyheppy.com,2010:mephisto/comments</id>
  <generator version="0.7.3" uri="http://mephistoblog.com">Mephisto Noh-Varr</generator>
  <link href="http://peppyheppy.com/feed/all_comments.xml" rel="self" type="application/atom+xml"/>
  <link href="http://peppyheppy.com/" rel="alternate" type="text/html"/>
  <updated>2010-05-11T17:42:02Z</updated>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>Paul</name>
    </author>
    <id>tag:peppyheppy.com,2009-11-25:10277:10331</id>
    <published>2010-05-11T17:42:02Z</published>
    <updated>2010-05-11T17:42:02Z</updated>
    <category term="Ruby"/>
    <category term="Tips / Tutorials"/>
    <link href="http://peppyheppy.com/2009/11/25/libxml-ruby-and-xpath-with-namespaces" rel="alternate" type="text/html"/>
    <title>Comment on 'LibXML-Ruby and XPath with namespaces' by Paul</title>
<content type="html">&lt;p&gt;Hi Les, thanks for the tip on the namespace. I had a typo in my example, the &#8216;tvlw&#8217; should have been &#8216;htgn.&#8217; This example doesn&#8217;t work because the namespace is fictitious. If you replace the namespace uri and name with the one you are working on you will find that it does work.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>Les Nightingill</name>
    </author>
    <id>tag:peppyheppy.com,2009-11-25:10277:10284</id>
    <published>2009-12-21T13:59:19Z</published>
    <updated>2009-12-21T13:59:19Z</updated>
    <category term="Ruby"/>
    <category term="Tips / Tutorials"/>
    <link href="http://peppyheppy.com/2009/11/25/libxml-ruby-and-xpath-with-namespaces" rel="alternate" type="text/html"/>
    <title>Comment on 'LibXML-Ruby and XPath with namespaces' by Les Nightingill</title>
<content type="html">&lt;p&gt;There seems to be something wrong with your example. The namespace tvlw is not declared and the &#8220;solution&#8221; you found doesn&#8217;t work.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>fatcow</name>
    </author>
    <id>tag:peppyheppy.com,2009-08-25:10248:10251</id>
    <published>2009-09-25T04:52:10Z</published>
    <updated>2009-09-25T04:52:10Z</updated>
    <category term="OSX / Apple"/>
    <category term="Ruby"/>
    <link href="http://peppyheppy.com/2009/8/25/compiling-ruby-on-osx-readline-resolved" rel="alternate" type="text/html"/>
    <title>Comment on 'Compiling Ruby on OSX : Readline [Resolved]' by fatcow</title>
<content type="html">&lt;p&gt;I usually do not bother to do such compilations unless our clients want that :)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>Paul Hepworth</name>
    </author>
    <id>tag:peppyheppy.com,2009-06-15:10243:10249</id>
    <published>2009-08-25T17:33:43Z</published>
    <updated>2009-08-25T17:33:43Z</updated>
    <category term="OSX / Apple"/>
    <category term="Ruby"/>
    <category term="Tips / Tutorials"/>
    <link href="http://peppyheppy.com/2009/6/15/fail-sudo-gem-install-mysql-fixed" rel="alternate" type="text/html"/>
    <title>Comment on 'FAIL: sudo gem install mysql (Fixed)' by Paul Hepworth</title>
<content type="html">&lt;p&gt;Glad I was able to help you guys.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>Zed</name>
    </author>
    <id>tag:peppyheppy.com,2009-06-15:10243:10246</id>
    <published>2009-07-29T21:23:02Z</published>
    <updated>2009-07-29T21:23:02Z</updated>
    <category term="OSX / Apple"/>
    <category term="Ruby"/>
    <category term="Tips / Tutorials"/>
    <link href="http://peppyheppy.com/2009/6/15/fail-sudo-gem-install-mysql-fixed" rel="alternate" type="text/html"/>
    <title>Comment on 'FAIL: sudo gem install mysql (Fixed)' by Zed</title>
<content type="html">&lt;p&gt;Another thank you, thank you, this time from a Solaris user. I got there without symlinks with:&lt;/p&gt;


	&lt;p&gt;&lt;code&gt;ARCHFLAGS='-arch sparc' gem install mysql -- --with-mysql-dir=/usr/local/mysql --with-mysql-lib=/usr/local/mysql/lib/mysql --with-mysql-include=/usr/local/mysql/include/mysql&lt;/code&gt;&lt;/p&gt;


	&lt;p&gt;Using with-mysql-config=/usr/local/bin/mysql_config didn&#8217;t work.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>Avram</name>
    </author>
    <id>tag:peppyheppy.com,2009-06-15:10243:10245</id>
    <published>2009-07-09T03:56:25Z</published>
    <updated>2009-07-09T03:56:25Z</updated>
    <category term="OSX / Apple"/>
    <category term="Ruby"/>
    <category term="Tips / Tutorials"/>
    <link href="http://peppyheppy.com/2009/6/15/fail-sudo-gem-install-mysql-fixed" rel="alternate" type="text/html"/>
    <title>Comment on 'FAIL: sudo gem install mysql (Fixed)' by Avram</title>
<content type="html">&lt;p&gt;Thank you Thank you Thank you!!!!!!&lt;/p&gt;


	&lt;p&gt;I spent about 2 days struggling with this issue. Google search after Google search just kept turning up the same solutions on different blogs&#8230; &#8220;just add&#8212;with-mysql-config=/usr/local/bin/mysql..&#8221; or &#8220;put sudo env &lt;span class=&quot;caps&quot;&gt;ARCHFLAGS&lt;/span&gt;=&#8217;-arch i386&#8217; in front of the gem command&#8221;, etc.&lt;/p&gt;


	&lt;p&gt;Finally, creating those sym-links like you did before calling the following command did the trick:
sudo env &lt;span class=&quot;caps&quot;&gt;ARCHFLAGS&lt;/span&gt;=&#8217;&lt;del&gt;arch i386&#8217; gem install mysql -&lt;/del&gt;&#8212;with-mysql-dir=/usr/local/mysql&#8212;with-mysql-lib=/usr/local/mysql/lib/&lt;/p&gt;


	&lt;p&gt;I don&#8217;t understand why this was so difficult &#8211; who&#8217;s to blame here? Apple? MySQL? whoever wrote or maintains that mysql gem? Maybe it&#8217;s a combination of all three &#8211; I just hope someone figures out a way to make it &lt;b&gt;&lt;strong&gt;just work&lt;/b&gt;&lt;/strong&gt; so we don&#8217;t drive anyone else insane in the future. :)&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>Matt</name>
    </author>
    <id>tag:peppyheppy.com,2009-06-15:10243:10244</id>
    <published>2009-06-23T18:57:42Z</published>
    <updated>2009-06-23T18:57:42Z</updated>
    <category term="OSX / Apple"/>
    <category term="Ruby"/>
    <category term="Tips / Tutorials"/>
    <link href="http://peppyheppy.com/2009/6/15/fail-sudo-gem-install-mysql-fixed" rel="alternate" type="text/html"/>
    <title>Comment on 'FAIL: sudo gem install mysql (Fixed)' by Matt</title>
<content type="html">&lt;p&gt;I ran into a similar issue, but after I reinstall and try a rake db:migrate from my app&#8217;s directory I get the following error:&lt;/p&gt;


	&lt;p&gt;!!! The bundled mysql.rb driver has been removed from Rails 2.2. Please install the mysql gem and try again: gem install mysql.
rake aborted!
dlsym(0&#215;158ca40, Init_mysql): symbol not found &#8211; /usr/local/lib/ruby/gems/1.8/gems/mysql-2.7/lib/mysql.bundle&lt;/p&gt;


	&lt;p&gt;Could it be because I am using the 64-bit mysql? I have seen some comments about that. My database.yml has been configured. What am I missing?&lt;/p&gt;


	&lt;p&gt;Thanks, Matt&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>Paul Hepworth</name>
    </author>
    <id>tag:peppyheppy.com,2008-05-09:5937:6497</id>
    <published>2008-07-17T05:12:39Z</published>
    <updated>2008-07-17T05:12:39Z</updated>
    <category term="Ruby"/>
    <category term="Ruby on Rails"/>
    <category term="Tips / Tutorials"/>
    <link href="http://peppyheppy.com/2008/5/9/url-canonicalization-in-rails" rel="alternate" type="text/html"/>
    <title>Comment on 'Url Canonicalization in Rails' by Paul Hepworth</title>
<content type="html">&lt;p&gt;Glad that I was able to help.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>hasham</name>
    </author>
    <id>tag:peppyheppy.com,2008-05-09:5937:6495</id>
    <published>2008-07-11T05:20:51Z</published>
    <updated>2008-07-11T05:20:51Z</updated>
    <category term="Ruby"/>
    <category term="Ruby on Rails"/>
    <category term="Tips / Tutorials"/>
    <link href="http://peppyheppy.com/2008/5/9/url-canonicalization-in-rails" rel="alternate" type="text/html"/>
    <title>Comment on 'Url Canonicalization in Rails' by hasham</title>
<content type="html">&lt;p&gt;Great! Thanks! You made my day&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>Paul</name>
    </author>
    <id>tag:peppyheppy.com,2008-01-18:527:5053</id>
    <published>2008-03-21T08:40:59Z</published>
    <updated>2008-03-21T08:40:59Z</updated>
    <category term="Linux / Unix"/>
    <category term="Tips / Tutorials"/>
    <link href="http://peppyheppy.com/2008/1/18/bulk-zone-file-serial-number-increment" rel="alternate" type="text/html"/>
    <title>Comment on 'Bulk Zone file Serial Number Increment' by Paul</title>
<content type="html">&lt;p&gt;Good point clodel. updating the serial to the current date is a better idea.&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>/clodel</name>
    </author>
    <id>tag:peppyheppy.com,2008-01-18:527:4139</id>
    <published>2008-03-11T11:37:40Z</published>
    <updated>2008-03-11T11:37:40Z</updated>
    <category term="Linux / Unix"/>
    <category term="Tips / Tutorials"/>
    <link href="http://peppyheppy.com/2008/1/18/bulk-zone-file-serial-number-increment" rel="alternate" type="text/html"/>
    <title>Comment on 'Bulk Zone file Serial Number Increment' by /clodel</title>
<content type="html">&lt;p&gt;Perhaps this one is better.&lt;/p&gt;


&lt;h1&gt;!/bin/bash&lt;/h1&gt;

	&lt;p&gt;serial=`date +%Y%m%d%H`
for file in $(ls /var/named/&lt;strong&gt;.db); do
if [ -f $file ]; then
&lt;span class=&quot;caps&quot;&gt;OLD&lt;/span&gt;=`egrep -ho &#8220;200&lt;a href=&quot;0-9&quot;&gt;0-9&lt;/a&gt;[0-9]&lt;/strong&gt;&#8221; $file`
&lt;span class=&quot;caps&quot;&gt;NEW&lt;/span&gt;=$(($serial))
sed -i &#8220;s/$OLD/$NEW/g&#8221; $file
echo &#8220;fixed $file&#8221; 
fi
done&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>Jonas</name>
    </author>
    <id>tag:peppyheppy.com,2008-01-14:464:2640</id>
    <published>2008-02-24T21:21:37Z</published>
    <updated>2008-02-24T21:21:37Z</updated>
    <category term="Thoughts / Experiences"/>
    <category term="Tips / Tutorials"/>
    <link href="http://peppyheppy.com/2008/1/14/google-s-free-blog-backup-service" rel="alternate" type="text/html"/>
    <title>Comment on 'Google's FREE blog backup service!' by Jonas</title>
<content type="html">&lt;p&gt;Or use http://blogbackupr.com for blog backup&lt;/p&gt;</content>  </entry>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>Irodori</name>
    </author>
    <id>tag:peppyheppy.com,2005-08-29:5:95</id>
    <published>2007-12-08T02:05:59Z</published>
    <updated>2007-12-08T02:05:59Z</updated>
    <category term="Asp.Net"/>
    <category term="Tips / Tutorials"/>
    <link href="http://peppyheppy.com/2005/8/29/c-quickly-remove-un-supported-markup-from-forms" rel="alternate" type="text/html"/>
    <title>Comment on 'C# Quickly remove un supported HTML tags from forms' by Irodori</title>
<content type="html">Excellent forum with fantastic references and reading.... well done indeed... 
&lt;a href=&quot;http:&quot; /&gt;airline tickets&lt;/a&gt; http://airline379tickets.com 
 Very good web forum, great work and thank you for your service. 
&lt;a href=&quot;http:&quot; /&gt;xanax&lt;/a&gt; http://xanax-gl-pills.com 
 I am glad to find this forum !  
&lt;a href=&quot;http:&quot; /&gt;cialis&lt;/a&gt; http://cialis-l-pills.com 
Very good contents...  
&lt;a href=&quot;http:&quot; /&gt;xanax&lt;/a&gt; http://xanax777pills.com 
 All the best!</content>  </entry>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>Irodori</name>
    </author>
    <id>tag:peppyheppy.com,2005-08-29:5:94</id>
    <published>2007-12-07T11:29:58Z</published>
    <updated>2007-12-07T11:29:58Z</updated>
    <category term="Asp.Net"/>
    <category term="Tips / Tutorials"/>
    <link href="http://peppyheppy.com/2005/8/29/c-quickly-remove-un-supported-markup-from-forms" rel="alternate" type="text/html"/>
    <title>Comment on 'C# Quickly remove un supported HTML tags from forms' by Irodori</title>
<content type="html">The Regard! The Excellent forum! Thank you! 
&lt;a href=&quot;http:&quot; /&gt;payday loans&lt;/a&gt; http://payday-gl-loans.com 
 Excellent forum, added to favorites! 
&lt;a href=&quot;http:&quot; /&gt;xanax&lt;/a&gt; http://xanax-gl-pills.com 
 The Author, you - genius...  
&lt;a href=&quot;http:&quot; /&gt;airline tickets&lt;/a&gt; http://airline333tickets.com 
What beautiful text and visitors!  
&lt;a href=&quot;http:&quot; /&gt;phentermine&lt;/a&gt; http://phentermine-gl-pills.com 
 The Author, you simply - super hero!</content>  </entry>
  <entry xml:base="http://peppyheppy.com/">
    <author>
      <name>Emilio</name>
    </author>
    <id>tag:peppyheppy.com,2005-08-29:5:85</id>
    <published>2007-03-29T16:53:21Z</published>
    <updated>2007-03-29T16:53:21Z</updated>
    <category term="Asp.Net"/>
    <category term="Tips / Tutorials"/>
    <link href="http://peppyheppy.com/2005/8/29/c-quickly-remove-un-supported-markup-from-forms" rel="alternate" type="text/html"/>
    <title>Comment on 'C# Quickly remove un supported HTML tags from forms' by Emilio</title>
<content type="html">You forgot to specify RegexOptions.IgnoreCase because it could be that the HTML in the input string is not lowercase.</content>  </entry>
</feed>
