<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    <link href="http://project-run.com/feeds/atom.xml" rel="self" title="Blog affaire" type="application/atom+xml" />
    <link href="http://project-run.com/"                        rel="alternate"    title="Blog affaire" type="text/html" />
    <link href="http://project-run.com/rss.php?version=2.0"     rel="alternate"    title="Blog affaire" type="application/rss+xml" />
    <title type="html">Blog affaire</title>
    <subtitle type="html">Paint it Black</subtitle>
    
    <id>http://project-run.com/</id>
    <updated>2010-01-22T13:07:38Z</updated>
    <generator uri="http://www.s9y.org/" version="1.4.1">Serendipity 1.4.1 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://project-run.com/archives/55-SCRIPT-Save-Arte-plus-7-video-stream-local.html" rel="alternate" title="[SCRIPT] Save Arte plus 7 video stream local" />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2010-01-22T13:07:38Z</published>
        <updated>2010-01-22T13:07:38Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=55</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=55</wfw:commentRss>
    
            <category scheme="http://project-run.com/categories/3-Common" label="Common" term="Common" />
            <category scheme="http://project-run.com/categories/8-common-computer-stuff" label="common computer stuff" term="common computer stuff" />
            <category scheme="http://project-run.com/categories/1-GNULinux" label="GNU/Linux" term="GNU/Linux" />
    
        <id>http://project-run.com/archives/55-guid.html</id>
        <title type="html">[SCRIPT] Save Arte plus 7 video stream local</title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                This script saves the video streams from the Arte +7 liberty local.<br />
