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

One way to play iTunes music over the internet Internet
This hint will allow you to stream your music over the Internet using any version of iTunes. It relies on Macfuse and Macfusion to mount an ssh connection as a local file server. Please back up all music before you try this, as if you delete all your music by mistake, it's not my fault! First, on the Mac that's going to send the music (the "server"):
  1. Quit iTunes
  2. Copy your iTunes Music folder to another partition or an external drive. My other partition is called Store.
  3. Open iTunes, and go to Preferences » Advanced. Change the following settings:
    • Change iTunes Music folder location to Store:iTunes Music, with Store being your partition name.
    • Insure that Copy Files to iTunes Music Folder When Adding to Library is unchecked.
  4. Quit iTunes again.
  5. You may want to back up to somewhere else before doing this step. Delete the following files from your Music:iTunes folder: iTunes Library and iTunes Music Library.xml.
  6. I recommend that you move the iTunes Music folder that is also in this directory to your Documents folder for backup. You can delete it at the very end if everything goes OK.
  7. Now open iTunes again. We are going to regenerate your iTunes Library. You will note that iTunes creates the two files from above again on launch. This is what you want.
  8. In iTunes go to File » Add to Library. Select the other partition and the iTunes Music folder that you copied there in step two. The files will be added to the Library, but will not be copied to your boot partition as you unchecked that box earlier.
  9. Once this is complete, you can quit iTunes just to clear up your screen.
  10. Open System Preferences » Sharing, and turn on Remote Login. You will need this later.
  11. Copy the following files by any means to your client machine -- note that these are the new ones you have created, not the older ones you moved: iTunes Library and iTunes Music Library.xml.
Read on for the setup for the listening ("client") Mac.
read more (565 words)   Post a comment  •  Comments (15)  
  • Currently 1.67 / 5
  You rated: 4 / 5 (9 votes cast)
 
[17,630 views] Email Article To a Friend View Printable Version
Use a Linksys NSLU2 to update dynamic DNS info Internet
A number of people use dynamic DNS clients (notably DNSUpdate) to point their domains to their computers at home or any where the the host computer is connected via a dynamic IP. This allows some limited web site hosting, email, or some external network troubleshooting. However, it does involve keeping host computer on at all times, which for some, may not be an option.

Enter the Linksys NSLU2. It was originally sold by Linksys to put USB disks on the network. It apparently didn't do too well (there were a number of design decisions that made it very a bit unintuitive), but thanks to the hacker community, it has since become an excellent little server for all things from web services and email to DNS and DHCP. And in this case, this will allow you to use it as nice lightweight Dynamic DNS client with Apple AirPort Extreme.

First all, this assumes that you understand that this may cause some issues with you and your ISP. If you are willing to deal with the consequences, then continue on.
read more (739 words)   Post a comment  •  Comments (2)  
  • Currently 2.25 / 5
  You rated: 4 / 5 (8 votes cast)
 
[13,313 views] Email Article To a Friend View Printable Version
Easily import Mail messages to Gmail via IMAP Internet
I've been looking for a way to migrate my old email over to Gmail for a while now. The two options to date have been:
  1. Redirecting Mail
  2. Mark Lyon's GMail Loader
The problem is that you lose some of the sender/date data with these methods. There is now a simple solution using Gmail's IMAP support. Using Mail under 10.5, I set up a new account to mirror Gmail using these intructions. With IMAP configured, old mail can be simply dragged to the Gmail Inbox or Sent Mail in order to import. I not only synced my recent mail, but imported old archived mailboxes back into mail for syncing.

Now I can use one account to keep all my email accessible both locally and remotely.
  Post a comment  •  Comments (6)  
  • Currently 2.45 / 5
  You rated: 5 / 5 (11 votes cast)
 
[39,988 views] Email Article To a Friend View Printable Version
Create a web-accessible Dashboard screen capture Internet
One of the great new features of Safari in Leopard is the ability to create Dashboard widgets from any website. I've used it quite a bit to create widgets for sites that I check regularly. And with a little help from AppleScript and iCal, you can create a snapshot of your web-clip-loaded Dashboard for a website, or to send via email. Note that this hint does not require 10.5, as it's simply taking a screenshot of the Dashboard.

First, I created a very quick and simple AppleScript to open Dashboard, take the picture, and close the Dashboard: Obviously, you can save it to any folder that you have for your website, or you can run a script to email it. Next, I simply created an event in iCal and set the alarm to run the script. I have it run every two hours throughout the day, so I always have a new snapshot available on the site. Lastly, I set up my router/firewall to allow remote requests, so now I can view the picture I created. I now have an updated Dashboard view (within two hours) on any computer I go to.

