Category: Apple

Enable Virtual host on XAMPP for OSX

By , April 26, 2014 10:42 pm

I just upgraded XAMPP to the latests version and in doing so I was no longer able to access my files stored in my Users/user/Sites folder. By default XAMPP does’t come setup for allowing virtual hosting. You have to setup it up yourself. This is the process to setup Virtual Hosting on OSX 10.8.3.

  1. Open Terminal. It is located in your Applications/Utilities folder
  2. Type in the following command.

    sudo pico /Applications/XAMPP/xamppfiles/etc/httpd.conf

  3. Press Control key and V to scroll down to the bottom of the file. Keep doing it until you find the following lines.

    # User home directories
    #Include etc/extra/httpd-userdir.conf

  4. Uncomment out Include ext/extra/httpd-userdir.conf by deleting the # sign. It should look like this when you are done.

    # User home directories
    Include etc/extra/httpd-userdir.conf

  5. Save the changes. Press the Control Key and O. The click the Control Key and T.
  6. Select the httpd.conf file name and hit the Enter Key. This will over write the httpd.conf with the changes you just made.
  7. Press the Control Key and X to exit the editor.
  8. Next type in the following command in to Terminal to edit the httpd-userdir.conf file.

    sudo pico /Applications/XAMPP/xamppfiles/etc/extra/httpd-userdir.conf

  9. Find the follow line and comment it out.

    UserDir public_html

  10. It should look like this after you comment it out: #UserDir public_html
  11. Type in the following line: UserDir Sites
  12. Find the following lines and comment them out.

    <Directory “/home/*/public_html”>

  13. Add the following line: <Directory “/Users/*/Sites/”> right after the line you just commented out.
  14. Save the changes. Press the Control Key and O. The click the Control Key and T.
  15. Select the httpd-userdir.conf file name and hit the Enter Key. This will over write the https.conf with the changes you just made.
  16. Press the Control Key and X to exit the editor.
  17. Restart the Apache Server.

Steve Jobs – 1955 – 2011

By , October 5, 2011 9:53 pm

Rest in Peace Steve. We will miss you.

Steve Jobs RIP 1955 - 2011
“No one wants to die. Even people who want to go to heaven don’t want to die to get there. And yet death is the destination we all share. No one has ever escaped it. And that is as it should be, because Death is very likely the single best invention of Life. It is Life’s change agent. It clears out the old to make way for the new. Right now the new is you, but someday not too long from now, you will gradually become the old and be cleared away. Sorry to be so dramatic, but it is quite true.
Your time is limited, so don’t waste it living someone else’s life. Don’t be trapped by dogma — which is living with the results of other people’s thinking. Don’t let the noise of others’ opinions drown out your own inner voice. And most important, have the courage to follow your heart and intuition. They somehow already know what you truly want to become. Everything else is secondary.” – Steve Jobs
“Because the people who are crazy enough to think they can change the world are the ones who do.” – Steve Jobs
“Stay Hungry… Stay Foolish.” – Steve Jobs

One Bad Apple – MobileMe

By , June 7, 2011 7:01 pm

MobileMe wasn’t one of Apples brightest moments. So yesterday at WWDC Apple introduced iCloud and the end of the MobileMe service. To prep for the transition to the cloud Apple has extended everyones MobileMe account until June 30, 2012 for free, which is pretty cool of Apple to do. Unless you are one of many user like my self that just paid for another year for the MobileMe service. I renewed my MobileMe account on May 25th.

On Apple’s Support forums a lot of people are complaining that Apple has left us out in the cold. Apple isn’t saying anything about this to anyone. If you call support they tell you you can ask for a full refund, but you will lose all your current email addresses and can’t get them back until you sign up for the iCloud service, but you might not be able to get the same addresses when you sign up for the iCloud service. So what am I to do? I don’t want to lose my address, I use it a lot.

Do you think that the people who just renewed have a valid complaint that they paid for a service that everyone is now getting for free or do you think we should stop complaining and deal with it.

I don’t expect a full refund, but I would like some type of response from Apple. Instead of letting people wonder if they are going to do anything for us. I would be happy if Apple would just tell us that “we are S.O.L. and to have a nice day”, at least we would know where we stand.

For more info about the MobileMe transition to iCloud, Apple has a little Knowledge Brief posted on their site. http://support.apple.com/kb/HT4597

WWDC 2011 Live Coverage

By , June 5, 2011 3:07 pm

Here are a few websites and twitter accounts that will be covering WWDC.
Updated: 6/6/11 @ 1:00 PM Eastern
Websites Covering WWDC

Twitter Accounts Covering WWDC

If you know of any other site or twitter feed broadcasting WWDC live tomorrow post a comment and let me know. I’ll keep this list updated until the keynote starts tomorrow.

Programming – Entering in a price of an item – Help

By , February 20, 2011 9:46 pm
I am trying to accomplish the same interface as Grocery iQ has for entering in a price of an item. They have a Table View with a custom Table View Cell. I think the custom cell has a label over a text field so the decimal is always visible. If you type in 125 it displays 1.25 on the screen. Does anybody have any idea how to do this?
One other thing I would like to know when you click on the “back button” the value entered ($1.25) is sent back to a label on the previous view. How do you do this?
Any help on either of these 2 question would be appreciated.
This is what I want it to look like.

