For those obsessed with trapping spam, or just looking for another shiny-object to include on your blog/homepage, it's fairly simple to use many of the free web-counter services to count your spam messages instead using either procmail on unix, or the OS X Mail client and a short chunk of AppleScript.
Here's a neat trick with Safari's webloc/inetloc files.
Let's say you like all these streaming radio stations, but the players they require are all different -- some are Windows Media, some Realplayer, some iTunes, etc. And let's say you want a simple, convenient "play list" that has all these stations in one spot to be launched with a double-click. Here's what you do: go to each station's web site and find the link that you would click to "listen live." Right/control-click and copy the URL to the clipboard (it's usually a .rm or .wmp string). Then, paste it into Safari's URL field. Then drag the URL to a folder. Inside the folder, you'll now find a standalone .webloc file that you can double-click, and it will invoke whatever player it needs. And you can rename it something simple (like the station's call letters).
With iTunes it's even simpler, because you just go to the iTunes station and drag its name from the playlist to your folder.
You can now view and save RTSP streams (e.g. Apple's Kenotes) to your hard disk with the latest release of VLC (currently 0.7.0-test2). But there is still a terrible sync problem.
Choose File -> Open Network and fill in an rtsp:// URL. If you want to save the stream to a file, check Advanced Output, click on Settings, choose a file and set the encapsulation method to MPEG-4 or QuickTime.
Here is how you get the RTSP URL of Apple's keynotes using QuickTime Pro. Go to the page with the Apple events streams listed. Open one of the streams, and in QuickTime, choose File -> Save As and save it somewhere. Open the file in TextEdit, and the URL is somewhere in that file; it starts with rtsp:// and ends with .mov. Alterantively you can just use curl to open the .mov file embedded in the "Watch Now" page.
Note: People with bad routers or firewalls might have to launch VLC in the Terminal with the --rtsp-tcp option.
Example: [The command must be entered as one long command with no line breaks or extra spaces in the URL; it's been broken up here for narrower display width.]
[robg adds: I haven't tested this one, but I've been asked about capturing streams a number of times. So in spite of the sync problem (maybe it could be fixed with iMovie to separate and adjust the soundtrack?), this may be of interest to a few folks.]
If you are looking for an alternative way to view Flash and Shockwave files, you may want to download a standalone Shockwave movie or game that runs on its own using the Macromedia Flash Player (in application form, not in plugin form). An example would be something like PacMan [676kb download].
You can then tell the system, via Get Info, to open all Flash and Shockwave files with this standalone player. The original game or movie will come up at the same time, it's true, but if it's something that requires a click to start, then you shouldn't have competing audio or video.
Why go to this extent when there are other ways of doing it? Well, QuickTime Player does not always handle Flash and Shockwave files well, and also, sometimes, you don't want to load up your browser to simply look at a local Shockwave file. This is a convenient, if alternative, way of doing it, and you even get the nice-looking Macromedia Flash icon assigned to your downloaded content.
UPDATE: Commenters in this thread located a standalone Flash Player which has fewer
inconveniences than associating it with a pre-existing standalone
Note: This hint only applies to .Mac subscribers who have an iDisk. It's a long hint, but hopefully worth it to some people out there.
Apple promotes the iDisk as a way to "store files remotely" or "share files that are too big to email". It's also used as the location for storing your Address Book, iCal and Safari Bookmarks for use with iSync. This hint pertains to the "store files remotely" feature of iDisk, which Apple does not really elaborate on to any great degree.
I have two Macs: a G5 and a TiBook. My G5 (for obvious reasons) stays at home. My TiBook goes with me to work. One minor annoyance is that some things get out of sync between these two machines. I'll use two examples in this hint: NetNewsWire and MacJournal. NetNewsWire is a very well done RSS newsreader client. It's what I use to read articles from Slashdot, O'Reilly MacDevCenter and, of course, MacOSXHints, among others. MacJournal is (duh) a journal or "diary" program, although I use it for storing lots of stuff, like software license/registration keys, passwords, network information, etc.
When used on two different machines, the data accessed by both of these programs gets out of sync. It's annoying to have to wade through all the news articles that I already marked as having been read when I go back and forth between home and work. Similarly, if I add or change something in MacJournal, I want it to be the same on both my machines. This is where iDisk comes in. You can store the data files used by programs on iDisk. If that's all the information you need, you can stop reading this hint now. For detailed instructions, read on.
The following instructions allow you to share single internet connection with multiple Bluetooth equipped Macs and devices. Using Personal File Sharing service in Mac OS X, you can connect to your server with a client computer equipped with Bluetooth through the Connect to Server command. This hint was built on previous hints regarding sharing internet to a Palm device, sharing internet with a Mac over a Bluetooth phone, and other info found on the web and on this site.
I'm not a programmer nor am I a network administrator type, so excuse me if I make some newbie type mistakes here and have a few questions there. I do know the web a little and like Macs a great deal.
One Mac (acting as a server) connected to the Internet via a Bluetooth modem (56k). It is a B&W G3 300, OS X 10.2.6 (latest OS version I've tested). This should work with any mac with a Internet connection. The Bluetooth USB adapter has a Class 1 Radio.
Make sure you have the following software installed and configured on the Mac acting as a server. My suggestion is to install the Palm conduit and iSync even if you don't have a Palm device. This is because the Techno Happy Meal Script uses the Palm conduit to initiate the PPP connection -- you will need to edit the AppleScript if you don't want to download and install the iSync Palm Conduit. Most recent versions now install the conduit automatically. Use the Bluetooth Serial Utility too, if the port is installed.
iSync (if you want to share to a Palm device, may not need if you are running OS X 10.2 or higher)
iSync Palm Conduit (if you want to share to a Palm device, may not need if you are running OS X 10.2 or higher)
For some reason, Apple decided to not include the identd server in Panther. If you're a regular user of internet relay chat (IRC), this is a severe hindrance, and many IRC servers require that your machine ident before you can log on. Here is one way you can get ident working on Panther.
Download the fakeidentd source code. Open a Terminal and cd into the fakeident source code directory. Then type the following:
Next you need to use your favorite command line text editor to edit the file /etc -> xinetd.d -> auth to look like this:
disable = no
socket_type = stream
wait = no
user = root
server = /usr/bin/fakeidentd
groups = yes
flags = REUSE IPv6
Save the file and restart xinetd using sudo killall -HUP xinetd. With a bit of luck, you now should have a working identd server which returns the name "nobody." FakeIdentd allows you to define a name to return, but I don't know how to do it from this context.
I don't know if this is applicable, but there's a lot of talk about SSL certificates, so I thought I'd add this tidbit ... if you're constantly being hounded by Safari or Mail.app that it does not recognize a certificate, you can use the previously posted hints to install that certificate or it's signing certificate into Mac OS X to eliminate the warning. However, to do that, you need to have the certificate. Here's an easy way to get the certificate itself: open a Terminal window and type the following:
You will see quite a bit of output from this, but the first block beginning with -----BEGIN CERTIFICATE----- is the certificate for the server. Copy everything from (including) the BEGIN CERTIFICATE line to the corresponding END CERTIFICATE line, and save it into a file that ends with .cer. Now you've got a certificate file for that server! Follow the previous hints to install it in the appropriate Keychain.
My web site has over 30,000 tiny files. The entire site takes 159MB of my hard disk for only 54MB of data (due to block sizes). Panther's 'local copy' feature for the iDisk uses the local block allocation size when counting space requirements, and complains that the files will not fit. Copying to the real iDisk is no problem.
I notice that copying files up to iDisk (WebDAV) is now much quicker. Last week I averaged one to two minutes per file. Now they average 10 to 15 seconds. This holds for my 10.2 iBook, too, so the improvement is on the server. Thank you, Apple!
I am on a campus network that assigns IP addresses via DHCP. I occasionally need to access files on my computer from a classroom or the library, or where ever. I turned on FTP, ssh, and apache, because with our firewall and dynamic IP and OS X itself, there isn't much of a risk.
Anyway, I couldn't always connect to my computer unless I checked the IP address before heading out and hoping it didn't change while I was gone. So I wrote a few scripts to automatically upload my IP address to the campus webserver and a redirect script to take me to my computer.