robsite

Die perfekte E-Mail Regex

/^([w!#$%&'*+-/=?^`{|}~]+.)*[w!#$%&'*+-/=?^`{|}~]+@((((([a-z0-9]{1}[a-z0-9-]{0,62}[a-z0-9]{1})|[a-z]).)+[a-z]{2,6})|(d{1,3}.){3}d{1,3}(:d{1,5})?)$/i


Oder einfach /^.+@.+..+$/i und Pech für den, der was falsches eingibt.

· programming ·

Republicans' new website not exactly what they hoped it would be

Lest you think Republicans are just discovering the Internet, Rep. Cathy McMorris Rodgers (Wash.) let it be known that "House Republicans have tweeted five times as many as the House Democrats. Leader Boehner has almost five times as many Facebook fans as Speaker Pelosi." Boehner grinned and gave a double thumbs-up.

Rep. Mike Pence (Ind.) contributed to the discussion by twice giving out the wrong address for the new site.

Gute Ideen:

The women of the GOP should post tasteful pictures of their feet if they want my vote.

Since there so many hungry people in the world i think we shuld make them to eat the other poor people wen they die of hunger. This way theere wouldn't be any more world hunger.

Somebody stole my bike even though I had a bike lock on it... Guess I should have spent the extra $7 for the deluxe one with the thicker chain. Dangit.

I would like to see a river of fire built between the US and Mexico. I would also like level 12 mages to guard the border just in case.

· :D, politik ·

FontSquirrel: Free fonts for graphic designers

Mit @font-face können Fonts eingebunden werden, die nicht auf dem Rechner des Benutzers liegen. Schöne Designs sind damit möglich, nur müssen die meisten Fonts teuer lizensiert werden, um sie auf der eigenen Website zu benutzen.

Fontsquirrel hat über 600 freie Fonts, die auch kommerziell genutzt werden können. Mehr:

FontSquirrel hat auch einen schicken @font-face generator, der einem die Fonts konvertiert und das passende CSS auswirft.

Edit: Google hat grad sein Font Directory vorgestellt. Viele freie Fonts, die mit der passenden API sehr leicht eingebunden werden können.

· css, font ·
Mastodon