<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title><![CDATA[Dobrica Pavlinušić's random unstructured stuff: Jifty]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?action=weblog_display;category=Jifty</link>
<description></description>
<pubDate>Fri, 14 Dec 2007 14:13:48 -0000</pubDate>
<webMaster>root@saturn.ffzg.hr</webMaster>
<generator>Socialtext Workspace v2.19.0.2</generator>

<item>
<title><![CDATA[Jifty]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?jifty</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: Jifty</div><hr/><div class="wiki">
<p>
<a target="_blank" title="(external link)" href="http://jifty.org/">Jifty<!-- wiki-renamed-hyperlink "Jifty"<http://jifty.org/> --></a> notes for installing production Jifty instance on Debian etch</p>
<div class="nlw_phrase"><table class="wafl_container">
  <tr>
    <td>
      <div class="wafl_box">
        
          <div class="wafl_titlebox">
            <div class="wafl_title">
              
                Contents: [Dobrica Pavlinušić's random unstructured stuff]
              
            </div>
          </div>
          <div class="wafl_items">
            
              <div class="wiki">
<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#etc_apt_sources_list">Dobrica Pavlinušić's random unstructured stuff (/etc/apt/sources.list)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] /etc/apt/sources.list} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#packages">Dobrica Pavlinušić's random unstructured stuff (packages)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] packages} --></span></li>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#configuration">Dobrica Pavlinušić's random unstructured stuff (configuration)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] configuration} --></span></li>

<ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#smtp">Dobrica Pavlinušić's random unstructured stuff (SMTP)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] SMTP} --></span></li>
</ul>
<li><span class="nlw_phrase"><a title="section link" href="https://saturn.ffzg.hr/rot13/index.cgi?dobrica_pavlinu%C5%A1i%C4%87_s_random_unstructured_stuff#application">Dobrica Pavlinušić's random unstructured stuff (application)</a><!-- wiki: {link: [Dobrica Pavlinušić's random unstructured stuff] application} --></span></li>
</ul>
</div>

            
            
          </div>
        
      </div>
    </td>
  </tr>
</table>
<!-- wiki: {toc: }
--></div><br /><br /><h1 id="etc_apt_sources_list">/etc/apt/sources.list</h1>
<pre>
deb http://debian.carnet.hr/debian etch main contrib non-free
deb http://security.debian.org/ etch/updates main contrib non-free
deb http://debian.jifty.org/debian etch jifty
</pre>
<br /><h1 id="packages">packages</h1>
<pre>
sudo apt-get install subversion make svk ssmtp jifty libmodule-install-perl
</pre>
<br /><h1 id="configuration">configuration</h1>
<h2 id="smtp">SMTP</h2>
<p>
Edit <tt>/etc/ssmtp/ssmtp.conf</tt> to include valid <tt>mailhub</tt></p>
<p>
Apply patch <a target="_blank" title="(external link)" href="http://rt.cpan.org/Public/Bug/Display.html?id=24482">#24482<!-- wiki-renamed-hyperlink "#24482"<http://rt.cpan.org/Public/Bug/Display.html?id=24482> --></a> to <tt>Email::Send</tt> to fix mail sending or execute fillowing command:</p>
<pre>
sudo ln -sf /usr/sbin/sendmail /usr/local/bin/
</pre>
<br /><h1 id="application">application</h1>
<pre>
svk co svn+ssh://llin-svn/home/dpavlin/private/svn/Arh
cd Arh
perl Makefile.PL

# sudo is needed if you don't have all modules
sudo make

./bin/jifty schema

./bin/jifty server
</pre>
</div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>Jifty</category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?jifty</guid>
<pubDate>Fri, 14 Dec 2007 14:13:48 -0000</pubDate>
</item>
<item>
<title><![CDATA[Perly]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?perly</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: Jifty, projects</div><hr/><div class="wiki">
<p>
Very small <a target="_blank" title="(external link)" href="http://jifty.org">Jifty<!-- wiki-renamed-hyperlink "Jifty"<http://jifty.org> --></a> application which enables execution of perl code within browser. <strong>This is a gapping security hole.</strong> You have been warned. Source code is <a target="_blank" title="(external link)" href="http://svn.rot13.org/index.cgi/Perly">in subversion<!-- wiki-renamed-hyperlink "in subversion"<http://svn.rot13.org/index.cgi/Perly> --></a> so feel free to checkout it and play with it.</p>
<p>
Aside from that, it's a nice tool to learn perl on the web, without need to install anything on local machine. In fast, that's why it was written.</p>
<p>
Features:</p>
<ul>
<li>upload or copy/paste code or input</li>
<li>edit code using <a target="_blank" title="(external link)" href="http://codepress.org">JavaScript syntax highlighted editor<!-- wiki-renamed-hyperlink "JavaScript syntax highlighted editor"<http://codepress.org> --></a></li>
<li>run scripts from browsers and get command-line equivalent output</li>
<li>resolve dependencies within code (needed to dump all files required for run)</li>
</ul>
<p>
Security holes:</p>
<ul>
<li>It execute any code entered by user on server. It will timeout it after 5s (configurable in config.yml)</li>
<li>User can require any module installed on system (there is <strong>FIXME</strong> comment in code, but I'm not sure that white listing of modules would be usable).</li>
</ul>
<div class="nlw_phrase"><div class="fetchrss_box">
  <div class="fetchrss_titlebox">
    
 <div class="fetchrss_title">
     fetchrss: http://svn.rot13.org/index.cgi/Perly/rss
 </div>

  </div>
  
<ul class="fetchrss_item">
  <li class="fetchrss_item">
    There was an error: 404 Not Found

  </li>
</ul>

</div>
















<!-- wiki: {fetchrss: http://svn.rot13.org/index.cgi/Perly/rss full}
--></div><br /></div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>Jifty, projects</category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?perly</guid>
<pubDate>Mon, 16 Jul 2007 11:25:10 -0000</pubDate>
</item>
<item>
<title><![CDATA[Grep]]></title>
<link>https://saturn.ffzg.hr/rot13/index.cgi?grep</link>
<description><![CDATA[<div>Creator: Dobrica Pavlinušić</div><hr/><div>Tags: Jifty, projects</div><hr/><div class="wiki">
<p>
Grep is RSS feed searcher and cacher. Actually, more correct is to think about Grep as your search console.<br />
If you are into buzzword land, you can even call that <em>information worker workbench</em> but, enough of that.</p>
<p>
It's mostly useful with web sites that provide search results as RSS feed. If they include full content in feeds even better. One example of such web service is <a target="_blank" title="(external link)" href="http://www.socialtext.com/">SocialText wiki<!-- wiki-renamed-hyperlink "SocialText wiki"<http://www.socialtext.com/> --></a> for which Grep was originally written.</p>
<blockquote>
I <strong>know</strong> that I wrote it in some wiki workspace, <strong>but where</strong> ?!</blockquote>
<br /><p>
Following that idea, Grep gained powerful plugin mechanism which enable users (err, developers who can write 10-line perl module) to scrape any site which has form or rest API and produce search results as links. While doing that, it will also fetch result pages and cache them locally. Have in mind that this is a slow process which puts much load on remote server, so use it sparsely. However, once remote results are fetched, they are always available in local cache for quick reference, even when offline!</p>
<p>
For now, here is a feature list:</p>
<ul>
<li>cache all results locally, great for off-line use</li>
<li>supports credential spoofing using Cookies (useful to login into protected areas)</li>
<li>comes with easy bookmarklet subscribe helper</li>
<li>written using <a target="_blank" title="(external link)" href="http://jifty.org/">Jifty<!-- wiki-renamed-hyperlink "Jifty"<http://jifty.org/> --></a> and <a target="_blank" title="(external link)" href="http://www.rectangular.com/kinosearch/">KinoSearch<!-- wiki-renamed-hyperlink "KinoSearch"<http://www.rectangular.com/kinosearch/> --></a></li>
<li>scrapers for other wikis and CMS engines which can be <a target="_blank" title="(external link)" href="http://svn.rot13.org/index.cgi/Grep/browse/lib/Grep/Source">source of items<!-- wiki-renamed-hyperlink "source of items"<http://svn.rot13.org/index.cgi/Grep/browse/lib/Grep/Source> --></a> for Grep</li>
<li>de-duplicate local results (based on <a target="_blank" title="(external link)" href="http://search.cpan.org/~janpom/Text-DeDuper/">near duplicates detection<!-- wiki-renamed-hyperlink "near duplicates detection"<http://search.cpan.org/~janpom/Text=-DeDuper/> --></a> which is great for sites which change just slightly like wikis)</li>
<li>import local html pages from <a target="_blank" title="(external link)" href="http://amb.vis.ne.jp/mozilla/scrapbook/">ScrapBook<!-- wiki-renamed-hyperlink "ScrapBook"<http://amb.vis.ne.jp/mozilla/scrapbook/> --></a> FireFox plugin</li>
</ul>
<p>
Source code is in <a target="_blank" title="(external link)" href="http://svn.rot13.org/index.cgi/Grep/">development Subversion repository<!-- wiki-renamed-hyperlink "development Subversion repository"<http://svn.rot13.org/index.cgi/Grep/> --></a></p>
<div class="nlw_phrase"><div class="fetchrss_box">
  <div class="fetchrss_titlebox">
    
 <div class="fetchrss_title">
     fetchrss: http://svn.rot13.org/index.cgi/Grep/rss
 </div>

  </div>
  
<ul class="fetchrss_item">
  <li class="fetchrss_item">
    There was an error: 404 Not Found

  </li>
</ul>

</div>
















<!-- wiki: {fetchrss: http://svn.rot13.org/index.cgi/Grep/rss full}
--></div><br /></div>
]]></description>
<author>Dobrica Pavlinu&#x161;i&#x107;</author>
<category>Jifty, projects</category>
<guid isPermaLink="true">https://saturn.ffzg.hr/rot13/index.cgi?grep</guid>
<pubDate>Mon, 11 Jun 2007 09:24:59 -0000</pubDate>
</item>
</channel>
</rss>