papervision3D
code :: real 3D in flash
so i finally got a copy of adobe cs3 and flex builder2. flex is amazing, combining mxml and actionscript 3 together into a seamless package. now that im on the as3 tip, i decided to dive into papervision3D. pv3d is a set of actionscript classes that are used to create 3D objects within the flash environment. it's currently in beta and the source code is only available to osflash emailing list members. so if you want it signup here. thanx to carlos for creating pv3d, and to his girlfriend for convincing him to release the project open source!
wiimote 3d model
uncategorized :: for 3DSM
i just found this zip on wiinintendo.net. someone made a flawless wiimote in 3D studio max. i can see a use for this in future projects...
wii flash integration
code :: using the wiimote with as3
as i have been checking out the new features of actionscript 3 and flex, i stumbled upon fwiidom.org. this site is run by joa ebert + thibault imbert, and their mission is full flash wiimote integration.
currently wiiflash supports multiple wiimotes and nunchuks, the classic controller, as well as pc sensor bars. all you need is a bluetooth enabled pc (or adaptor) and a wiimote.
the newest version is available from wiiflash or googlecode or you could get on the mailing list
art floria
random :: african violets
what a beautiful summer it has been so far. my mom has been able to grow foreign flowers that she could have never dreamed about this year. a prime example were these gorgeous african violets. they bud as little pink balls, then they slowly open up into amazing little purple flowers.
fontvir.us
art :: my new type foundry
the time is has finally come. my new font site is online. i have meticulously updated all my older fonts, and reinvented my type foundry. i currently have 21 fonts for download. type|size=0 is dead. long live the fontvir.us!
Read: fontvir.us »
pure php email validation
code :: using regular expressions
<?php $email = 'someone@somewhere.com'; if (!eregi("^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,3})$", $email)) { //invalid email } else { //valid email } ?>
SQL get last ID
code :: mssql and mysql
here's a simple SQL script that returns the last row created. this is great for when you add a new record that has an autogenerated id and you need that number.
mssql
CREATE PROCEDURE [dbo].[getLastLogin] AS SELECT TOP 1 * FROM dbo.login ORDER BY id DESC GO
mysql
SELECT * FROM `login` ORDER BY `id` DESC LIMIT 1,1;