MobileMe iCal syncing 403 Error

By , February 18, 2011 10:44 pm

If you use MobileMe and iCal I’m pretty sure you have ran on to the error:

Access to “Event” in “Calendar” in account “MobileMe” is not permitted. The server responded: “HTTP/1.1 403 Forbidden” to operation CalDAVWriteEntityQueueableOperationMobileMe Sync 403 Error

This is an annoying little error. Right now there is no fix for this problem. The error occurs when you have an event and you set an alarm for the event that is more than 7 days before the event, MM will give you this error when you try to save the event. So the only thing you can do is to set the alarm to go off in 7 days or less. This seems to work but Apple needs to fix this problem.

Working on my First iPhone app!

By , February 16, 2011 11:09 pm

I started my journey almost 2 years ago, trying to learn the programming languages to write an iPhone app. It was harder than I thought. But all that time and effort has paid off. I am working on my first iPhone app now. I hope to have it in the store by the end of summer.

Now that I’m at this point I’m gonna post more stuff on my site about Objective C and iOS programming.

[ccilang=”objc”]
for (i = 0; i < zz; i++) { NSNumber *temp = [[NSNumber alloc] init]; temp = [array objectAtIndex:0]; for (j = 0; j < zz; j++) { if ([temp isGreaterThanOrEqualTo:[array objectAtIndex:j]]) { temp = [array objectAtIndex:j]; k = j; } } [sortArray addObject:[NSNumber numberWithInt:k]]; [array replaceObjectAtIndex:k withObject:[NSNumber numberWithDouble:9999.99]]; [temp release]; } [/cci]

Safari just sucks

By , November 8, 2010 11:44 pm

Apple keeps blaming Adobe Flash for its problems with Safari. I pretty much use all three major browser daily and Safari is the only browser that crashes daily when going to sites that have Flash. If it was a Flash problem why wouldn’t IE8, IE 9 or Firefox crash on the same sites? So every time Safari crashes I type in a nice little note to Apple in the Crash Report. I just wish they would read them and hit me back with a reply or somethings. So I know they were at least attempting to do something with those crash reports they get back from us. Here is the note I sent them today.

This is like the exa time that safari has crashed while I was checking on my fantasy team on ESPN.com. please fix safari. it is worse than internet explorer… do you guys really want any of your product to suck more than a microsoft product? IE doesn’t crash this much. stop blaming flash and just fix safari… I don’t want make firefox my default browser but you are forcing me to do so. when I use firefox and IE they don’t crash when I go to ESPN.com, only safari. I’m not sure if you guys read these but it worth a shot. Plus if you do fix it you’ll stop getting these little stupid notes from me… ****** at syclonefx.com

I hope they answer me one day… If you are wondering what an EXA is google it.

iPhone 4 Rumors round up

By , July 3, 2010 10:26 pm

Before the iPhone 4 was announced I compiled a list of rumors from various site. I had a list of  23 rumors, 65.2% of those rumors came true. This must piss Apple off that these site are getting this much info about unreleased products.

  1. Will be announce at WWDC – TRUE
  2. Release Date: June 24th – ?? not to sure about this. – TRUE
  3. Will be released by the end of June. – Same as above – TRUE
  4. 2 Different Colors – Black iPhone and White iPhone – TRUE
  5. A4 Processor – TRUE
  6. Will be announced on June 22 – BoyGeniusReport.com is reporting that AT&T has blocked all employees from taking any vacations during the hole month of June. FALSE
  7. Will be called iPhone 4 or iPhone HD – TRUE
  8. Will have a Unibody case like the iPad – Not sure about this one with all the Engadget rumors – FALSE
  9. Will have 2 versions: AT&T and Verizon – FALSE
  10. Will have a front facing camera for video chat – TRUE
  11. Will have a Dual-Core Processor – FALSE
  12. Will have an OLED display – FALSE
  13. 960×640 double-resolution display – TRUE
  14. Slightly smaller screen than the 3GS (but seemingly higher resolution) – TRUE
  15. 64Gb storage – FALSE
  16. Higher Resolution Camera and an L.E.D. Flash (the lens is quite noticeably larger than the iPhone 3GS) – TRUE
  17. Will use a MicroSIM card – TRUE
  18. Will have a Glass/Ceramic Back- TRUE
  19. The back of the phone is flat. No curves – TRUE
  20. Removable Battery  – FALSE
  21. Power, mute, and volume buttons are all metallic – TRUE
  22. Split buttons for volume – TRUE
  23. 50% Larger battery – NOT SURE

iPhone 4 Screen vs iPhone 3G screen Magnified 100 – Times

By , June 26, 2010 3:01 pm

Last year I posted an image of the iPhone 3G Magnified 100 Times. So when I got my iPhone 4 I thought it would be cool to do a side by side comparison of the iPhone 3G screen vs the iPhone 4 screen. They weren’t lying about having 4 time the amount of pixels.

iPhone 4 vs iPhone 3G Screen

The weird thing I found was that some of the Blue segments have a little black dot on some of them. iPhone 4 Blue LED

Panorama Theme by Themocracy