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

Fixing misnamed downloads Internet
I've noticed when downloading programs from some sites that the file often doesn't show the proper name, but shows the name of the Perl script which initiated the download. (eg, This usually shows as a text file or generic document.

Experimenting by renaming the .pl extension to either .sit or .dmg, usually solves the problem as downloads are usually Stuffit files or Disk Images.

[Editor's note: I haven't noticed this problem in Mozilla...]
  Post a comment  •  Comments (3)  
  • Currently 3.33 / 5
  You rated: 3 / 5 (3 votes cast)
[2,452 views]  View Printable Version
Delete pop mail with a perl script Internet
I tried every shareware that's supposed to let you delete all your mail without downloading them first, but none worked with OS X.

Here's a very simple perl script that does just this. Be warned, though, that it deletes EVERYTHING without giving you any chance to cancel the process...

You will need the Net module available at CPAN (use these commands: perldoc perlmodinstall and perldoc Net::pop3)

use Net::POP3;
 $pop = Net::POP3->new('my.pop3.server');
 $tot = $pop->login('user','login');
 printf("$tot messagesn");
 for($i = 0; $i<$tot; $i++){

  Post a comment  •  Comments (0)  
  • Currently 2.60 / 5
  You rated: 5 / 5 (5 votes cast)
[9,786 views]  View Printable Version
Apache Web-Serving with OS X, Part 5 Internet
Kevin Hemenway (aka Morbus Iff) returns with his fifth article concerning Apache, OS X, and the immense power available to the common man.

Having established a good, firm pool of Apache knowledge in the first four articles, Kevin takes the time to focus on a popular supplementary technology, namely the database server MySQL.

[Sudo Editor's Note: This story was originally mentioned by Robg and placed into the links section. I felt it worth mentioning these articles again for they are well written and informative for all.]
  Post a comment  •  Comments (0)  
  • Currently 3.00 / 5
  You rated: 5 / 5 (3 votes cast)
[4,618 views]  View Printable Version
Adding a custom SSL Certificate Internet
We have a private SSL CA which is used internally for things like code signing and providing SSL for our mail and private web servers. Unfortunately, this means that certain interface-challenged applications like OS X's won't connect using SSL because they don't trust the certificate. Additionally, apps which might allow you to continue tend to display very scary messages, which results in a lot of questions with multiple users on the same machine.

The certificate store is in: /System -> Library -> Frameworks -> CoreFoundation.framework -> Versions -> A -> Resources -> RootCerts.pem

Appending the PEM format key to the end of this file will fix this problem. Note that this requires root and, as always, you should double-check everything before hitting enter. In particular, if you use cat make sure that you don't overwrite that file using > instead of >>. If your certificate isn't in PEM format (mine was DER), you can convert it with OpenSSL. First test with:
openssl x509 -in my-cert.cer  -inform DEN -text
If that displays the expected info, then:
openssl x509 -in my-cert.cer  -inform DEN -out my-cert.pem -outform PEM
[Editor's note: I have not tried to test this as it would first require creating my own SSL certificate ... and I wouldn't know where to start with that task!]
  Post a comment  •  Comments (11)  
  • Currently 3.25 / 5
  You rated: 5 / 5 (4 votes cast)
[19,578 views]  View Printable Version
Add iTunes song info to your AIM profile Internet
Have you ever wanted to let the world know what song you're currently listening to? If you use AIM (America Online's Instant Messenger), now you can! The following AppleScript takes the currently playing song and places it in your AIM profile for all to see.

Read the rest of the article for the script and instructions.

[Editor's note: I have not tried this myself, but it seems like an interesting trick and opens up some cool posibilities for other dynamic content.]
read more (180 words)   Post a comment  •  Comments (15)  
  • Currently 2.80 / 5
  You rated: 1 / 5 (5 votes cast)
[26,713 views]  View Printable Version
Make the PPP menu item open IE instead Internet
This makes the Open Internet Connectů PPP menu item open Internet Explorer.

Open up System > Library > CoreServices > Menu Extras. Control-click and choose Show Package Contents. In the window that opens, go to Contents > Resources > English.lproj and open Localizable.strings.

In the TextEdit window that opens, replace "Open Internet Connectů" with "Open Internet Explorerů" and "Internet" with "Internet". Quit TexEdit and save changes. Restart.

After you restart and login, click on the PPP menu and choose Open Internet Explorerů. IE should open!

[Editor's note: Please make a backup of anything you modify before you start!]
  Post a comment  •  Comments (2)  
  • Currently 4.00 / 5
  You rated: 5 / 5 (3 votes cast)
[3,245 views]  View Printable Version
Search Google from any services-aware app Internet
Found on Apple's Mac OS X software download pages, "Search Google" is a Services addition that allows you to search Google from any Services-aware Application: select a text string and type cmd-shift-G, you fly!

Drop it in your ~/Library/Services folder (create the folder it if it doesn't exist); it will be there the next time you log in.

You want to know what a Phantastron is? Highlight the word and type cmd-shift-G. I am using this two to three times a day in OmniWeb. It works for all Cocoa applications and some Carbonn apps, but no Microsoft apps so far :-(

Now, if you want to know how smart Google is, try a search for landscape images. They know where you live! Awsome, a Windows "friend" of mine said ... Well, here is one more reason to love our platform!
  Post a comment  •  Comments (10)  
  • Currently 2.67 / 5
  You rated: 3 / 5 (3 votes cast)
[6,565 views]  View Printable Version
Quickly translate any web page Internet
To quickly translate any page from Japanese to English, first visit the page you would like to translate. Then paste the following into the address bar:


You can even add a link to your favorites that will translate any page:

Translate into Japanese

These can be modified to work with different languages, and you can reverse the "ja_en" (for example) to translate in the other direction.
  Post a comment  •  Comments (5)  
  • Currently 3.67 / 5
  You rated: 3 / 5 (3 votes cast)
[15,558 views]  View Printable Version
Track your web stats with Urchin Internet
If you are interested in another web stats package, check out Urchin. I have successfully configured this for MacOs X 10.1.2. It is a very cool stats package. They do not offer much in the line of the free version, but it is a very cool application.

You will be able to view Visitors, Pageviews, Hits, and Bytes transfered. I have been using it at work for about 4 months now and thought I'd try to install it on OS X. They have a demo on their site you can look at.

[Editor's note: I have not installed this package, so I can't vouch for what it may or may not do, but it looks like a fairly robust stats program.]
  Post a comment  •  Comments (0)  
  • Currently 3.67 / 5
  You rated: 5 / 5 (3 votes cast)
[2,847 views]  View Printable Version
Alcatel USB (ADSL) driver installation tip Internet
This may be obvious to most people, but when downloading the drivers for your USB ADSL modem in OS 9 (prior to installing them in OS X) DO NOT unzip the file - if you use the OS 9 unzipped version in X the install will fail, or at least not install properly. This results in the LEDs on the modem flashing nonstop, and you will not be able to connect. Unzip in X and it works just fine.

(I found this solution on a French language site - Alcatel is a French company - and the hardest part was trying to translate the French!)
  Post a comment  •  Comments (0)  
  • Currently 2.50 / 5
  You rated: 1 / 5 (2 votes cast)
[3,007 views]  View Printable Version