Archive for August, 2007

Weather Wallpaper rpm for Fedora 7

It’s not often I blog twice in a day, but after seeing this post I just had to see if I could build a rpm for fedora 7.

I’ve updated my repo for fedora 7, so.. yum install weather-wallpaper should do the trick :cool:

Edit: Hidden yum transation behind more tag.

Start.fedoraproject.org

A fedora start page is being tested… the original mine looks a little different tho, nothing a quick css update wouldn’t fix :)

754

Man arrested for stealing wifi broadband

This is interesting….

ITN - Man arrested for stealing broadband

A man who was spotted in the street using his laptop to access an unsecured wireless connection has been arrested.

The 39-year-old man was seen sitting on a wall outside a home in Chiswick, west London, by two community support officers.
Dishonestly obtaining free internet access is an offence under the Communications Act 2003 and a potential breach of the Computer Misuse Act

When questioned he admitted using the owner’s unsecured wireless internet connection without permission and was arrested on suspicion of stealing a wireless broadband connection.

PHP - Simple Validate E-Mail function.

I found this by accident, but thought it was useful to take a note as my regular expression knowledge is basic to say the least…


function ValidateEmail($e,$v=-1) {
global $verbose;
/*
Return codes:
0: appears to be a valid email
1: didn't match pattern of a valid email
*/
if ($v==-1) { $v=$verbose; }
if (!preg_match("/^[a-z0-9.+-_]+@([a-z0-9-]+(.[a-z0-9-]+)+)$/i”, $e, $grab)) {
return 1;
}
return 0;
}

Usage is simple….


if(!(empty($_POST['email']))){
$email = ValidateEmail($_POST['email'],$v=-1);
}
// check E-Mail Syntax
if ($email == 1) {
echo “Incorrect Email Address Submitted.
“;
}

Thanks Shane Marriott :)

links for 2007-08-13

gnome-password-generator is in fedora…

I saw this on planet fedora and thought I’d post it,

GNOME Password Generator is now back as a Fedora package.

Reference: Debarshi’s den - gnome-password-generator@fedoraproject.org

It’ll be nice to have an alternative to this perfect password generator as we’re not always online are we ;)