Sunday, July 25, 2010

A Regular Expression to Check if a Number is Prime

/^1?$|^(11+?)\1+$/

usage:
perl -wle 'print "Prime" if (1 x shift) !~ /^1?$|^(11+?)\1+$/' [number]

more

Sunday, July 11, 2010

EyeMobile

EyeMobile.  Get it?
more info: http://www.kohls.com/kohlsStore/beauty/cosmetics/sets/PRD~560599/The+Color+Institute+Eyemobile+Eyeshadow+Compact.jsp

Thursday, July 1, 2010

Solar System Necklace by Laura Cesari

In this 19-inch version, distances between planets are proportionally accurate, with each bead representing approximately 20 million miles of Space. Credit: Laura Cesari

http://planetary.org/blog/article/00002565/

Last posts