JC Web Concepts

Adobe Creative Cloud

Well this past week Adobe has launched their new cloud service called, Adobe Creative Cloud . As of launch they are charging a monthly fee of $49.99 and I believe it is going to be well worth it. I will gladly pay that amount to get all of the Adobe products for both Windows and Mac. So lets say you wanted to buy a master collection copy of Adobe for both OS’es, you would be paying 2599.99 per OS. Yep that would cost you $5199.98 and that is for the current version. When a new version comes out you can pay and upgrade rate but still pay.

So with doing some simple math here, 5199.98/49.99=104. That would be almost 9 years to get what I would have paid for one version. I think I will gladly take that. I will let you guys decide but right now I think that is pretty much a steal. Thoughts?

Octopress and Lion

I just bought a few weeks ago a new MacBook Pro and I love it. So now it was time to setup my computer to use rvm and Octopress. So I logged into the Mac App store and downloaded the newest version of Xcode and installed it. I then went to the Octopress webstite and followed the directions on setting up RVM.

I ran into several errors about make and gcc-4.2. So after searching around the internet I found some help. It appears that after version 4.1, Ruby and xcode do not play nice. So I downgraded my version of Xcode and had to install a patch for gcc . Lastly you will want to add the following to your bash_profile or your zshrc:

/usr/bin/gcc-4.2

Now, just restart your terminal app and then go ahead and follow the Octopress site to finish setting it up.

Using Git for SVN

So I have switched from SVN to Git and I am very happy about it. When I am at work I am stuck using SVN and I hate it. So I learned about a command that git has called git svn. It allows me to clone an SVN repo and locally use Git for it. I can make my commits and keep things versioned via Git. When I am done I can then commit it to the SVN repo and nobody would know I used Git instead of SVN. What is nice is it will commit all the changes, not just one massive one. I have yet to run into and issue but that’s ok if I do. So if you are a Git user stuck in an SVN world, then this is the way to save yourself. Let me show you an example of how to use this.

git svn clone "urlToSVNrepository"
git svn clone "http://svn.google.com/sampleTest"

git svn clone "urlToSVNrepository" -T trunk -b branches -t tags

git svn clone "http://svn.google.com/sampleTest" -T trunk -b branches -t tags

So now you have your svn project using git, which is nice. What also is nice is your project no longer has a bunch of .svn folders like you see in SVN land. That should be one of many things that will make you want to do this. I will make tutorial video on this soon so stay tuned if you are interested.

Switching to Octopress

I have decided to leave the world of WordPress, for the world of Octopress . I will have some tutorials on this blogging framework but there are some reasons I made this change. I think the biggest reason I changes was Octopress does not use a database. To me that is just a great performance boost. The application comes with some nice plugins like twitter, Github, and Google+.

Using one command like rake deploy, and it automatically pushes the compiled static content to my web server with 1and1 via rsync. I no longer have to login to an admin panel and use a bloated tool like WordPress has. I can open vim or TextMate and start writing my post using Markdown. So go try it out. I think you guys and gals will love it.

Spotlight for Windows and Linux

One of the nice features in MacOSX is the use of Spotlight. I hardly use icons anymore and just hit command+space and type what I need. While I am in Gentoo or Windows XP, I sorely miss this functionality. Well today I started to look and found a nice tool called Launchy .

This tool supports skinning and plugins to enhance the already nice tool. What is nice is by default I can do math in it like I can do in spotlight. When I want to call the tool I hit alt+space and it comes up. I will continue to play with this tool but so far I love it.

Passing of Steve Jobs

As many bloggers have already done, we have lost someone this past week that was dear to a lot of Mac fanboys. He will be missed but I am sure he was working on his successor for a long time. I wonder how many people added to their Netflix queue, “Pirates of Silicon Valley”? As I am sure everything in that movie had some things that did not happen, Steve gained my respect. So good luck Steve to where ever the road takes you. Good bye.

