<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: shell code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Thu, 21 Aug 2008 15:29:27 GMT</pubDate>
    <description>DZone Snippets: shell code</description>
    <item>
      <title>dynamic rails img headers</title>
      <link>http://snippets.dzone.com/posts/show/4737</link>
      <description>// description of your code here&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;find views -name [a-z]\*rhtml | xargs -n1 grep -H "@page_title" | grep -v "&lt;%" | sed "s/\@page_title = //" | sed "s/rhtml/png/" | sed "s:views/::" | sed "s:/:_:g" | sed "s:^:public/images/beta/headers/hdr_:" | sed "s/  //g"&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Tue, 06 Nov 2007 00:52:30 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4737</guid>
      <author>jm3 (john manoogian III)</author>
    </item>
    <item>
      <title>bash : make tab completion of similarly named files not suck ass</title>
      <link>http://snippets.dzone.com/posts/show/4446</link>
      <description>// description of your code here&lt;br /&gt;&lt;br /&gt;add this to your ~/.bashrc (auto-chooses the first completion and cycles thru them w/tab)&lt;br /&gt;&lt;code&gt;&lt;br /&gt;bind '"\t":menu-complete'&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;and / or add this to your ~/.inputrc (shows all completions right away)&lt;br /&gt;&lt;code&gt;&lt;br /&gt;set show-all-if-ambiguous on&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;</description>
      <pubDate>Wed, 22 Aug 2007 23:31:04 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/4446</guid>
      <author>jm3 (john manoogian III)</author>
    </item>
  </channel>
</rss>
