Create an Instant Web Server via Terminal Command Line and Python

May 7, 2010 - 11 Comments

How to start an instant web server with python from the command line

Want to quickly share a file, test some code, or broadcast something? You can instantly create a web server out of the current directory by using nothing but python, yup, no apache, no nginx, no litespeed, all python, which ships with pretty much every unix variation these days. The command is remarkably simple considering how useful it is, and test it out yourself open up a Terminal window and any web browser.

This trick starts a simple web server instantly with nothing but python, it works in Mac OS X, Linux, FreeBSD, and any other unix platform that has python.

Read more »

By Manish Patel - Command Line - 11 Comments

Stop iTunes from Automatically Opening When iPhone, iPad, or iPod is Connected

May 6, 2010 - 39 Comments

iTunes icon Updated 5/31/2015: By default, iTunes will automatically launch when any compatible device is connected, be it an iPhone, iPad, iPod Touch, Nano, whatever.

Having iTunes open itself automatically can be helpful but it can also be annoying, it really depends on your user preferences. If you don’t want this to happen, you can easily turn off the automatic open feature within iTunes with a simple settings adjustment.
Read more »

By Paul Horowitz - iPad, iPhone, iTunes, Tips & Tricks - 39 Comments

Apple ranks #1 among online computer and electronics retailers

May 6, 2010 - Leave a Comment

apple ranks number one

Apple continues to dominate the news cycle, this time with high scores in a consumer satisfaction survey. The survey of 23,400 online shoppers determined that Apple ranks number one among online electronic and computer retailers. Additional bragging rights for Apple include ranking number four overall for consumer satisfaction, behind only Netflix, Amazon and Avon. Impressive stuff!

I have to say that this doesn’t surprise me too much. I’ve had some really positive experiences with Apple lately, it’s one of the few stores I actually look forward to purchasing things from.

CNN via AppleInsider

By William Pearson - News - Leave a Comment

Speed Up a Slow Terminal by Clearing Log Files

May 6, 2010 - 54 Comments

mac os x terminal The Mac OS X Terminal can become slow to launch over time, but there’s an easy solution to speed it up again.

By deleting the Apple System Logs, you can shave the lag in opening and launching new Terminal windows/tabs dramatically, in my case from about a three second delay to instantaneous!

Here’s how to delete the log files and gain your Terminal app launch speed back:

Read more »

By Bill Ellis - Command Line, Mac OS - 54 Comments

Run Mac OS X in a Virtual Machine with VirtualBox

May 5, 2010 - 3 Comments

VirtualBox

The latest version of VirtualBox allows you to create a Mac OS X guest host, providing the ability to virtualize different versions of Mac OS X. This is the first official support for Mac OS X running as a VM from VirtualBox, and is part of the latest beta.

Read more »

By David Mendez - How to, Mac OS - 3 Comments

iTunes loading slowly? Here’s a simple fix to speed iTunes launch

May 5, 2010 - 19 Comments

iTunes

From time to time iTunes can take a very long time to open, typically because it is looking for the music library.

If you find iTunes to be taking a long time to launch, you might try this simple fix seems to resolve the slow application launch issues:

* Launch iTunes

* Immediately hit and hold the “Option” / ALT key

* Select your iTunes Library, on your computer, often located in the user home folder or /Music/iTunes/

* Click OK

iTunes should now but be considerably faster when loading and quitting.

The interesting thing is that you’re loading the same music library as before, so the speedup must be related to a more recent cache being available.

itunes_logo

This should work with iTunes on both Mac and Windows.

If you have any other tips to speed up iTunes, share with us in the comments!

By Manish Patel - iTunes, Troubleshooting - 19 Comments

Make Mac OS X Run in Grayscale Mode

May 4, 2010 - 2 Comments

Mac running in Grayscale Mode OS X

You can run Mac OS X in Grayscale mode by adjusting the display settings in the Accessibility or Universal Access control panel. Likewise, you can stop a Mac from running in greyscale mode and get full color back by disabling the setting in the same system control panel.

This is an easy display settings adjustment to make, and it serves a variety of purposes.

Read more »

By Manish Patel - Mac OS, Tips & Tricks - 2 Comments

Jailbreak for iPad released

May 3, 2010 - 3 Comments

spirit jailbreak ipad The Spirit Jailbreak for iPad has been released, it’s an untethered Jailbreak for any of the current iPhone OS devices, so the iPad as well as iPhone and iPod touch are supported. It’s still in beta so it’s definitely a good idea to sync and backup all your data before trying this out. Many of the Cydia apps not designed for iPad may run a little strange, look poorly, or even ‘screw up your system’ as the Spirit developers say. It’s also worth noting that Spirit is not a carrier unlock, so don’t expect to jump around mobile providers.

