Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!

Easy conversion of multiple Safari .webloc to PC .url files Internet
Looking for a convenient way to convert from .webloc files to cross-platform .url files, I was reading this hint. But all the suggestions involved opening the .webloc file in Safari to get hold of the actual URL. Doing so however, is either very time consuming (especially if you have many .webloc files) or simply impossible if you're working off-line. The reason for using Safari, I realized, is that the URL is stored in the resource fork of the .webloc file (Apple, you were supposed to phase out resource forks!) and is not easy to get at. Luckily, Apple included a little gem in its Developer Tools, DeRez, which displays resource information as raw text in this format:

$ DeRez -e -only 'url ' macosxhints.webloc
data 'url ' (256, "macosxhints - Get the mo#11F5AF") {
  $"6874 7470 3A2F 2F77 7777 2E6D 6163 6F73"    /* http://www.macos */
  $"7868 696E 7473 2E63 6F6D 2F"                /* xhints.com/ */
};
The following AppleScript application lets you drag and drop any number of .webloc files over its icon and converts them to cross-platform .url files.
read more (400 words)   Post a comment  •  Comments (30)  
  • Currently 2.80 / 5
  You rated: 3 / 5 (5 votes cast)
 
[55,574 views]  View Printable Version
An alternative method of saving QuickTime streams Internet
Dammit, I love Pink Floyd. I was overjoyed to see that the official Floyd site posted the entire Final Cut short film (which is very rare) on their site. The only problem is, it is a Quicktime stream embedded in the HTML, and the previous VLC hint wasn't working to save it. Well, this hint is the modified version of the VLC method; the one that saved that sucker to my hard drive. Hopefully this will work for similar streams.
  1. In Safari, open the web page containing the embedded Quicktime movie you want to save.
  2. Right click on the web page and View Source.
  3. Search for the RTSP URL ending in ".mov".
  4. Copy and paste that address into Safari's Download window. You have now downloaded a 4KB QuickTime file that merely points to the stream. Your full movie isn't saved.
  5. Open that Quicktime file in BBEdit.
  6. You will see a line of garbled text, but within it is a new HTTP address. Copy everything between http and .mov.
  7. Paste that into Safari's Download window.
Voila!
  Post a comment  •  Comments (14)  
  • Currently 3.00 / 5
  You rated: 3 / 5 (4 votes cast)
 
[32,820 views]  View Printable Version
View movie trailers and music videos in QT Player Internet
If you want to watch trailers from Apple's trailer page in QuickTime Player instead of in a browser window or through the iTunes Music Store, it can be done pretty easily.

When loading a movie in your favorite browser, view the HTML source for the page and search for .mov. Copy the movie's URL and paste it into the dialog that appears when you select File -> Open URL in New Player (Command-U) in QuickTime Player.

This way, you can view the movie fullscreen if you have QuickTime Pro, and even save the movie to your local drive.

[robg adds: A previous hint provided a script for saving iTunes Music Store videos...]
  Post a comment  •  Comments (7)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[9,710 views]  View Printable Version
Use a commercial domain name with a dynamic IP Internet
The process below describes how to use an "always on" connection like cable or DSL to create your own server with a fully qualified domain name -- like you would purchase from a registrar (e.g. .com, .org, etc). In most cases, running any type of server on these type of connections goes completely against your ISP's service agreement. I have found, though, that if you are simply serving a few pages to your family and friends, and not eating tremendous amounts of bandwidth, they won't really care. You have been warned.

By following the procedure below, you can purchase your own domain name (usually for less than $10) and have it always pointing to your dynamically assigned cable/DSL connection. As an aside, I prefer to stay away from the larger Registrars like GoDaddy, in favour of a smaller Registrar I have used for years named IntuitiveISP. Their service is better and fast, and domains start at about $10.
read more (529 words)   Post a comment  •  Comments (22)  
  • Currently 3.67 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[39,760 views]  View Printable Version
How to import SSL POP3 Certificates Internet
So I just started using a SSL POP3 server but Mail.app doesn't want to trust the root certificate. I've been able to find information about how to trust root certificates but nothing about how to retrieve the root certificate. I found a post that details how to retrieve the root certificate. Open the Terminal and type (all on one line):
openssl s_client -connect mail.dreamhost.com:imaps >
  dreamhost.cer < /dev/null