[robg adds: This hint could be used for any purpose, really -- the general version of the hint is to trigger a screenshot via some method (iCal in this case) and save it to a web-viewable folder (or email it). With 10.5's web clips, I can see the added value here for Dashboard if you travel around a lot from machine to machine (perhaps you do onsite tech support, for instance), and you'd like to quickly see the data from the web clips you've got set up on your home machine.]
  Post a comment  •  Comments (2)  
  • Currently 1.88 / 5
  You rated: 5 / 5 (8 votes cast)
 
[7,673 views] Email Article To a Friend View Printable Version
Embed the .Mac web gallery on your iWeb site Internet
I've often found it odd that Apple doesn't allow you to embed your .Mac Web Gallery into your website. You can, of course, use the widget to display a thumbnail of your gallery, but it takes users away from your site, and that is a bad thing.

If you use iWeb's HTML snippet found under Web widgets, you can implement an iFrame that will display your web gallery within your page. It is very simple to do and will allow your users to stay on your page while leaving all functions of the site intact. Using the following code, you can inject the Web Gallery onto any page: You will need to change YOURNAME to the name you have chosen for .Mac, as well as ALBUMNUMBER to correspond to the album you would like to display. You can, of course, just copy the URL from your browser window and paste it after src=" -- remember to close the quotes. Your page width should be set to a minimum of 800 pixels in order to fit the frame.

I know this may be obvious to some, but it may help others out that are looking to condense and unify their online galleries.
  Post a comment  •  Comments (6)  
  • Currently 2.78 / 5
  You rated: 5 / 5 (9 votes cast)
 
[23,610 views] Email Article To a Friend View Printable Version
10.5: Parental Controls and authenticating proxies Internet
If your network is using an authenticating proxy for web access (you need to enter a "proxy password" to access the web), then you'll have trouble if you turn on Parental Controls, as the controls will prevent you from authenticating to the proxy.

The Parental Controls feature works by directing all web access for controlled users to an internal Apache web proxy (this proxy is dynamically started when a Parental Controls user logs in). Unfortunately, this proxy eats the HTTP 407 response authentication credentials, so you end up in a never-ending loop of the proxy demanding to know who you are, and the Parental Controls proxy refusing to let you tell.

The only workaround is to disable Parental Controls for the account, in which case you'll need to log out and log back in again for the change to take effect.
  Post a comment  •  Comments (3)  
  • Currently 2.00 / 5
  You rated: 1 / 5 (8 votes cast)
 
[7,426 views] Email Article To a Friend View Printable Version
10.5: Leave certain newsgroup files out of Time Machine Internet
For those of you who frequently download files from newsgroups, you know that you download a ton of *.rar and *.par files, but you only really care about the final resulting file. If Time Machine happens to run while you are downloading all the individual pieces, they will be retained by Time Machine, even after you think you have deleted them. This will eat up precious space on your backup drive on files you know you won't ever really want to recover.

To get around this, I created a Newsgroup Downloads folder within my regular Downloads folder. I then pointed my newsgroup clients: iGrabNews (not working with Leopard yet) and Unison to put all downloaded *.rar and *.par files into this folder. Finally, I went into the Time Machine Options in System Preferences and added the Newsgroup Downloads folder to the list of folders not to back up.
  Post a comment  •  Comments (6)  
  • Currently 2.00 / 5
  You rated: 2 / 5 (8 votes cast)
 
[7,526 views] Email Article To a Friend View Printable Version
10.5: Flush DNS cache Internet
I primarily work with web servers, and I use lookupd -flushcache all of the time to clear my DNS cache.

This morning was moving some websites around using my newly-upgraded Mac, and I went to flush my DNS cache with lookupd and I got a command not found error. It seems that lookupd has been removed in 10.5 and replaced with dscacheutil.

So now I can flush my DNS cache with dscacheutil -flushcache.
  Post a comment  •  Comments (6)  
  • Currently 3.52 / 5
  You rated: 3 / 5 (21 votes cast)
 
[287,746 views] Email Article To a Friend View Printable Version
Remove spam from POP server after Mail download Internet
Tired of embarrassing pages of spam subject lines whenever I use my webmail account, I put together these scripts which delete messages from the server that are in a certain folder on my Mac. These scripts require installing mpop, a command line POP client. The following scripts do the work; no doubt they could be refined, a lot, but they work for me.

To use the scripts, use a Mail rule or have cron run the runfilter script. This will generate a list of your current spam message-ids and run mpop. mpop will then use the filter script to see if messages on the server match your spam message listing (using message-id), and delete them if they do.

The scripts assume mpop is installed in /usr/local/bin/, that the 'filter' script is in ~/Documents » Scripts » filter, and that spam email will be found in ~/Library » Mail » Mailboxes » Spam.mbox » Messages. However, you can change these paths in the first script if you wish.

[robg adds: I haven't tested this one.]
  Post a comment  •  Comments (5)  
  • Currently 2.50 / 5
  You rated: 5 / 5 (8 votes cast)
 
[9,486 views] Email Article To a Friend View Printable Version
Download spam from Gmail via POP Internet
When using Gmail with an email client via POP, spam messages are never downloaded, and remain on the server until they are removed, atask that is done automatically. Sometimes, usefull emails are labeled as spam, and of course, trashed with the rest of spam. If you don't want to enter the web periodically to check your email, then the solution is to download the spam and check it in your client application.

Enter the Gmail filters, and define a new one:
  • In the contains words box, type is:spam, then click Continue. Click OK on the next dialog.
  • Select the option "Omit received (Archive)" -- sorry, I don't know the exact label in English, but it is the first one in Spanish.
  • Save the new filter.
From now on, your spam will be downloaded and processed by your email client. This has been tested with Mail.app sucessfully.
  Post a comment  •  Comments (8)  
  • Currently 2.75 / 5
  You rated: 5 / 5 (8 votes cast)
 
[14,043 views] Email Article To a Friend View Printable Version