ryu's blog just a few lines of code

21Jan/100

Select Java version to be used on Ubuntu

sudo update-alternatives --config java

Tagged as: , No Comments
21Jan/100

Typo3 Backend Sprache auf Deutsch stellen

Ext Manager > Translation handling:
Im Feld "Translation settings" bei Languages to fetch: Deutsch - [German] auswählen.
Auf den Button "update from responitory" klicken.

User Settings > Personal Data
Deutsch [German] auswählen, und auf "Save Configuration" klicken.

Tagged as: No Comments
19Jan/100

E-Mails per Telnet vom Server löschen

Via POP3, mit Script

#!/bin/sh
username="user@myisp.com";
password="mypop3server-password";
MAX_MESS=$1
[ $# -eq 0 ] && exit 1 || :
sleep 2
echo USER $username
sleep 1
echo PASS $password
sleep 2
for (( j = 1 ; j <= $MAX_MESS; j++ ))
do
echo DELE $j
sleep 1
done
echo QUIT

Anwendung

./clean.pop3 2500 | telnet pop3.myisp.com 110

Tagged as: , , , No Comments
19Jan/101

jQuery: Hide all rows in a table which are not in class…

$('#detail_table tr').filter(function (index) {
return $(this).attr('class') != 'parent';
}).hide();

Tagged as: , 1 Comment
7Jan/100

Howto deliver all messages left in your mailq.

Just type in

sendmail -q

and all your messages left in the mailq will be delivered!

Tagged as: , , No Comments