How To Take A Small QRCode And Convert To Vector Path In Adobe Illustrator

Note as of 10/19/2012: In Adobe Illustrator CS6 the previous feature called “Live Trace” is now called “Image Trace.” To make modifications to the settings go to Window -> Image Trace and the panel will appear. After that you can go to Object -> Image Trace -> Make. Enjoy, and thanks for the comments!

In the past, I’ve received clients suggesting to place QRCodes on marketing print materials. Usually when I preview the file they sent it’s a very low resolution compressed image, which doesn’t play well in print. If you happen to be a Creative Suite owner, fear not, there is a simple trick to convert these small images to vector based paths. This will allow you to scale the QRCode regardless of DPI / size. We can get a vector path from a jpg, gif or png by using Adobe Illustrator’s Live Trace feature!

You will need to open up Adobe Illustrator and create a new file. Don’t worry about the document sizing. Either go File -> Place (to import the image to canvas) or copy/paste the image.

At this point goto Object -> Live Trace -> Tracing Options

I used the following settings to get an accurate path traced based on the QRCode image. I used the following settings:

Threshold: 1 (or 2)
Blur: 0 px
Path Fitting: 0 px
Minimum Area: 0 px
Corner Angle: 0

When you click Trace, the paths will be generated. Double check to make sure it looks accurate by using the Preview check box.

Once it’s done, click the object that was generated, go to Object -> Live Trace -> Expand and it will reveal the paths.

At this point you can either use the path object in Adobe Illustrator, or copy / paste this into Adobe Photoshop. Note: When pasting into Adobe Photoshop, Paste As Smart Object. It will retain it’s vector paths, allowing you to scale the object to whatever size / dpi.

Enjoy!

OCZ Vertex 2 60GB SATA II in ASUS UL80j

Today I’ve received the OCZSSD2-2VTXE60G Solid State Drive. I’ve purchase this SSD to install on my ASUS UL80j. My intent is to improve cold start times, wake up and overall power consumption. I would also like to potentially experiment with Google Chrome OS. For now my main OS of choice will be uBuntu 11.04, although I do have a Hackintosh install CD derping around.

Benchmarks

uBuntu 11.04 benchmarks with the OCZ Vertex 2 OCZSSD2-2VTXE60G 2.5″ 60GB SATA II MLC Internal Solid State Drive (SSD)

Update: Installed Windows 7 Ultimate 64-bit on this laptop and here are the ATTO benchmarks.

How To Setup LAMP on uBuntu 11.04 – Also, WordPress

In this article, we will work on setting up a LAMP environment for uBuntu 11.04. As an added bonus, I will setup WordPress 3.2 in the environment for you nerds. As you may notice in previous posts, I have a nice little lappy which allows me to dev on the run.

Installing LAMP onto uBuntu 11.04

First thing is first, we need to install tasksel then run it via terminal.

[code lang=”bash”]
sudo apt-get install tasksel
sudo tasksel[/code]

Select LAMP Server and proceed to install it!

While you are installing LAMP, you will be prompted to set a password for MySQL root.

First of all, /var/www/ directory is set for root user only. We want to allow our IDE’s, such as Netbeans or Vi/Vim/Nano have permissions to write to this directory. So let’s sudo su and chown /var/www/

[code lang=”bash”]
sudo su
chown yourusername:yourusername /var/www/
exit
[/code]

At this point, let’s test to see if LAMP is running.

[code lang=”bash”]sudo vi /var/www/index.php[/code]

Within index.php just enter phpinfo(); to check if the PHP core fires an output!

[code lang=”php”]<?php phpinfo(); ?>[/code]

Save index.php and exit.

When you visit http://localhost/index.php you should get an output. If you do not, you can try restarting apache2 with the following command:

[code lang=”bash”]sudo /etc/init.d/apache2 restart[/code]

Installing phpMyAdmin To Manage Your MySQL Databases on uBuntu 11.04

[code lang=”bash”]sudo apt-get install phpmyadmin[/code]

WordPress: World Famous 5 Minute Installation

Head over to WordPress.org and grab the latest version of WordPress. Extract the zip file to /var/www/wordpress

Visit http://localhost/phpmyadmin and create a database.

Under the Privileges tab, goto Add New User. Make sure under Global Privileges click Check All and hit Go.

Visit http://localhost/wordpress and setup your WordPress install! Bam! Your done!

Logo Concept: Code Sleep Shred

I figured that I’d publish this now. As you can tell, the blog is running the stock TwentyTen theme, which is great. I am not focusing on design right now, merely content! Below is the Code Sleep Shred logo content I brewed up in my mind.

This design is intended for t-shirts, which will eventually segway to buttons / stickers. Although, the swag would only be for personal promotion, I hope a few readers will indulge.

The Concept

Code, Sleep, Shred defines who I am. By day I code away at WordPress projects. By night I am tinkering with the latest distro’s on my servers or locally on uBuntu. Next thing you know, I’m shredding epic powder at local mountains. Note: the wildcard at the end of ./shred* – not only does shred represent my passionate obsession for snowboarding, it’s also an analogy for other types of shredding; shred on my skateboard, shred tires, shred papers, shred babies, etc.

The goal of CodeSleepShred.com is to present who I am. Regardless of my interests or who the reader is and why they ended up on my blog. If they find it resourceful under the #nerdcore categories, great! Although one might enjoy my personal interests.

Thank you for your time, and I hope you discover useful information from this blog.

Will The Next Macbook Air Have The Intel Ivy Bridge Processor?

With Intel’s latest announcement of 22nm 3-D transistors, the Ivy Bridge processor has been the talk of the blogosphere. In late 2010, the latest generation of Macbook Air released but never received an i-series chip. This June, what will be announced at Apple World Wide Developers Conference? We can speculate the new iPhone 5, or more realistically the iPhone 4G. Will Apple announce the next generation Macbook Air which utilizes an i-series chip? 32nm, 28nm, or 22nm technology? Will it be Sandy Bridge or Ivy Bridge?

One thing is for sure, I’ve been eyeballing this laptop for the past month. I think I will wait until June for any big announcement. I’d love to have the opportunity to load uBuntu 11.04 onto it for testing purposes. I’ll be camping at the local Mac store to get a hold of it!

Dubstep Zelda: Lost Woods

TGIF! After a long week I stumped upon this awesome track on /r/gaming

You can grab the FLAC for $2 CAD, not bad I’d throw this guy a bone: http://ephixa.com/album/zelda-step

Facebook: http://www.facebook.com/ephixamusic
Twitter: http://www.twitter.com/ephixa
Soundcloud: http://www.soundcloud.com/ephixa
Youtube: http://www.youtube.com/djephixa

With that being said, also enjoy a poptart!