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

Open source WaveLAN drivers available System
[Editor's note: Submitted by ehintz on July 6th. This story is great news for those of you using non-Apple wireless cards to access your network. Check out the referenced MacNN forum for some great info about the drivers and how they came to be!]

Open source OS X drivers are now available for Lucent's WaveLAN cards. Instructions for installation can be found in this MacNN forum.
  Post a comment  •  Comments (2)  
  • Currently 4.50 / 5
  You rated: 4 / 5 (2 votes cast)
 
[2,696 views] Email Article To a Friend View Printable Version
Scroll wheels and MoviePlayer Apps
[Editor's note: Submitted by Nick Jones on July 5th.]

I had just downloaded a rather large mpg of A Perfect Circle performing on Conan the other night, and was trying to see what brand of drums Josh Freese uses.

I had paused the clip, and accidentally pushed the scroll wheel on my Logitech scrolling mouse forward one "click".

Much to my amazement, the video advanced one frame. This works backwards and forwards and is very smooth and exact on a B&W G3 400/512.

For all you DV editors out there using MoviePlayer for playback, this is an awesome way to simulate a jog wheel on a break out box on the cheap. I haven't checked to see if this works in iMovie as well but I would bet it does...

Thanks for a great site!
Nick Jones
  Post a comment  •  Comments (0)  
  • Currently 2.25 / 5
  You rated: 3 / 5 (4 votes cast)
 
[1,990 views] Email Article To a Friend View Printable Version
How to run CGIs from the user's Sites folder UNIX
[Editor's note: Submitted by Crusty on July 5th. This question has been asked numerous times in the last month, so I figured I would see if one of the Apache wizards out there can provide the answer for the interested readers...I have an idea of what needs to be done, but not all the details.]

Hello all,

I've recently installed OS X on my Powerbook and love it. The main reason I purchased OS X was so I could work on Web pages that use SSI, Perl, PHP and MySQL without always having to connect to the Internet. I've followed some tutorials on this site about installing Apache, PHP and MySQL, and have them all running properly from my user directory called "Sites"!! I love it. But... I can't get any CGI/Perl scripts or SSI to work properly. I've used the terminal to go into the config file and altered the following lines:
Options Indexes FollowSymLinks MultiViews ExecCGI +Includes
and
DirectoryIndex index.html index.htm index.shtml
and
AddType text/html .shtml
AddHandler server-parsed .shtml
Neither CGI or SSI work in my users "Sites" folder, but PHP and MySQL do. What have I missed? How can I get CGI/SSI to work in my personal site? Any help would be greatly appreciated.
  Post a comment  •  Comments (11)  
  • Currently 4.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[8,090 views] Email Article To a Friend View Printable Version
New auto-change desktop picture script UNIX
[Editor's note: Submitted by Tony Williams on July 5th. I have not personally tested this script yet, so use at your own risk.]

Hi,

I did some hacking and testing of robh's Perl script to auto change the desktop picture. Step one was to fix the way it killed the Desktop rather than the Finder (much safer). The other was to fix the handling of the file URL so that it worked with all Mac file names, including ones with spaces or other characters.

Read the rest of this article if you'd like the new and improved script.
read more (289 words)   Post a comment  •  Comments (2)  
  • Currently 4.67 / 5
  You rated: 5 / 5 (3 votes cast)
 
[8,542 views] Email Article To a Friend View Printable Version
A replacement 'page' command UNIX
[Editor: Submitted by Mike Stolove on July 4th]

I find the default pager (more) for the 'man' info pages to be buggy. Pressing F forwards 3 pages instead of one, it always exits at the last page, and the formatting can be improved. I prefer the program less. To change it, add this line to your ~/.login file:
setenv PAGER /usr/bin/less
This should help because, as we all know, man is dogs best friend.

Mike Stolove
Toronto
  Post a comment  •  Comments (0)  
  • Currently 4.00 / 5
  You rated: 5 / 5 (4 votes cast)
 
[1,943 views] Email Article To a Friend View Printable Version
OS X GNU software packages UNIX
If you're looking for some of the more common GNU software programs pre-compiled in easy-to-use package installers, check out osxgnu.org for things such as Pine, Bash, Lynx, etc. If you don't have the developer tools installed, or simply want an easier way to get at some of the more common GNU packages, osxgnu.org seems like a good source.

Thanks to Beckie Pack of OnlyMacintosh for contributing this tip.
  Post a comment  •  Comments (0)  
  • Currently 4.00 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (1 vote cast)
 
[2,811 views] Email Article To a Friend View Printable Version
OS X Server - Error with POST and CGIs? OS X Server
An contributor pointed me to a discussion on the Apple Discussion boards concering POST and CGI's on OS X Server. It appears that when the POST method is used on a web page, the contents of the variables that are "posted" are not sent to the CGI. Since the CGI is expecting input and receives none, it will not work correclty.

Check out the discussion if you're having trouble with POST functions and OS X Server...as of now, there are no solutions listed, but there is active conversation on the topic.
  Post a comment  •  Comments (0)  
  • Currently 1.75 / 5
  You rated: 3 / 5 (8 votes cast)
 
[2,328 views] Email Article To a Friend View Printable Version
Changing shortuct keys in 'Services' Apps
I was reading a thread in hear talking about a problem with Services ( Mail, Grab, OmniDictionary, etc. -- Oh yeah, don't forget Quake 3 Arena [1.29f] ), namely that you can't know which Service is going to get a key if they both have it defined for a shortcut.

I ran into this problem myself today. I downloaded OmniDictionary and InstantLinks, and they both define the same two keys for the same two options ( "Lookup in Dictionary" and "Open URL" ). I prefer OminDictionary's much more featured lookup ( InstantLinks just jumps to m-w.com ), but Instant had taken over the 'Command-=' key. I tried a number of experiments to see if I could control which Service got the key. I thought perhaps the "Install" order might have something to do with it, but no cigar ...

[Editor: If you're interested in changing the keys assigned to various system services (available under the "Program menu" in the menubar), read the rest of this article for the how-to ... it's fairly easy, and definitely a handy tip!]
read more (274 words)   Post a comment  •  Comments (5)  
  • Currently 3.50 / 5
  You rated: 3 / 5 (4 votes cast)
 
[5,627 views] Email Article To a Friend View Printable Version
Run shell scripts from GUI Apps
[Editor: Please see the comments; this is probably NOT the best way to do this!! Kill is fairly abrupt, and will end ALL terminal sessions. The comments have some alternative.]

This is one I've been trying to figure out for quite some time and finally managed to figure out so I thought that I'd share it with you.

I wanted to run a shell script from the GUI and have the Terminal close itself down at the end of the script. The only way I knew to do this was to use a modified version of the Dock Restart script from elsewhere on this site. i.e.

TERM=`ps aucx| grep Terminal | cut -d ' ' -f 4-5`
kill $TERM

but this would result in a "Application unexpectedly quit" error message. If you change the line "kill $TERM" to "kill -9 $TERM" the error message no longer appears. Simply add those lines at the end of your script to make the Terminal vanish when the script is complete.

So now to make a script executable from the GUI.
1) Type the script in your favourite plaintext editor, include the above script at the end.
2) from the terminal run "chmod +x Text.file" (Where Text.file is your files name)
3) In the Finder do a 'get info' on your text file and change the Application to Terminal.
4) Double click the file and voila a script that runs itself and then quits the terminal with no error.

I hope this helps a few people.
  Post a comment  •  Comments (8)  
  • Currently 3.00 / 5
  You rated: 3 / 5 (4 votes cast)
 
[6,997 views] Email Article To a Friend View Printable Version
Hide any program's dock icon Desktop
Thanks to the recent version of Launch Bar (IMHO the finest App Switcher+ I've ever had the pleasure to use), their instructions for hiding the icon in the Dock appears to work for any application:
In order to get rid of the dock icon, you must modify the file named 'Info.plist' inside the Application's package (i.e. Sherlock.app/Contents/Info.plist). Open this file in your favorite text editor and add the following section (if it's already present simply change the 0 to a 1 in the string tag:
[KEY]NSUIElement[/KEY]
[STRING]1[/STRING]
NOTE: I substituted the standard square brackets for the purposes of posting here; you must substitute the angle brackets when editing. So far I've hidden my Sherlock and System Preferences icons. With the System Prefs you will have to write-enable the 'Info.plist' file by changing the permissions in a Terminal window:
sudo chmod 464 /Applications/System Preferences.app/Contents/Info.plist
Enjoy!


Panther broken!
  Post a comment  •  Comments (29)  
  • Currently 3.17 / 5
  You rated: 5 / 5 (12 votes cast)
 
[156,913 views] Email Article To a Friend View Printable Version