Britain drops nuclear bomb. Fortunately it doesn’t go off!!!

September 3rd, 2007 by admin | Permalink

In the mid of the 80′s the british nearly dropped a nuclear bomb in the middle of Europe in Germany.
Not just a regulare bomb that kills maybe the ten people in a close area. NO, a nuclear BOMB!

BOOOOOOOMM! And that’s it. Europe just blown away. WHAT THE F*CK!

And here ist the hole article on times online, otherwise you think i tell crap.

How to redirect phpList to custom subscribe and unsubscribe pages. A phpList hack!

August 29th, 2007 by admin | Permalink

In some cases it is necessary to redirect request from your phpList installation to a website in your cms.
PHPList does provide custom pages, but sometimes it is easier to redirect request to your cms, because in a cms for example, you already have your template and all your informations. You don’t have to write the html code again, you just create a new article and your done. So for all that were looking for an easy way, there is none!

You have to edit php code! Let’s start.

First of all, the confirmation page:

Open the file /lists/index.php at line: 531 (remove the dots in the html tags)

$res = '';
$res .= $data["header"];
$res .= '<.h1>'.$info.'<./h1>';
$res .= $html;
$res .= "<.P>".$GLOBALS["PoweredBy"].'';
$res .= $data["footer"];
return $res;


Modify it by adding the following:

$res = '';
/*$res .= $data["header"];
$res .= '<.h1>'.$info.'<./h1>';
$res .= $html;
$res .= "<.P>".$GLOBALS["PoweredBy"].'<./p>';
$res .= $data["footer"];
*/
$res = header("Location: http://www.spamcollect.com/confirmation_page");
return $res;

Next step is the unsubscription page.
Goto line: 589
There you see the following:


if ($userid) {
$res .= '<.h1>...'.$GLOBALS["strUnsubscribeDone"] ."<./h1><.P>";
$res .= $GLOBALS["PoweredBy"].'<./p>';
$res .= $pagedata["footer"];
return $res;
}


Change it to:


if ($userid)
/*$res .= '<.h1>...'.$GLOBALS["strUnsubscribeDone"] ."<./h1><.P>";
$res .= $GLOBALS["PoweredBy"].'<./p>';
$res .= $pagedata["footer"];*/
$res = header("Location: http://www.spamcollect.com/unsubscribe_confirm");
return $res;

The last one is the subscribe page. To change that, you’ll have to open the file lists/admin/subscribelib2.php.
Goto line: 288


if ($subscribepagedata["thankyoupage"]) {
$thankyoupage = $subscribepagedata["thankyoupage"];
} else {
$thankyoupage = '<.h3>'.$strThanks.'<./h3>'. $strEmailConfirmation;
}


Modify it so it looks like:

if ($subscribepagedata["thankyoupage"]) {
//$thankyoupage = $subscribepagedata["thankyoupage"];
header('Location: http://www.spamcollect.com/subscription_successful');
} else {
//$thankyoupage = '<.h3>'.$strThanks.'<./h3>'. $strEmailConfirmation;
header("Location: http://www.spamcollect.com/subscription_successful");
}


Now you’re done and your users won’t see any pages from phplist.

UPDATE: http://www.spamcollect.com/archives/75

I got Joost and I’m still waiting for the revolution on my screen.

August 23rd, 2007 by admin | Permalink

Hey,

Joost picked me to be an beta tester. I’m ready for the revolution… let’s get it started.

After installing the beast, I have a nice gui to select tv stations. There is a racing channel, a football channel, several music channels and a lot more. Oh… I forgot, there is this “show-I-have-ever-waited-for”-Channel WEDDING CHANNEL. Yes, a wedding channel. What the f***.
After selecting a channel, you can select a show you would like to see. I didn’t find anything that is kind of actual. The music channels show only old stuff half-a-year and older, the football channel only show south-american games and the wedding channel… NO COMMENT.

Okay here is the summary, I got a big software package, a tool that let me watch tv shows that not interest me and I’m still waiting for a revolution that where promised to me.

A lot of hype about something that isn’t something new.

First I thought, cool thing, now I’m waiting for the promised revolution.

Is web 2.0 similar to beta? Does that mean web 1.0 is alpha?

August 22nd, 2007 by admin | Permalink

On all these web 2.0 sites like squidoo.com, fon.com, etsy.com, writely, frappr.com you name it there is always this little beta beside the logo.
I’m kind of confused. Does that mean web 2.0 is similar to beta? Is web 1.0 or www similiar to alpha?
What’s the next step? Gamma?

For me beta was always something… I don’t like to say bad, but in fact that means the software isn’t ready, save or whatever.

Or is it more like this in these web 2.0 applications:

Alpha = I have an idea and nothing done yet
Beta = I have an application and I have someone who gives me money
Gamma = I’m one year old now and hey the dotcom bubble didn’t kick me out of business.

I’m confused!
I think I’m DELTA

avoid duplicate content

August 16th, 2007 by admin | Permalink

in the last weeks i started to read a lot of seo stuff.
one main thing i learned was to avoid duplicate content.
normally if you have a domain registered at an isp, your website is reachable under www.domain.tld and domain.tld. for google, msn, yahoo and so on, this means there are two sites with the same content. that could affect that your website is getting a bad rank in the searchengine. there is an easy way the remove that.

edit your .htaccess and add the following:

RewriteCond %{HTTP_HOST} !^www\.yourdomain\.tld$ [NC]
RewriteRule ^(.*)$ http://www.yourdomain.tld/$1 [R=301,L]

in some cases you’ll have to add this on the top:

RewriteEngine On

compile error on qmail and other djb products like ucspi-tcp, daemontools, djbdns, tinydns

August 1st, 2007 by admin | Permalink

since the new gcc version is out, djb software has its problems with compiling. also netqmail has problems.
something with errno … bla…bla…bla…

there is a simple fix for that.
just go to the sourcecode and find the file conf-cc.
edit it and add the following code :
cc -O2 -include /usr/include/errno.h

now it should work.

UPDATE: little performance tuning for qmail + vpopmail

July 19th, 2007 by admin | Permalink

after looking around, i found this entry in life with qmail. after changing all things descriped there, my qmail is running and running and breaking records. :-)

in addition to that, you should look here at tcpserver config

Kernel panic – /dev/console

July 13th, 2007 by admin | Permalink

After a reboot of one of my systems I got the following error:

pivot_root: No such file or directory
/sbin/init: 426:cannot open /dev/console: No such file
Kernel panic - not syncing: Attempted to kill init!

After an upgrade of the kernel via apt-get on debian, the menu.lst entry in grub for the new kernel is pointed to /dev/hda1 by default. If the kernel is on a different partition this error will appear.

Black Google Would Save 750 Megawatt-hours a Year

May 24th, 2007 by admin | Permalink

i found this blog entry written by Mark Ontkush in january 2007.

seems like my website saves energy!!!

Error: ORA-00972: identifier is too long in jetty with grails

May 18th, 2007 by admin | Permalink

i got this error in my jetty logfile:

ORA-00972: identifier is too long

seems like oracle is not supporting row names longer than 30 characters.