Here are the requirements:

* iPad, iPhone, iPod touch on firmware 3.1.2, 3.1.3, or 3.2.
* iTunes 9 (including 9.1.1).
* An activated device: one not stuck on the Connect to iTunes or Emergency Call screen.
* A Mac or Windows PC

If you’re interested in Jailbreaks, check out the Spirit Jailbreak developer for more.

By Paul Horowitz - iPad, iPhone - 3 Comments

Securely Format a Mac Hard Drive

May 3, 2010 - 5 Comments

Disk Utility in Mac OS X If you want to be absolutely sure your data is wiped clean with virtually no chance of recovery, by anyone, using any possible known recovery tools, look no further than Apple’s Disk Utility tool. The process is simple, and it can apply to any Mac drive, whether that’s an internal hard drive, external hard drive, and any connected drive of any format, meaning it does not need to just be a Mac drive to become securely formatted.

First a quick explanation of how secure format works: the drive is formatted and cleared of data as usual, but then the drive is rewritten with new randomly generated data, effectively overwriting any existing data on the drive and making it impossible to access or recover. It doesn’t stop there though, because that process is repeated multiple times, depending on which setting choice you select when securely formatting a drive. Let’s begin:

Read more »

By Paul Horowitz - Mac OS, Security - 5 Comments

Simple fix for Mac OS X 10.6.3 Samba Write Access problem

May 2, 2010 - 6 Comments

smb write access problem mac os x 10.6.3

Upgrading to Mac OS X Snow Leopard 10.6.3 was a painless procedure until I tried to access some SMB mounts… suddenly I had no write access to my samba drives! I was presented with this error message:

The operation can’t be completed because you don’t have permission to access some of the items.

Thankfully there’s a workaround of sorts and it is pretty straightforward.

Fixing the Samba/SMB write access problem in 10.6.3:
* Open smb.conf on the samba server in your favorite text editor
sudo nano /etc/smb.conf
* Find the global samba settings section under [global] and add the following line:
unix extensions = no
* Save and close smb.conf (in nano, Control-O followed by the return key to save, then Control-X to exit)
* Restart the smb server

The cause of the SMB error in Mac OS X 10.6.3:
After digging around I found the cause on SplatDot, and I can confirm I had the same error messages pertaining to wide links and unix extensions enabled at the same time, two parameters which are incompatible. This is why the fix works, you are disabling unix extensions (of course, you could disable wide links but there is a performance hit to that method) and the error will no longer occur.

I imagine this is just a bug in the way that Mac OS X 10.6.3 handles SMB shares and it will probably be fixed relatively quickly by Apple, and when it is fixed you can and should reactivate unix extensions again on the Samba server. Doing so is just a matter of removing the unix extensions = no line from the smb.conf file.

By David Mendez - Mac OS, Troubleshooting - 6 Comments

Run Mac OS X Leopard on a Sony PSP

May 2, 2010 - 10 Comments

Did you know that with DolphinProjects, you can run Mac OS X Leopard on a Sony PSP? Me neither, I think I’ll stick with my hackintosh. Anyway, this might not be the most useful hack in the world, but it is pretty cool. Here are some screen shots, as you can see it is remarkably squished with the PSP’s screen resolution of 480×272, but somehow the DolphinProjects folks managed to make it work (sort of).

mac psp login

mac psp AppleMenu

mac psp MacHD

mac psp Preferences

[ screenshots via QJ Forums ]

By Paul Horowitz - Hackintosh, Mac OS - 10 Comments

Another blow to Flash: Microsoft announces future of the web is HTML5, IE9 to support h.264 video playback only

May 1, 2010 - 1 Comment

Flash’s days of dominating video on the web are looking increasingly numbered. Fresh off the heals of Steve Jobs voicing his thoughts on Flash, Microsoft chimes in with another blow, Internet Explorer 9 will only support video playback in H.264 format with HTML5. Here’s the two major quotes from Microsoft:

The future of the web is HTML5. …In its HTML5 support, IE9 will support playback of H.264 video only

If you’re not totally sick of the Flash debate, the entire piece is reproduced below, from Microsofts IE blog (emphasis mine):
Read more »

By Manish Patel - News - 1 Comment

Convert songs to MP3, AAC, M4A, or other formats in iTunes

May 1, 2010 - 15 Comments

convert song format itunes

iTunes 9.1 and forward changed the way it handles song conversions. I’m not quite sure why but Apple made it so converting a song to a different format is no longer just a matter of right-clicking and converting. Instead, with iTunes you’ll have to make an adjustment in iTunes Preferences first.