Setting Up Blogofile

Blogofile is a simple blogging engine that brings something nice without the use of a database. I have been testing this out and I am starting to like this. I have even been thinking of replacing it with this. I am really enjoying this framework. Go ahead and watch this video below. After the video I will post the step by step instructions just in case you do not want to watch how to do it.

Dual Boot MacBook 5,2 and Gentoo

One thing that I have always wanted to do was dual boot my Mac computer so I could run Linux on real hardware instead of emulation. This tutorial is going to show you how to accomplish this. A thing to note is you can do this with any Linux distro. Also the Mac that was used in this tutorial was a 13 inch White MacBook 5,2 version.


Things needed for this process:

  • Boot manager: rEFIt
  • Gentoo minimal ISO: Gentoo x86
  • USB Keyboard and Mouse
  • Wired Internet Connection

Partition HD

Mac already installed

  • Open boot camp assistant
  • Set the partition size to the size you want
  • When this is done go ahead and click quite and install later
  • At this point you are done with partitioning your drive

Mac not installed

  • Turn on your Mac and hold the option key down until the selector comes up
  • Insert your Mac CD in and wait for it to show. Click on it
  • When the CD is loaded you will want to open disk utilities in the menu  up top
  • Click on your hard drive and then on the right click the partition tab
  • Under volume scheme you want to select two partitions
  • !!!!! Need to work on it ending of this part

You are down with the drive partition now. We now need to move into the boot loader tool that is going to help us along the way

rEFIt

  • Now go ahead and install the rEFIT application
  • Note: There is nothing fancy with this install
  • Now reboot to verify that the boot loader app comes up. If it does not try rebooting again

You are now done with the boot loader and we are now ready to install Gentoo

After downloading and burning the ISO file to a disc you are ready, you are ready to start. Plug in your USB keyboard for now, insert the gentoo disc you burnt and restart. Remember to hold option key down so you get the option to boot to your CD. Now I am not going to go thru all the steps to install because this is well documented on Gentoo’s website. This can be found here!

So lets highlight the sections that you need to make some adjustments since you are not doing a typical dual boot on a regular PC

Boot parameters

When you get to the book parameters, you will want to type the following: [bash]gentoo maxcpus=1 vga=791[/bash]

Partition table

Here is the partition setup I have and you are welcome to follow it. Now yours might be different but should be close. If you are a cfdisk fan like I you will need to open your sda parition in fdisk, to delete the partition created by apple. Also do not worry about the warnings about unsupported GPT table. Its ok, so here is what my partitions looks like after I am done setting up the partitions that the guide tells us too

  • sda1 – GPT
  • sda2 – Mac HFS/HFS+
  • sda3 – Linux root
  • sda4 – Linux swap

fter you are done with this you will want to type the following: modprobe hid-apple This is done so your drivers get loaded for the apple keyboard. At this point you can remove the USB keyboard. When downloading the stage3, make sure you download the i686 one Now I do not use the genkernel. If you follow the install guide you use ext2 for the boot partition. So for some reason the kernel does not have this enabled so that is the only thing at this time I enable, beyond what is already enabled. After you exit you will want to back up the .config file. I like to do this so I can keep my kernel config files backed up. When you are setting up your grub or lilo, you want to make sure on the kernel line that you add the following: [bash] maxcpus=1 [/bash]

After Gentoo install

After you are done installing and you reboot you will want to leave your reboot until you get to the rEFIt menu. It does take a little bit to get to it so do not be too concerned. When you get there select the partitioning tool. You will get an error but that is ok. Hit any key and shut off your Mac. Now turn it back on and when you hear the ding hold the option key. Select the hard drive that says Windows. you should boot into Gentoo. If so then clap your hands. Log in as root and restart your computer. Try going into your Mac OS. If you can then you can go to rEFIt site and get the uninstall directions. Congratulations, you have just installed and got Gentoo somewhat working on your MacBook.