1. Work with PHP5 locally on your Mac

    August 12, 2009 by J.P.

    phpimage

    Here are few quick steps to turn on PHP5 on your mac. This an easy modification allowing you to work with in your WebServer folder.

    Note: To use this method 10.5+ is required.

    • With your favorite text editor (I recommend Textmate) open Macintosh HD/private/etc/apache2/httpd.conf. You must allow hidden files to be seem to view and open.
    • Once the httpd.conf file has been opened go to line #114 and edit the following #LoadModule php5_module      libexec/apache2/libphp5.so remove the “#” sign and save the file. You will be prompted to enter root password.
    • With Terminal open, type the following series of commands, each followed by Return:
      cd /private/etc
      sudo cp php.ini.default php.ini
    • Now open the file with your text editor.
    • Go to line #305 and change “error_reporting = E_ALL & ~E_NOTICE” to error_reporting = “E_ALL” and save the file and enter your root password.
    • Open your System Preferences click on Sharing and then turn on Web sharing.

    After the above steps have been completed PHP5 will be working with in your WebServer folder located in “Macintosh HD/Library/WebServer/Documents”.

    To confirm everything has been configured correct create a php file with the following:

    • <?php phpinfo(); ?>
    • Save the file with the documents folder as info.php.
    • In a browser window go to: http://localhost/info.php and you will see your php settings.

  2. Asus 1005HA Hackintosh

    August 11, 2009 by J.P.

    IMG_00312

    Here are the steps to install 10.5.8 OSX iDeneb on an Asus 1005HA. This installation requires you to have another OSX machine and either a USB key 10gigs + (recommend 16gig) or an external DVD drive.

    Pre-installaton Downloads

    • iDeneb (for my installation I used 1.4 10.5.6 OSX). Recommend grabbing the latest here.(you must register to download from the site)
    • ACPIFix.pkg to get around an error that freezes the loading of OSX. Get it here.
    • iDeneb upgrades.
    • Kext files needed to get resolution and Quartz Extreme working, audio, battery, sleep and more working. Click here.
    • GernericCPUManagement app.
    • Kext Helper. This is built into iDeneb in the customize package.
    • Chameleon 2, should be in in the latest build of iDeneb or grab it here.
    • Spark, so you can have volume control + many more features. Grab it here.

    If you need help creating a bootable USB drive click here.

    Install iDeneb 1.4 on your machine

    (The below will assume you are booting from a USB drive)
    1. Boot to your USB drive by hitting ESC when bios loading screen comes up.
    2. Select you USB drive from the list.
    3. iDeneb should load Chameleon as this point.
    4. Once the install wizard comes up follow the steps that you would for any normal installation.
    5. Make sure you formatted the drive on the 1005ha. By default mine came in 4 separate partitions which I erased and reformatted into a single OSX (journaled).
    6. In the customize setting of the install select the following: ICHx Fixed, FireWire Remove, Video/Intel and check GMA950, Applications KextHelper, found in Applications/iDeneb/Kexthelp.app.

    After 10.5.6 iDeneb has been installed

    • After install hit esc and boot to the USB drive.
    • Once Chameleon loads hit F8 then type the following: “rd=disk0s1 -v -f” and hit return.
    • It will take a couple minutes but you should see OSX wizard for setting up your admin user account.
    • After filling out the wizard install the ACPIFix.pkg.
    • Once the package is installed restart the machine.
    • Do not hit esc this time and allow the internal HD to boot.
    • Once Chameleon loads hit “F8″ then type “-v -f”.
    • If all goes well at this point 10.5.6 should load with 800×600 screen res, which we will fix later.

    Update 10.5.7 with iDeneb pkg

    • Install the 10.5.7 upgrade from the pkg download.
    • Restart once the upgraded has been installed.

    Update 10.5.8 with iDeneb pkg

    • Install the 10.5.8 upgrade from the pkg download.
    • Restart once the upgraded has been installed.

    Installing the Kext for Audio, Display, Etc

    • Once 10.5.8 is successfully loaded install the kext files and packages list at the top of this post. Note all kext files must be installed using the Kext helper app or a smilar method, terminal command, or OSX86 Tools.
    • Recommend installing a few at a time and then restarting to determine where an issue could be happening if anything strange happens.
    • Install the GenericCPUPMControl.app and have it start at login and keep hidden (these setting are in login options). Also note that voodooPower.kext is required for this to work properly.

    Finishing touches

    • Get Spark.aap, it’s an app to get shortcut keys working, like for volume function keys Spark.app.
    • Install about this mac. Download.
    • Webcam is working. If you are having issues I recommend reinstalling some of the display kext since Quartz Extreme needs to be running.

    Features I haven’t tested

    Mic. Not sure if the mic is working or not.

    Once wifi is up and running I will update this section and post Skype configuration. The wifi card, Atheros AR9285 that comes with the 1005ha isn’t supported yet. From what I’ve read it might possibly be supported in 10.6 Snow Leopard. I’m still waiting on my card to get here from Hong Kong and plan on doing a followup post on how to take the 1005ha apart and replace the existing wifi card with a supported card. A separate post will be on this subject in 10-15 business days.

    Gesture support. I’m assuming that this will be supported by a kext at somepoint since its supported in windows.

    Please post any issues with your install below and I will do my best to answer.

    Special thanks the irc.mac.speak.net OSX86 chat room for everyone’s help and input.


  3. Asus 1005HA Hackintosh

    by J.P.

    IMG_00312

    Here are the steps to install 10.5.8 OSX iDeneb on an Asus 1005HA. This installation requires you to have another OSX machine and either a USB key 10gigs + (recommend 16gig) or an external DVD drive.

    Pre-installaton Downloads

    • iDeneb (for my installation I used 1.4 10.5.6 OSX). Recommend grabbing the latest here.(you must register to download from the site)
    • ACPIFix.pkg to get around an error that freezes the loading of OSX. Get it here.
    • iDeneb upgrades.
    • Kext files needed to get resolution and Quartz Extreme working, audio, battery, sleep and more working. Click here.
    • GernericCPUManagement app.
    • Kext Helper. This is built into iDeneb in the customize package.
    • Chameleon 2, should be in in the latest build of iDeneb or grab it here.
    • Spark, so you can have volume control + many more features. Grab it here.

    If you need help creating a bootable USB drive click here.

    Install iDeneb 1.4 on your machine

    (The below will assume you are booting from a USB drive)
    1. Boot to your USB drive by hitting ESC when bios loading screen comes up.
    2. Select you USB drive from the list.
    3. iDeneb should load Chameleon as this point.
    4. Once the install wizard comes up follow the steps that you would for any normal installation.
    5. Make sure you formatted the drive on the 1005ha. By default mine came in 4 separate partitions which I erased and reformatted into a single OSX (journaled).
    6. In the customize setting of the install select the following: ICHx Fixed, FireWire Remove, Video/Intel and check GMA950, Applications KextHelper, found in Applications/iDeneb/Kexthelp.app.

    After 10.5.6 iDeneb has been installed

    • After install hit esc and boot to the USB drive.
    • Once Chameleon loads hit F8 then type the following: “rd=disk0s1 -v -f” and hit return.
    • It will take a couple minutes but you should see OSX wizard for setting up your admin user account.
    • After filling out the wizard install the ACPIFix.pkg.
    • Once the package is installed restart the machine.
    • Do not hit esc this time and allow the internal HD to boot.
    • Once Chameleon loads hit “F8″ then type “-v -f”.
    • If all goes well at this point 10.5.6 should load with 800×600 screen res, which we will fix later.

    Update 10.5.7 with iDeneb pkg

    • Install the 10.5.7 upgrade from the pkg download.
    • Restart once the upgraded has been installed.

    Update 10.5.8 with iDeneb pkg

    • Install the 10.5.8 upgrade from the pkg download.
    • Restart once the upgraded has been installed.

    Installing the Kext for Audio, Display, Etc

    • Once 10.5.8 is successfully loaded install the kext files and packages list at the top of this post. Note all kext files must be installed using the Kext helper app or a smilar method, terminal command, or OSX86 Tools.
    • Recommend installing a few at a time and then restarting to determine where an issue could be happening if anything strange happens.
    • Install the GenericCPUPMControl.app and have it start at login and keep hidden (these setting are in login options). Also note that voodooPower.kext is required for this to work properly.

    Finishing touches

    • Get Spark.aap, it’s an app to get shortcut keys working, like for volume function keys Spark.app.
    • Install about this mac. Download.
    • Webcam is working. If you are having issues I recommend reinstalling some of the display kext since Quartz Extreme needs to be running.

    Features I haven’t tested

    Mic. Not sure if the mic is working or not.

    Once wifi is up and running I will update this section and post Skype configuration. The wifi card, Atheros AR9285 that comes with the 1005ha isn’t supported yet. From what I’ve read it might possibly be supported in 10.6 Snow Leopard. I’m still waiting on my card to get here from Hong Kong and plan on doing a followup post on how to take the 1005ha apart and replace the existing wifi card with a supported card. A separate post will be on this subject in 10-15 business days.

    Gesture support. I’m assuming that this will be supported by a kext at somepoint since its supported in windows.

    Please post any issues with your install below and I will do my best to answer.

    Special thanks the irc.mac.speak.net OSX86 chat room for everyone’s help and input.


  4. How to Create a Bootable OSX USB Key

    August 7, 2009 by J.P.

    vintage-color

    I recently purchased the Asus eee pc 1005HA and needed to install OSX (actually on this machine I chose the iDeneb method). While working on a tight budget for this project I didn’t want to drop an extra $70 or so dollars for an external dvd drive. Instead I opted for a 16gig key drive that ended up costing around $30 and will definitely be put to use way more the a dvd drive.

    Below are the instructions on how to get OSX on the key and have it bootable for installation. I’ll walk through the OSX method and the OSX86* method for you Hackintosh fiends.

    OSX 10.6 method for bootable USB key install

    1. Insert your retail DVD into drive.
    2. Plug in usb key. I recommend getting at least a 16gig drive so you don’t run into capacity issues.
    3. Open Disk Utitlity. Locatied in Applocations/Utitilties/DiskUtitily.app
    4. Partition the USB drive and select GUID in the options so it will be bootable on a Mac.
    5. Select restore and drag the image of the DVD on the left into the input path.
    6. Drag the USB drive into the destination drive.
    7. Click the restore button.
    8. Sit back and relax cause you will be waiting for about 20-30 mins for the key to be formatted properly.

    This method will also work on 10.5.

    OSX86 Method (Tested with iDeneb ISO)

    1. Insert your retail DVD into drive.
    2. Plug in usb key. I recommend getting at least a 16gig drive so you don’t run into capacity issues.
    3. Open Disk Utitlity. Locatied in Applocations/Utitilties/DiskUtitily.app
    4. Partition the USB drive and select MRB in the options so it will be bootable on a Mac.
    5. Select restore and drag the image of the DVD on the left into the input path.
    6. Drag the USB drive into the destination drive
    7. Click the restore button
    8. Waiting for about 20-30 mins for the key to be formatted properly
    9. Once the USB drive have been formated you need to make it bootable with Darwin.
    10. Download OSX86 Tool Here.*
    11. Run OSx86 Tools, click install EFI/Run FDISK, choose to install PC EFI 8 on your USB Drive.

    Note*: Some OSX86 users may encounter errors using OSX86 Tool. For my Asus eee pc 1005ha I had to use PC EFI v9, which worked fine. You can grab it here.


  5. Use Textmate to Compose email with OSX Mail

    July 27, 2009 by J.P.

    mailtextmate

    Recently I started using Textmate for more things then just coding websites since thats bascially the tip of the iceburg then it comes to the most powerful editor on the mac.

    If you interested in trying something new with Textmate here are basic instructions to use texmate to compose messages with OSX mail.

    1. Make sure you have installed the “Edit in Textmate” Bundle. This is found in “Bundles>Textmate>Install Edit in Textmate bundle.
    2. Once the bundle has been installed you will be able to edit your email message in text by hitting the following short cut keys “Control + Command +E” or optionally going to the edit menu in Mail and the very last option will be “Edit in Textmate”.
    3. Once you the command has been keyed a blank Textmate text file will be opened.
    4. Type your email message and then save. If your done editing the email you can close the Textmate window and you will see your message in message window of the Mail app.

    Other Mail features you can with Mail

    • Increase quote level “> or shift+.”

  6. HTML 5 Wordpress Theme (Naked)

    July 17, 2009 by J.P.

    naked

    Here is an updated version of the Naked Wordpress theme to support HTML5.

    Wordpress Naked has been put together by us as a simple Wordpress theme to assist developers that need to quickly implement a blog using Wordpress but don’t really have the time to spend looking under the hood in any detail or reading documentation when it comes to applying a custom theme (e.g. their clients’ design).

    Find out more about the original theme.

    Download HTML5 Theme


  7. HTML 5 Bundle For Textmate

    July 16, 2009 by J.P.

    html5_bundle_icon1

    Here is a download to the HTML 5 Bundle I have started for Textmate. This is my first attempt at creating a bundle from scratch please provide feedback and requests and I will add them.

    Download Here

    Update 7/19/2009

    Updated 3/21/2010
    Added localStorage Snippets

    The bundle has also been uploaded to Github.

    View Repository


  8. Turn That Old Mac or PC into a Media Beast

    June 27, 2009 by J.P.

    img_0225

    For those of you have an old computer laying around the house here is a great way to put it back in use in ways that will forever simplify your life.

    I have done this at the last few places I lived but never created a post of this before.

    My first system I had setup was an old dell running xp with an 40gig drive minimal ram and stock gfx card. The second machine featured in the picture above is the new system I’m setting up today. Mac G4 45oMHz 800mb ram with all stock components.

    Apps that you will need:

    • VNC application, ChickoftheVNC to remote control your tv with your laptop… which like most of us is always in your lap while watching tv.
    • VNC iphone remote application, Mocha Touch.
    • VLC media player and iphone remote app
    • Boxee if you have a new enough system to support it. Unfortunatly I’m running a g4 and can get some of the newer sexier apps.
    • Hulu app. Again if your machine will support it.
    • Handbrake to backup your DVD collection and store it in the basement.
    • Silverlight…. I know, but its needed if you want to watch your Netflix movies.

    Components you made need to setup the system (Note this depends on what ports you have on your computer and what you have on your TV)

    So this is just a list of common ones

    • 3.5mm cable with dual headphone inputs.
    • VGA Cable (Supported by most newer TV’s)
    • HDMI Cable if you got the hottest new gear
    • Computer speakers if you missing the 3.5mm port on the back of you TV (This is the least ideal setup)
    • largest HD you can cram into you machine. Why not hold all the media you can possible fit!

    That should be a good start for you home media pc. Post a comment if you have a questions for recomendations. Enjoy.


  9. Activating Root Access in OSX Terminal

    June 18, 2009 by J.P.

    terminal

    After messing around with my Hackintosh today I needed to remove some of my kext files in /System/Library/Extentions (S/L/E). I wasn’t in the mood to find an early build of a hackers app I just wanted Terinal su/root access.

    Here is an easy method to activate root access in Terminal for Mac OS X 10.5 or later.

    1. From the Finder’s Go menu, choose Utilities.
    2. Open Directory Utility.
    3. Click the lock in the Directory Utility window.
    4. Enter an administrator account name and password, then click OK.
    5. Choose Enable Root User from the Edit menu.
    6. Enter the root password you wish to use in both the Password and Verify fields, then click OK.

    Related Links:

    A better terminal app


  10. Video Player with HTML 5

    June 16, 2009 by J.P.

    With some of the latest browsers supporting HTML 5 I thought I go ahead and take a stab at trying to create a very basic video player using some of the new tags. What’s interesting is many times when flash would be needed for video and audio HTML 5 will be able to support such media types with just a little JS.

    Here is a sample player using HTML 5 (Note this is at a very early stage and only has play/pause functionality).

    wildthingshtml5

    <div id="myVideoContainer">
    <video id="myVideo" src="../videos/WheretheWildThingsAre.mov" autoplay="autoplay">
    <p>Sorry Your Browser Doesn't Support HTML 5. Safari 4 will support this video player, download it here</p>
    </video>
    </div>

    Related information:



« Newer PostsOlder Posts »