For some reason openssl didn't like the port, so I had to change it from imaps to 995 (the port for POP3 SSL) as in:
openssl s_client -connect mail.dreamhost.com:995 >
  dreamhost.cer < /dev/null
That gave me a file, dreamhost.cer, that could be imported into the X509Anchors keychain, as detailed in his post and several macosxhints.com entries that I was able to find.
  Post a comment  •  Comments (5)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[12,924 views]  View Printable Version
Fix an iDisk 'file busy' error Internet
This morning, I was trying to figure out why an image on my iDisk site wasn't being updated, despite the fact that the app I was using to update the image kept saying "Successfully uploaded."

When I connected to the iDisk in the Finder, the image preview showed the old image I was trying to replace. Taking the brute force solution, I dragged it to the trash. I was warned that it would be deleted immediately, which was fine. But then I received the infamous "Sorry, you can't delete this file, it's busy" message. I've never seen this dialog on an iDisk, only on my local disk.

The fix turned out to be easy, if not obvious (thanks Kirk!) -- you have to unmount and remount the iDisk. The only thing that makes this a bit tricky is trying to figure out how to do that. It's not possible (as far as I know) from the Finder, but a quick trip to the Terminal will take care of the problem. Just type:
umount -f idisk_name/
Where idisk_name is your .Mac username. You can then return to the Finder, re-mount the disk by clicking the shortcut, and (hopefully) your busy file is no longer busy ... at least it worked for me!
  Post a comment  •  Comments (11)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[10,954 views]  View Printable Version
Delete excess VPN connection from Internet Connect Internet
OS X allows you to create VPN connections -- as many as you like -- through Internet Connect, but it won't let you remove unused ones. To do this, you need to manually erase them from /Library -> Preferences -> SystemConfiguration -> preferences.plist by either editing that file with vi or Property List Editor (the latter is much safer and faster, but requires the Developer Tools / XCode package to be installed). Say you want to get rid of VPN (PPTP) 2:
  1. Open preferences.plist in Property List Editor
  2. Expand Root, then expand NetworkServices
  3. Expand each of the hexidecimal profiles and try to find your target (e.g. VPN (PPTP) 2)
  4. Once it is identified, delete the parent hex profile
  5. Save it (make sure to have a backup copy of the original file just in case)
This has been tested on 10.3.4. I used the Property List Editor from my 10.2.8 without any problems. Note that in Jaguar (10.2.x), the plist file is under /private -> var -> db -> SystemConfiguration -> preferences.xml.
  Post a comment  •  Comments (9)  
  • Currently 3.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[19,621 views]  View Printable Version
Serve web pages via Apache from a USB key drive Internet
For web developers, Mac's Apache web server won't automatically serve web-related files that reside on a USB key drive. Any effort to do so results in an Apache error page. Read the rest of the hint for details on how to make Apache happily serve up pages from a USB key drive.
read more (307 words)   Post a comment  •  Comments (1)  
  • Currently 1.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[9,782 views]  View Printable Version
A Quicktime Broadcaster and QT 6.5.1 workaround Internet
For those of you who installed Quicktime 6.5.1 and QT broadcaster, you might notice that it doesn't work. Don't worry, most people I talk to are experiencing the same thing.

Though its GUI isn't as pretty, and the options are more limited, Darwin Streaming Server [10.1mb download] includes a broadcast server that seems to work great. Plus you don't have to drop a grand on OS X Server! I've got it working with little setup and am watching TV on my G3 via my G4's FireWire A/V IO box right now.Here is a direct download link.

Note: you must be running 10.2.8 or higher to use this software, and you'll need to login to Apple's Open Source site to use the above download link.
  Post a comment  •  Comments (2)  
  • Currently 1.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[5,888 views]  View Printable Version
A script to watch the Apple Refurb Store for products Internet
This script will allow you to automatically and periodically check the U.S. Apple Store (refurbished section) for a given product. It will notify you whether that item is available or not. The script needs to be placed into /usr/local/bin and requires you to set up a crontab file (instructions are included in the script). This is based off of another script found here.

Here's my script; copy and paste the contents into a new file in the Terminal using your favorite editor and follow the instructions in the script to make it work for the product(s) you are interested in watching.

[robg adds: Due to long line lengths that aren't easily broken, I've put this script online as a separate text file which will open in a new window.]
  Post a comment  •  Comments (2)  
  • Currently 2.50 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (2 votes cast)
 
[15,278 views]  View Printable Version