Regex (regular expression) password check with Java

Submitted by rex on Wed, 04/29/2009 - 18:13

Our String is
aaaaaZZaa44

and with the regular
((?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{6,})

we check if our password contains at least one digit, one upper and lower case.
we also check the length of the password, if its greater than 6.

import java.util.regex.*;
public class RegexPwdCheck {


	public static void main(String[] args) {

		String passwd = "aaaaaZZaa44"; 
		String pattern = "((?=.*\\d)(?=.*[a-z])(?=.*[A-Z]).{6,})";
		System.out.println(passwd.matches(pattern));

	}
}

Best CMS and Web 2.0 Software in PHP-MySQL

Im not an expert but just collect best of web, while surfing & exploring.

CMS & Blog

drupal
www.drupal.org

joomla
www.joomla.com

ezpublish
www.ez.no

typo3
www.typo3.org

wordpress
www.wordpress.com

Shopping-Systems & Cart

OsCommerce
www.oscommerce.com

XTC
www.xt-commerce.com

Meganto
www.meganto.com

Drupal + Ubercart

Joomla + Virtuemart

Forum & Board-Systems

phpbb
www.phpbb.com

simplemachines
www.simplemachines.org

phorum
www.phorum.org

Apache Error: make_sock: could not bind to

I have installed Apache 2.2.4, PHP5 and Mysql5 for long time ago. Everything was perfect working but today when I try to start webserver it gives following error:

...
make_sock: could not bind to
 address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Note the errors or messages above, and press the  key to exit.  27...

Any idea why it happens and how to fix it? Is there a way to update Apache without new installation. Because ok settings like httpd.conf etc.

Strange results from Pagerank and Alexa while comparing top-forums

Submitted by n8coder on Mon, 04/27/2009 - 01:55

Domain: Phpbb.com
Pagerank: 5
Alexa: 5.837

Domain: Simplemachines.org
Pagerank: 8
Alexa: 6.697

Domain: Phorum.org
Pagerank: 6
Alexa: 73.008

I was searching for the best free forum-system. After reading some artciles on BBs, wanted to compare the best 3 system. The result confused me very much and I can not still decide. How comes that the best one on Alexa has the worst PageRank on Google?