Jul 272010
 

Nach einer Neuinstallation von Java startete Jameica auf einmal nicht mehr. Zum Glück brachte eine Google-Recherche schnell die Lösung:

http://www.onlinebanking-forum.de/phpBB2/viewtopic.php?t=8953&highlight=vista+64bit

weist einen an, die Datei "jameica.bat" zu editieren, um den Java Pfad richtig einzustellen. Tipp: die Datei in einen neuen Ordner auf einer nicht-Systempartition kopieren, damit sie editierbar wird, anschließend wieder zurückkopieren.

Bei mir funktioniert es mit folgendem Inhalt der Datei:

@ECHO OFF

REM Windows Start-Script fuer regulaeren Standalone-Betrieb.
REM Jameica wird hierbei mit GUI gestartet.

REM start javaw.exe -Xmx256m -jar jameica-win32.jar %1 %2 %3 %4 %5 %6 %7
start C:\"Program Files (x86)"\Java\jre6\bin\javaw.exe -Xmx128m -Djava.library.path=lib/swt/win32 -jar jameica-win32.jar %1 %2 %3 %4 %5 %6 %7

REM steht dabei für Remark, d.h. die betreffende Zeile ist auskommentiert. Es ist, gemäß dem Forum, wichtig nur den Pfadteil der Leerzeichen drin hat, in Anführungszeichen zu setzen.

BTW: bei der Postbank muss man mit nicht-ausgeführten Aufträgen aufpassen: Jameica versucht sie beim Synchronisieren durchzuführen, scheitert (bspw. am Kreditrahmen), und das TAN-Verfahren wird dann gesperrt. Man muss sich wieder Online bei der Postbank Webseite anmelden und das Verfahren erneut freischalten – also lieber vor dem Synchronisieren die "Aufgaben von gestern" löschen (nicht ausgeführte Überweisungen usw…)

 Posted by at 9:46 pm
Jul 252010
 

Migrating a live OpenVZ server's nodes to another OpenVZ server:

Create a way for the origin host to speak to the target via SSH without asking for a passwort:

http://www.puddingonline.com/~dave/publications/SSH-with-Keys-HOWTO/document/html/SSH-with-Keys-HOWTO-4.html

(Hint: leave the passphrase empty, using ssh-keygen without any parameters will create a Protocol version 2 – key id_rsa.pub)

Then use this website to migrate

http://wiki.openvz.org/Migration_from_one_HN_to_another

vzmigrate -r no -v 10.1.5.6 101

-r no = do not remove the area from source
-v = verbose
10.1.5.6 = the target IP
101 = the VE ID

It is even better to include the –keep-dst switch

–keep-dst = do not clear the private area on the target server after resync. I've looked at the source – as it uses rsync to do the job it's safe to provide this switch (it will reexamine your files and update them if necessary).

Also I ran into a strange problem with Quotas being off – it would create the conf Files, sync the private area, and then delete the conf files again. Just copy them manually to the target & you'll be fine. (Also you could cp them while it is syncing the private area and mv them back later.)

 Posted by at 8:53 pm
Jul 192010
 
  • 524 Milliarden € hat Deutschland an Steuern in 2009 eingenommen
  • 1700 Milliarden € ist die offizielle Staatsverschuldung. 2011 sollen weitere 57,5 Milliarden € neue Schulden aufgenommen werden.
 Posted by at 11:41 am
Jul 152010
 

Antwort per E-Mail
Good day, my friend, my name is Peter Wong
living in Hong Kong. I seek your assistance in a business combination
Transaction / investment of the sum of the 44.5MUSD.
I'll explain in my next e-mail, if I
Get your answer. You receive 50% of the
Total, after we stop this business.
I translated this e-mail to you in German because I only speak and write me back on english.Please reach my personal address
(deleted) Thank you.
Yours sincerely,
Mr Peter Wong

But did he really translate it? Time to reactivate greylisting …

 Posted by at 1:09 pm
Jul 072010
 

http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/

Actually I've already got a post about this and other techniques (in German).

Pre-Compressing files

If your files get really big, and never change, it's time to add a new technique to your toolbelt: the pre-compression!

Use 7-zip to GZIP your files in ultimate mode, drop them on your server. Add some .htaccess and PHP magic, like so:

<?PHP
header('Content-Encoding: gzip');
$req = $_SERVER['REQUEST_URI'];
$req_a = explode('/',$req);
readfile($req_a[2] . '.gz');
?>

(assuming your files will be reachable by /xyz/file and are stored with .gz as extension)

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /104/

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d

RewriteRule ^(.*)$ index.php [L]
</IfModule>

Modify your RewriteBase accordingly!

This will work wonders for huge files with repetetive content – no more processing overhead server-side, all files delivered faster, happy customers … don't forget to write about your ideas and experiences with this!

 Posted by at 7:07 pm
Jul 062010
 

For a joke I renamed a jpg to an exe, and sent it to a friend.

As a result of trying to execute it myself, my system is running havoc – USB devices are not recognised, system services do not start – I can't even start recovery!

Well, I'm not entirely sure what to "blame" exactly – perhaps it's also been Adobe Flash 10.

 Posted by at 7:47 pm
Jul 062010
 

… from me "SELF"

 

Images

Movies

 Posted by at 7:10 pm
Jul 062010
 

One of the things I've been experiencing myself … money is not a good motivator for excellent results!

If you want to build a ship, don't drum up the men to gather wood, divide the work and give orders. Instead, teach them to yearn for the vast and endless sea.
– Antoine de Saint Exupéry

I found the video and the quote on CodingHorror. Thanks, guys!

This is the other video:

 Posted by at 4:41 pm