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:
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.
In Safari, open the web page containing the embedded Quicktime movie you want to save.
Right click on the web page and View Source.
Search for the RTSP URL ending in ".mov".
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.
Open that Quicktime file in BBEdit.
You will see a line of garbled text, but within it is a new HTTP address. Copy everything between http and .mov.
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...]
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.
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):
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!
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:
Open preferences.plist in Property List Editor
Expand Root, then expand NetworkServices
Expand each of the hexidecimal profiles and try to find your target (e.g. VPN (PPTP) 2)
Once it is identified, delete the parent hex profile
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.
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.
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.
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.]