First, select the conversion format in iTunes:
* Open iTunes Preferences
* Click on “Import Settings”
* Choose the format you want to convert to by using the ‘Import Using’ menu: AAC, AIFF, Apple Lossless Encoder (MP4 or M4A), MP3, WAV
* Click ‘OK’

Now when you want to convert any song to the new format:
* Click on the song you want converted in iTunes
* Click on the ‘Advanced’ menu
* Scroll down to ‘Create MP3 Version’ (or whatever format you selected earlier)

iTunes will then convert the song to the format you selected just as it did in any prior version. If you want to make an iPhone ringtone you’ll want to use the Apple Lossless Encoder or AAC and then rename the .m4a file extension to .m4r just as before.

By Paul Horowitz - iTunes, Mac OS, Tips & Tricks - 15 Comments

Mac Setups: The lone MacBook Pro of Noah Kalina

May 1, 2010 - 3 Comments

noah kalinas macbook pro

I’m always interested in how professionals use Mac’s in their everyday life. I couldn’t help but notice when browsing through photographer Noah Kalina‘s Flickr stream that he’s also a Mac user! Other than his photography, Noah is perhaps most famous for taking a daily picture of himself for six years and turning it into a video. He’s actually got a bunch of pictures of his MacBook Pro sitting alone in various hotel rooms as he’s traveled around.

If you’re interested in photography, take a look at some of Noah’s work via his Flickr stream (note that there is some NSFW content).

By William Pearson - Mac Setups - 3 Comments

Flash Gala plugin with hardware decoding actually performs worse on some Macs

Apr 30, 2010 - 3 Comments

flash gala performance

Adobe just can’t get a break with Flash on the Mac. Before you get too excited about the Flash Gala plugin, you might want to look at these performance results from Engadget. The new MacBook Pro with a Core i7 processor performed quite well with the beta Gala plugin, with CPU utilization going down anywhere from 30%-50%, but it’s brother with a Core i5 processor performed significantly worse than using the Flash player without hardware decoding, with processor utilization going up 20%.

What gives? Well, it’s basically beta software and Apple just recently opened access to the hardware, so there’s obviously a lot of room for optimization to be had. For the time being though, if you like running dodgy development builds and have a Mac with a GeForce 9400M, 320M, or 330M GPU, you can check out the beta plugin at Adobe Labs. Personally, we’d wait a while.

I don’t know about anyone else but I’d love to know Steve Jobs thoughts on this particular benchmark since he is such a fan of Flash, just for comic value alone.

By Manish Patel - Mac OS - 3 Comments

Steam for Mac available May 12

Apr 30, 2010 - Leave a Comment

steam for mac

Well, Steam for Mac was supposed to be available in April, but with the month nearly over they missed that release target and have now set an official release date of May 12. According to JoyStiq, Steam sent them the following short message:

“Valve today announced the public release of Steam for the Mac is May 12. Please stay tuned for more information.”

That’s it then, two weeks from now Mac users will finally have Steam. A two week delay isn’t too bad right? Let’s hope it doesn’t turn into two months.

If you have any interest in playing Team Fortress 2, CounterStrike, and the other Steam games, be sure to check out the system requirements for Steam in Mac OS X. Basically, you’ll want a newer Mac (think 2008 and newer) to run it well.

By Paul Horowitz - Games, News - Leave a Comment

Make a Screen Saver Out of Your Own Images in Mac OS X

Apr 30, 2010 - 16 Comments

Using pictures as a screen saver on the Mac

Do you have a collection of images and photos that you’d like to become a screen saver on the Mac? This offers a simple and nice way to customize a screen saver to include only your own images and pictures, and it’s quite easy to accomplish in macOS and Mac OS X.

Read more »

By Paul Horowitz - Mac OS, Tips & Tricks - 16 Comments

Switch and Manage Multiple Hosts Files with Gas Mask

Apr 29, 2010 - 4 Comments

switch different hosts files mac

Gas Mask is a simple hosts file manager that sits in your menubar and allows you to easily edit and switch between multiple hosts files. With support for syntax highlighting, Growl, and hotkey hosts switching, it’s one of the quickest and easiest ways to deal with multiple hosts files on a Mac. Gas Mask is a freely available download,open source and donationware

Gas Mask developer home
Download now

By David Mendez - Utilities - 4 Comments

Subscribe to OSXDaily

Subscribe to RSS Subscribe to Twitter Feed Follow on Facebook Subscribe to eMail Updates

Tips & Tricks

News

iPhone / iPad

Mac

Troubleshooting

Shop on Amazon to help support this site