You only need to run the script with the main url of your target video stream, as example:<br />
<blockquote>Syntax: ./arte_plus7_downloader.sh "url"<br />
Example: ./arte_plus7_downloader.sh "http://plus7.arte.tv/de/1697660,CmC=3024668,scheduleId=3004936.html/"</blockquote><br />
<br />
Simply to use, no need to explain it completely...<br />
<br />
arte_plus7_downloader.sh:<br />
<blockquote>#!/bin/sh<br />
<br />
# check for syntax<br />
if [ $# -eq 0 ] ; then<br />
   echo "Syntax: ${0} \"url\""<br />
   echo "Example: ${0} \"http://plus7.arte.tv/de/1697660,CmC=3024668,scheduleId=3004936.html/\""<br />
   exit 1<br />
fi<br />
<br />
# download from:<br />
URL="${1}"<br />
<br />
# save location<br />
LOCATION="/Download/Arte"<br />
<br />
# html dump<br />
HTMLTMP="/tmp/arte_tmp"<br />
<br />
# date of today<br />
DATE=`date +%y%m%d`<br />
<br />
# check if html dump file exist<br />
if [ ! -e ${HTMLTMP} ] ; then<br />
    # create file<br />
    touch ${HTMLTMP}<br />
else<br />
    # if file exist deleted contents<br />
    echo "" > ${HTMLTMP}<br />
fi<br />
<br />
# get main page with video info<br />
curl -m 5 --connect-timeout 5 -# ${URL} > ${HTMLTMP}<br />
<br />
# parse title out of the html dump<br />
TITLE=`cat ${HTMLTMP} | grep -e 'meta name=\"Title\"' | sed 's/ .*\=//g;s/.-.ARTE+7.*>//g;s/\"//g;s/;//g;s/ /_/g'`<br />
<br />
# parse for wmv/mms container file<br />
WMV=`cat ${HTMLTMP} | grep -e 'availableFormats.*PG_HQ_DE.wmv' | sed 's/availableFormats.*\=//g;s/\"//g;s/;//g;s/ //g'`<br />
<br />
# get container file<br />
curl -m 5 --connect-timeout 5 -# ${WMV} > ${HTMLTMP}<br />
<br />
# get mms stream address<br />
WMV=`cat ${HTMLTMP} | grep -e 'PG_HQ_DE.wmv' | sed 's/<REF HREF.*\=\"//g;s/\"\/>//g;s/ //g'`<br />
<br />
echo "${TITLE} - ${WMV}"<br />
<br />
# get the dump with mplayer<br />
mplayer -dumpstream "${WMV}" -dumpfile "${LOCATION}/${TITLE}-${DATE}.wmv"<br />
<br />
# error handling<br />
if [ $? = "1" ] ; then<br />
    echo "Error! Retrying download"<br />
    "${0}" "${URL}"<br />
fi<br />
<br />
echo ""<br />
</blockquote><br />
<br />
What is missing/ToDO:<br />
+ a better error handling<br />
+ self fetching RSS Feed script to automate download process - something like bashpodder<br />
+ further description and options 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://project-run.com/archives/54-Gallery-Funny-pics.html" rel="alternate" title="[Gallery] Funny pics" />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2009-11-03T10:47:43Z</published>
        <updated>2009-11-03T10:47:43Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=54</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=54</wfw:commentRss>
    
    
        <id>http://project-run.com/archives/54-guid.html</id>
        <title type="html">[Gallery] Funny pics</title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <a href="http://gallery.project-run.com/index.cgi?mode=view&amp;album=/Funny_Pics" title="funny">Gallery Funny Pics:</a><br />
<br />
Cevapcic - Born and fed in Austria<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Cevapcici.png" alt=""  /><br />
<br />
What would Darwin do?<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/090308-Darwin.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/linux-evil.png" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Welcome_To_Nobody_Cares.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/03c.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/05.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/17.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/081013-Finanzkrise.jpg" alt=""  /> <br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/090602-Baumarkt.jpg" alt=""  /> <br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/PicPicdump28_23.jpg" alt=""  />  
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://project-run.com/archives/53-Gallery-Updated-and-resized-pictures,-include-new-ones-and-add-some-previews....html" rel="alternate" title="[Gallery] Updated and resized pictures, include new ones and add some previews..." />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2009-10-28T20:41:41Z</published>
        <updated>2009-10-28T20:41:41Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=53</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=53</wfw:commentRss>
    
            <category scheme="http://project-run.com/categories/7-Gallery" label="Gallery" term="Gallery" />
    
        <id>http://project-run.com/archives/53-guid.html</id>
        <title type="html">[Gallery] Updated and resized pictures, include new ones and add some previews...</title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                A new visitor, a hedgehog:<br />
<a href="http://gallery.project-run.com/index.cgi?mode=view&amp;album=/Home-Altmuenster/Animals/Hedgehog-2oo9/" title="Hedgehog-2oo9">Hedgehog-2oo9<br />
<img src="http://gallery.project-run.com/photodata/Home-Altmuenster/Animals/Hedgehog-2oo9/640/s5020810.jpg" alt=""  /><br />
</a><br />
<br />
<a href="http://gallery.project-run.com/index.cgi?mode=view&amp;album=/Graz-2009-Visiting_Renata/" title="Graz-2009-Visiting_Renata"><br />
Visiting Renata in Graz, 2oo9<br />
<img src="http://gallery.project-run.com/photodata/Graz-2009-Visiting_Renata/640/s5020821.jpg" alt=""  /><br />
</a><br />
<br />
<a href="http://gallery.project-run.com/index.cgi?mode=view&amp;album=Linz_o9-Hoehenrausch-2009/" title="Linz_o9-Hoehenrausch-2009"><br />
Linz09 Höhenrausch:<br />
<img src="http://gallery.project-run.com/photodata/Linz_o9-Hoehenrausch-2009/640/s5020840.jpg" alt=""  /><br />
</a> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://project-run.com/archives/52-Patch-GNU-Screen-with-vertical-splits.html" rel="alternate" title="[Patch] GNU Screen with vertical splits" />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2009-10-15T16:00:04Z</published>
        <updated>2009-10-15T16:45:08Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=52</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=52</wfw:commentRss>
    
    
        <id>http://project-run.com/archives/52-guid.html</id>
        <title type="html">[Patch] GNU Screen with vertical splits</title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Need vertical splits in screen?<br />
<br />
Get the actual source of screen:<br />
<blockquote>wget http://ftp.gnu.org/gnu/screen/screen-4.0.3.tar.gz</blockquote><br />
Then get the patch from <a href="http://fungi.yuggoth.org/vsp4s/" title="Patch">http://fungi.yuggoth.org/vsp4s/</a>:<br />
<blockquote>wget http://vsp4sdl.yuggoth.org/wrp_vertical_split_0.3_4.0.2.diff.bz2</blockquote><br />
Extract  the downloads:<br />
<blockquote>tar xvf screen-4.0.3.tar.gz<br />
bunzip2 wrp_vertical_split_0.3_4.0.2.diff.bz2<br />
</blockquote><br />
Then apply the patch:<br />
<blockquote>patch -p1 < wrp_vertical_split_0.3_4.0.2.diff</blockquote><br />
Compile and build screen from scratch:<br />
<blockquote>./configure<br />
make<br />
make install</blockquote><br />
And to finish it add following line to the ~/.sceenrc config:<br />
<blockquote>bind 'V' vert_split</blockquote><br />
<br />
To create a vertical split press 'C-a V'<br />
<br />
Done and have fun with it! 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://project-run.com/archives/51-config-xterm-mouswheel-scrolling-in-GNU-screen.html" rel="alternate" title="[config] xterm mouswheel scrolling in GNU screen " />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2009-10-14T15:51:51Z</published>
        <updated>2009-10-15T16:39:05Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=51</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=51</wfw:commentRss>
    
            <category scheme="http://project-run.com/categories/3-Common" label="Common" term="Common" />
    
        <id>http://project-run.com/archives/51-guid.html</id>
        <title type="html">[config] xterm mouswheel scrolling in GNU screen </title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                If you want to scroll in the alternative text buffer of screen in xterm just add <br />
<blockquote>termcapinfo xterm ti@:te@</blockquote><br />
to your .screenrc config file. 
            </div>
        </content>
        <dc:subject>buffer</dc:subject>
<dc:subject>common</dc:subject>
<dc:subject>config</dc:subject>
<dc:subject>gnu</dc:subject>
<dc:subject>linux</dc:subject>
<dc:subject>screen</dc:subject>
<dc:subject>screenrc</dc:subject>
<dc:subject>scrool</dc:subject>
<dc:subject>scroolbar</dc:subject>
<dc:subject>shell</dc:subject>
<dc:subject>xterm</dc:subject>

    </entry>
    <entry>
        <link href="http://project-run.com/archives/50-Dr.-Joerg-Haider-singt-sings.html" rel="alternate" title="Dr. Jörg Haider singt || sings" />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2009-01-16T21:37:17Z</published>
        <updated>2009-01-16T22:18:40Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=50</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=50</wfw:commentRss>
    
            <category scheme="http://project-run.com/categories/4-common,-nothing-special" label="common, nothing special" term="common, nothing special" />
    
        <id>http://project-run.com/archives/50-guid.html</id>
        <title type="html">Dr. Jörg Haider singt || sings</title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I need to archived this...<br />
<br />
http://www.haider-singt.at<br />
<br />
http://www.zwischenruf.at/?p=1753<br />
<br />
http://www.youtube.com/watch?v=K7EICAcea0g&eurl=http://www.zwischenruf.at/?p=1753<br />
<br />
One day they will forget this bastard...<br />
And I hope they also will forget the Austrian parties like FPÖ and BZÖ. Our the idiots who vote for them die out.<br />
<br />
Our ÖVP is already fascistic / racialist enough. We don't need more idiots who try to make such a politic...<br />
<br />
[Edit]<br />
Grissemann und Stermann:<br />
http://www.willkommen-tv.at/player.php?fid=F50P1&sid=F50#F50<br />
Response: http://diepresse.com/home/kultur/medien/431215/index.do?_vl_backlink=/home/index.do 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://project-run.com/archives/49-Gallery-Update-funny-pics.html" rel="alternate" title="[Gallery] Update funny pics" />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2009-01-01T14:19:01Z</published>
        <updated>2009-01-01T14:19:01Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=49</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=49</wfw:commentRss>
    
            <category scheme="http://project-run.com/categories/7-Gallery" label="Gallery" term="Gallery" />
    
        <id>http://project-run.com/archives/49-guid.html</id>
        <title type="html">[Gallery] Update funny pics</title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <a href="http://gallery.project-run.com/index.cgi?mode=view&amp;album=/Funny_Pics" title="funny">Gallery Funny Pics:</a><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/326803.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/suicide.gif" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/298997880_eef283d397.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/01_spassfabrik_11.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/04.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/05_spassfabrik_08.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/081110.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/14_katze_betteln.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/15.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/15_spassfabrik_11.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/20.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/25_nothing_dangerous.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/3.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Im_Not_Fat.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/hornoxe.com_picdump71_11.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/metros.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/spam.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/tmb_hornoxe.com_picdump71_53.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/tmb_hornoxe.com_picdump71_54.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/tmb_hornoxe.com_picdump71_73.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/tmb_hornoxe.com_picdump74_35.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/tmb_hornoxe.com_picdump74_44.jpg" alt=""  /> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://project-run.com/archives/47-Local-Network-Tricks-two-networks-IPs-on-one-box.html" rel="alternate" title="[Local Network Tricks] two networks (IPs) on one box" />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2008-10-27T14:52:02Z</published>
        <updated>2008-10-27T14:52:02Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=47</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=47</wfw:commentRss>
    
            <category scheme="http://project-run.com/categories/3-Common" label="Common" term="Common" />
    
        <id>http://project-run.com/archives/47-guid.html</id>
        <title type="html">[Local Network Tricks] two networks (IPs) on one box</title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <strong>[Example with eth0]</strong><br />
<br />
<code>ifconfig eth0:1 10.0.0.1</code><br />
<br />
This line add a secound network interface for 10.0.0.0 to your nic. The rest of the preferences are automatic made. So if you don't need special preferences like gateway and co. there is nothing more to do.<br />
<br />
You can check it with <code>route -n </code> if it worked...<br />
<br />
<code> route -n<br />
Kernel_IP_routing_table<br />
Destination_____Gateway_________Genmask_________Flags_Metric_Ref____Use_Iface<br />
137.65.28.0_____0.0.0.0_________255.255.255.0___U_____0______0________0_eth0<br />
10.0.0.0________0.0.0.0_________255.0.0.0_______U_____0______0________0_eth0<br />
127.0.0.0_______0.0.0.0_________255.0.0.0_______U_____0______0________0_lo<br />
0.0.0.0_________137.65.28.1_____0.0.0.0_________UG____0______0________0_eth0<br />
</code> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://project-run.com/archives/48-SSH-Tricks-Forward-SSH-over-SSH-Reverse-SSH-tunneling.html" rel="alternate" title="[SSH Tricks] Forward SSH over SSH || Reverse SSH tunneling" />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2008-10-27T13:41:09Z</published>
        <updated>2008-10-27T13:41:09Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=48</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=48</wfw:commentRss>
    
            <category scheme="http://project-run.com/categories/3-Common" label="Common" term="Common" />
    
        <id>http://project-run.com/archives/48-guid.html</id>
        <title type="html">[SSH Tricks] Forward SSH over SSH || Reverse SSH tunneling</title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <strong>[Basic]</strong><br />
# One server, two clients (IP unknown)<br />
# Forwarding port from server to client<br />
<br />
(IPs of clients change regularly and aren't known, between client A and B are Firewalls, which don't allow connections from outside)<br />
Client A is allowed to connect to the server, but not to client B.<br />
Client B is allowed to connect to the server, but not to client A.<br />
<br />
<strong>[Solution]</strong><br />
Client B makes a connection to the server to forward a remote port to the local host and hold this connection all the time (cron-script).<br />
Client A makes a connection to the remote port on the server and will be forwarded to the client B.<br />
<br />
<strong>[Why?]</strong><br />
I use this to forward a SSH connection from work home, or the other way around.<br />
<br />
<strong>[Example with SSH]</strong><br />
The SSH daemon runs also on both clients and on the server.<br />
So I forward a port from the server to my clients ssh port.<br />
<br />
<strong>[Client B]</strong><code><br />
ssh -R 2048:localhost:22 user@example.com</code><br />
<br />
<strong>[Client A]</strong><code><br />
ssh -P -L1234:localhost:2048 user@example.com<br />
ssh -p 1234 localhost</code><br />
<br />
<strong>[crontab -l]</strong><br />
<code># check connection to the server<br />
 */2 * * * * /root/fwd_ssh > /dev/null 2>&1</code><br />
<br />
<strong>[Cron-Script - fwd_ssh]</strong><br />
<code>#!/bin/sh<br />
<br />
# $REMOTE_HOST is the name of the remote system<br />
REMOTE_HOST=user@example.com<br />
<br />
# $REMOTE_PORT is the remote port number that will be used to tunnel<br />
# back to this system<br />
REMOTE_PORT=2048<br />
<br />
# $CMDDHCPCD dhcpcd command<br />
CMDDHCPCD="/sbin/dhcpcd -d -t 30 eth0"<br />
<br />
# $CMDSSHD sshd command<br />
CMDSSHD="/etc/rc.d/rc.sshd start"<br />
<br />
# $COMMAND is the command used to create the reverse ssh tunnel<br />
COMMAND="ssh -f -q -N -R ${REMOTE_PORT}:localhost:22 ${REMOTE_HOST}"<br />
<br />
# Is the dhcpcdaemon running?<br />
pgrep -f -x "${CMDDHCPCD}" > /dev/null 2>&1 || ${CMDDHCPCD}<br />
<br />
# Check for relevant process ($COMMAND)<br />
pgrep -f -x "${COMMAND}" > /dev/null 2>&1 || ${COMMAND}<br />
<br />
# Check for sshd<br />
pgrep -f -x "/usr/sbin/sshd" > /dev/null 2>&1 || ${CMDSSHD}<br />
<br />
#</code><br />
<br />
<strong>Based on:</strong> <a href="http://www.brandonhutchinson.com/ssh_tunnelling.html" title="http://www.brandonhutchinson.com/ssh_tunnelling.html">http://www.brandonhutchinson.com/ssh_tunnelling.html</a><br />
<br />
<strong>[some links]</strong><br />
<a href="http://kuxon.org/ssht.html">X11 forwarding over SSH</a><br />
<a href="http://www.brandonhutchinson.com/ssh_tunnelling.html">ssh tunneling, reverse ssh tunneling</a><br />
<a href="http://www.fh-giessen.de/fachschaft/mni/mediawiki/index.php/HOWTO_SSH-Tunnel">Port forwarding, tunneling, X forwarding, German</a><br />
<a href="http://www.hotti.ch/doc/ssh/">SSH general German</a><br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://project-run.com/archives/46-Gallery-Update-of-some-funny-pics.html" rel="alternate" title="[Gallery] Update of some funny pics" />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2008-10-12T23:10:04Z</published>
        <updated>2008-10-12T23:10:04Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=46</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=46</wfw:commentRss>
    
            <category scheme="http://project-run.com/categories/7-Gallery" label="Gallery" term="Gallery" />
    
        <id>http://project-run.com/archives/46-guid.html</id>
        <title type="html">[Gallery] Update of some funny pics</title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <a href="http://gallery.project-run.com/index.cgi?mode=view&amp;album=/Funny_Pics" title="funny">Gallery Funny Pics:</a><br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/298997880_eef283d397.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/51-3.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/52-3.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Bush_At_The_Olympics.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Cant_Stack_Cars.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Every_Time.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Guitar_Hero270.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Haha.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Jesus_Saves.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Likely_To_Use_A_Mac.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Metal_Fan.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Mountain_Lions.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/No_Matter_What.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Procrastination.png" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Proof_Of_Evil.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Sex_Chart.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Solution.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Sooo_Fattening.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/What_Apples_Are_Good_For.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/Yop.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/fail-flying-eagle.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/hookerstorage.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/you_rock_you_rule.jpg" alt=""  /><br />
<br />
<img src="http://gallery.project-run.com/fotos/Funny_Pics/zg8.jpg" alt=""  /> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://project-run.com/archives/45-Gallery-Update-Jyvaskyla-pictures.html" rel="alternate" title="[Gallery] Update Jyvaskyla pictures" />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2008-10-12T23:03:55Z</published>
        <updated>2008-10-12T23:03:55Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=45</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=45</wfw:commentRss>
    
            <category scheme="http://project-run.com/categories/7-Gallery" label="Gallery" term="Gallery" />
    
        <id>http://project-run.com/archives/45-guid.html</id>
        <title type="html">[Gallery] Update Jyvaskyla pictures</title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                New Jyvaskyla fotos:<br />
<br />
<a href="http://gallery.project-run.com/index.cgi?mode=view&amp;album=/Finnland-Winter_2008-Erasmus/Jyvaskyla">http://gallery.project-run.com/index.cgi?mode=view&album=/Finnland-Winter_2008-Erasmus/Jyvaskyla</a><br />
<br />
<img src="http://gallery.project-run.com/fotos//Finnland-Winter_2008-Erasmus/Jyvaskyla/n1004274584_30166579_2120.jpg" alt=""  /><br />
<img src="http://gallery.project-run.com/fotos//Finnland-Winter_2008-Erasmus/Jyvaskyla/n1004274584_30166582_4469.jpg" alt=""  /><br />
<img src="http://gallery.project-run.com/fotos//Finnland-Winter_2008-Erasmus/Jyvaskyla/n1004274584_30166598_2188.jpg" alt=""  /><br />
<img src="http://gallery.project-run.com/fotos//Finnland-Winter_2008-Erasmus/Jyvaskyla/n1004274584_30166599_2828.jpg" alt=""  /><br />
<img src="http://gallery.project-run.com/fotos//Finnland-Winter_2008-Erasmus/Jyvaskyla/n1004274584_30166600_3479.jpg" alt=""  /><br />
<img src="http://gallery.project-run.com/fotos//Finnland-Winter_2008-Erasmus/Jyvaskyla/n517853930_896576_2342.jpg" alt=""  /><br />
<img src="http://gallery.project-run.com/fotos//Finnland-Winter_2008-Erasmus/Jyvaskyla/n517853930_939797_8783.jpg" alt=""  /><br />
<img src="http://gallery.project-run.com/fotos//Finnland-Winter_2008-Erasmus/Jyvaskyla/n596590511_249136_6224.jpg" alt=""  /><br />
<img src="http://gallery.project-run.com/fotos//Finnland-Winter_2008-Erasmus/Jyvaskyla/n598608902_845098_4833.jpg" alt=""  /> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://project-run.com/archives/43-Plugins-Pidgin-Skype-Chat-plugin.html" rel="alternate" title="[Plugins] Pidgin Skype Chat plugin" />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2008-10-12T22:42:22Z</published>
        <updated>2008-10-12T22:42:22Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=43</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=43</wfw:commentRss>
    
    
        <id>http://project-run.com/archives/43-guid.html</id>
        <title type="html">[Plugins] Pidgin Skype Chat plugin</title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <a href="http://code.google.com/p/skype4pidgin/">Homepage - Skype Chat for Pidgin</a> - powered by google code!<br />
<br />
<blockquote>Skype Plugin for Pidgin<br />
<br />
This is a Skype Plugin for Pidgin/libpurple/Adium. It lets you view and chat with all your Skype buddies from within Pidgin/Adium. You still need Skype to be running to be able to use it, but it lets you keep a consistent user interface and use all the other nifty Pidgin/Adium plugins with it, like spell-checking or OTR encryption. </blockquote><br />
<br />
I have some troubles with it, but for my needs it's perfect. There are still some contacts left so I didn't wont to delete Skype. With this I just can text them, but no direct calls. Skype still have to run in the background, but who cares!<br />
<br />
<blockquote>Download the latest versions of the plugin at <a href="http://eion.robbmob.com/">http://eion.robbmob.com/</a> </blockquote><br />
<br />
For installation is the same like the Facebook plugin:<br />
<blockquote>To install, run the deb package or copy libskype.so to the plugins directory, normally /usr/lib/purple-2/ or ~/.purple/plugins</blockquote><br />
<br />
Thanks to the inventor! 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://project-run.com/archives/42-Conf-Audacious-equalizer-preset-from-Winamp.html" rel="alternate" title="[Conf] Audacious - equalizer preset from Winamp" />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2008-10-12T22:39:27Z</published>
        <updated>2008-10-12T22:39:27Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=42</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=42</wfw:commentRss>
    
            <category scheme="http://project-run.com/categories/3-Common" label="Common" term="Common" />
    
        <id>http://project-run.com/archives/42-guid.html</id>
        <title type="html">[Conf] Audacious - equalizer preset from Winamp</title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Original found on: <br />
<a href="http://www.simonives.info/blog/2008/march/winamp_presets_audacious">http://www.simonives.info/blog/2008/march/winamp_presets_audacious</a><br />
<br />
<blockquote>Winamp Presets for Audacious<br />
<br />
simon — Sun, 03/30/2008 - 14:09<br />
<br />
Many users of Linux miss the equalizer presets that they had on Windoze applications such as WinAmp. The following terminal scripts will install the WinAmp equalizer presets for Audacious.<br />
<br />
To download the WinAmp presets type:<br />
<br />
wget <a href="http://www.xmms.org/misc/winamp_presets.gz">http://www.xmms.org/misc/winamp_presets.gz</a><br />
<br />
To install the presets for the Audacious media player type:<br />
<br />
gunzip -c winamp_presets.gz > ~/.config/audacious/eq.preset<br />
<br />
You can also install these presets for other linux media players that have equalizers such as xmms and BMP media player.<br />
<br />
To install the presets for xmms type:<br />
<br />
gunzip -c winamp_presets.gz > ~/.xmms/eq.preset<br />
<br />
to install the presets for BMP media player type:<br />
<br />
gunzip -c winamp_presets.gz > ~/.bmp/eq.preset</blockquote><br />
<br />
Thx to simon! 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://project-run.com/archives/41-advice-Homepage-httpwww.evilmilk.com.html" rel="alternate" title="[advice] Homepage http://www.evilmilk.com" />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2008-10-02T20:49:29Z</published>
        <updated>2008-10-02T20:50:55Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=41</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=41</wfw:commentRss>
    
            <category scheme="http://project-run.com/categories/4-common,-nothing-special" label="common, nothing special" term="common, nothing special" />
    
        <id>http://project-run.com/archives/41-guid.html</id>
        <title type="html">[advice] Homepage http://www.evilmilk.com</title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <a href="http://www.evilmilk.com">Homepage www.evilmilk.com</a><br />
<br />
So if you are bored or lucking for some nice funny or perv pictures, go there <img src="http://project-run.com/templates/default/img/emoticons/wink.png" alt=";-)" style="display: inline; vertical-align: bottom;" class="emoticon" /> 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://project-run.com/archives/40-advice-Homepage-englishrussia.com.html" rel="alternate" title="[advice] Homepage englishrussia.com" />
        <author>
            <name>Mark Baumann</name>
                    </author>
    
        <published>2008-10-02T18:21:53Z</published>
        <updated>2008-10-02T20:50:44Z</updated>
        <wfw:comment>http://project-run.com/wfwcomment.php?cid=40</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://project-run.com/rss.php?version=atom1.0&amp;type=comments&amp;cid=40</wfw:commentRss>
    
            <category scheme="http://project-run.com/categories/4-common,-nothing-special" label="common, nothing special" term="common, nothing special" />
    
        <id>http://project-run.com/archives/40-guid.html</id>
        <title type="html">[advice] Homepage englishrussia.com</title>
        <content type="xhtml" xml:base="http://project-run.com/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <a href="http://englishrussia.com/">Homepage englishrussia.com</a><br />
<blockquote>English Russia just because something cool happens daily on 1/6 of the Earth surface</blockquote><br />
<br />
Nice overview of funny and common stuff happening in Russia.<br />
Some are really funny cause CCCP meats West stile or similar...<br />
<br />
Just check them out:<br />
<a href="http://englishrussia.com/?p=1891">Russian Photoshop Masters Part 1.</a><br />
<a href="http://englishrussia.com/?p=1892">Russian Photoshop Masters Part 2.</a><br />
<a href="http://englishrussia.com/?p=2040#more-2040">Russian Nerds Party</a> 
            </div>
        </content>
        
    </entry>

</feed>