I'm using Debian Lenny on my PowerBook. The ruby version which is shipped with lenny is 1.8.7.Today I wanted to try the metasploit framework, but it needs ruby version 1.8.6. After a little bit chatting in the #debian.de channel a solution was found.
You have to add the following lines to your /etc/apt/source.list:
deb http://snapshot.debian.net/archive pool ruby1.8
deb-src http://snapshot.debian.net/archive pool ruby1.8
Now you can install the ruby packages from the snapshot mirrors. I installed the latest 1.8.6 version of ruby1.8 and libruby1.8
I adjusted the andreas06 template so the current tab is emphasized now. <ul>
<li{strip}
{if $head_subtitle == "" && !$archives} id="current"{/if}>
<a href="{$serendipityBaseURL}">Site Home</a></li>
{/strip}
<li {strip}
{if $archives}
id="current"
{/if}
><a href="/archive">Archiv</a></li>{/strip}
<li {strip}
{if $head_subtitle|regex_replace:"/.*(howto)/":"howto" == "howto"}
id="current"{/if}
><a href="/plugin/tag/howto">HowTos</a></li>{/strip}
<li {strip}
{if $head_title == "Sonstiges"}
id="current"
{/if}
><a href="/pages/sonstiges.html">Sonstiges</a></li>{/strip}
<li {strip}
{if $head_title == "About"}
id="current"
{/if}
><a href="/pages/about.html">About</a></li>{/strip}
<li {strip}
{if $head_title == "Kontaktformular"}
id="current"
{/if}
><a href="/pages/kontakt.html">Kontakt</a></li>{/strip}
</ul>
The whole code looks dirty but there is, as far as i know, no ultimate variable in s9y which contains the page name so I have to check many different.
This is an English post. My English isn't as good as I'd like it to be, so if you find a mistake please advise me of it. Just drop a comment or write me a mail
Mit der unten stehenden Funktion, kann man die Zsh dazu bringen, bei einem Fehler ein BOFH Excuse auszugeben. Man braucht dafür die Zsh (logisch oder? ), und fortune. Beides gibt im Paketmanagment der Distri eurer Wahl. BarcTRAPZERR() { fortune bofh-excuses | tail -n 1}
(Gefunden irgendwo im Netz)
Yesterday I received my Fonera. The last two days i spend on trying to run an ssh daemon on it. After a lot of searching and surfing, i found finally with the help of this twosites a way to force fonera run ssh. I will shortly sum up the hack, it worked successful with 0.7.1 r1 fon firmware (if you have the 0.7.1.2 firmware you have to reset it.):
Continue reading "Hacking Fonera"
Ich konnte einfach nicht widerstehen den Umstand auszunutzen, dass javac nun Open Source ist. Ich musste das kompilieren vom source code ausprobieren und nebenbei habe ich dann ein kleines How-To geschrieben.