Mac / MacOS / MacOSX - A Unix that you can let your kids use. |
| Friday, 19 May 2006 11:28 |
|
So it has been awhile since I last used a Apple. In fact, some of the last times I remember being on a mac involved developing hypercard stacks for my elementary school. Hypercards were pre-html html, you had a set of cards, and you linked them together with scripting, displayed images and text, etc.
It was pretty amazing stuff back in the day. This was on the Machintosh. You know, after the Apple IIe. Anyways, enough history. I just bought a new iMac 20" Intel dual core. oy am I happy. I've been away for so long! Now the OS is based on bsd so I feel right at home. The thing that attracts me most to the new macs is that they can run all the great software I've been using on my Linux and Unix machines over the years. gcc,makefiles,grep,ssh,wget,etc,etc PDF printer on the mac.Looks like it is nice and easy to add a PDF printer to MacOSX. MacOSX includes CUPS. Nice!codepoetry - CUPS-PDF Package for Mac OS X Setup network sharing with BonjourHave you ever needed to get to a machine that you know is on the same local network but don't know its IP? Bonjour allows you to find computers by name on your network without having to look it up or setup DNS. Instead, just add .local to your hostname and you are set! Very neat.About Bonjour Bonjour, also known as zero-configuration networking, enables automatic discovery of computers, devices, and services on IP networks. Bonjour uses industry standard IP protocols to allow devices to automatically discover each other without the need to enter IP addresses or configure DNS servers. "Bonjour is a networking protocol that sends and receives network packets on UDP port 5353. If you have a firewall enabled, you will need to ensure that UDP port 5353 is open for Bonjour to work correctly. Certain firewalls will only partially block Bonjour packets, so if you experience intermittent behavior, check the firewall settings and verify that Bonjour is listed as an exception and is allowed to receive incoming packets. Bonjour will configure the Windows firewall appropriately during installation on Windows XP Service Pack 2 and above." -- [Bonjour for Windows 1.0.3] Bonjour for Windows - O'Reilly ONLamp Blog Developers can download the Bonjour SDK to add Bonjour technology to their applications. For more information about developing products that use Bonjour, and to download the SDK, please visit Screen saversmikeash.com: ChemicalBurn - ChemicalBurn is a screensaver that simulates a transportation network. Packages are generated with a destination, and attempt to find the fastest way there. Frequently used routes get faster, making them more popular. The result is a beautiful self-organizing network colorfully displayed on your screen.Some resources I've foundMac OS X Internals: A Systems ApproachMacBook motion sensor malarkey gets useful Version Tracker for MacOSX Key mappings on the macMac Tip: Access the Dock and Menu Bar from Your KeyboardDan Rodney - Mac OS X Keyboard Shortcuts I know this seems like a silly thing to be annoyed about...but some keys don't work the same on the Mac as they do on Win machines. For instance, "home" and "end" keys on Win machines move you to the start and end of your current textbox. On the Mac, "home" and "end" are used to scroll you to the top and bottom of your current document. (this can be really annoying if you are trying to select all the text in your textbox by holding "shift" and hitting "home"). The solution to this is to use "Apple-A" to select all the text, then hit the left arrow. Or you can use the Win equivalent "Apple-Leftarrow" and "Apple-Rightarrow" to move "home" and "end" respectively. It is funny what can annoy you when switching to a new platform. Help, my mac mouse won't workCould be that you have Mouse Keys enabled. To disable hit the "Option" key five times to toggle Mouse KeysOpen an app from terminalopen -a "Activity Monitor"Get a root account in your terminalbox:/path username$ sudo -s File sharing with windowsFirst off you need to turn sharing on by doing the following
Install SharePoints Remember that NTFS is read only! 10.4: An overview of NTFS support in Tiger FINK - More unix like ENV for MacOS using finkFink is a project that brings tools like dselect and apt-get to Darwin and MacOS X.If you know how to use dselect or apt-get, then you'll know how to use fink. All the software packages that fink installs goes into the /sw/ directory. If you need to uninstall simply: rm -rf /sw/ To setup fink to install unstable packages, you need to add "unstable/main" and "unstable/crypto" to the "Trees:" line. This what what my line looks like: Trees: local/main stable/main stable/crypto unstable/main unstable/crypto vi /sw/etc/fink.conf; fink selfupdate; fink index; fink scanpackagesYou can also just run "fink configure", which will ask you a question to add unstable. To list the files installed by a package use dpkg. dpkg -L packagename Remote desktopRemote desktop or RDP is something I really want.Windows RDP client for mac Why Apple Makes a One Buttoned Mouse Eek! A Two-Button Mac Mouse? http://www.macosxhints.com/ StuffIt Standard 11.0 icon Chick of the VNC Open source software for the mac Audio toolsSwitching audio devices should be a one or two click thing in every OS. I have to install special apps on all my OS's to provide this functionality...For device selection checkout the free SoundSource utility. AppleScript Audio Output Switcher Soundflower - Free Inter-application Audio Routing Utility for Mac OS X FlickrBooth - a plugin to upload photos to Flickr right from photobooth. Mac OS X Packages - Subversion - fink's svn client doesn't include ssl support. These packages work for me. You will also need to make sure /usr/local/bin is in your path after install. Upgrading autoconf and automake on MacOSXFor some reason, Mac OS X 10.4.9 distributed with autoconf 2.59, automake 1.6.3. I was surprised to see that the old versions were included...autoconf/automake had better versions available at the time of packaging for MacOSX 10.4. At least fink makes it easy to upgrade these nice tools. I wouldn't try downloading and installing the packages from source. I've made that mistake.% fink selfupdate (update package descriptions, re-index) % fink install automake1.9 (gets you automake 1.9.6) % fink install libtool14 (gets you GNU libtool 1.5.22) % fink install autoconf (gets you autoconf 2.60)This information was nabbed from autotools on mac os x The MacPorts Wiki How to define environment variables so that MacOS X applications can see them. (/etc/profile for global stuff) Copy path to clipboardOn windows, I've found a shell extension which allows you to select a file(s) and copy the full path to the clipboard. This comes in handy all the time for developers as we are working with files all the time.So now, off to find a way to do it in mac... Drag the file into Terminal and it automatically puts the path in your Terminal window. Writing Contextual Menu Plugins for OS X, part 1 FileUtilsCM FileXaminer Python on the macUsing fink makes it painless to install python and some popular python libraries.# as always it is nice to update fink (things work better that way) fink selfupdate fink update-all fink install scipy-py25 fink install matplotlib-py25 fink install pygame-py25 fink install ipython-py25 # create this link to make python2.5 the default python on the cmdline. sudo ln -s /sw/bin/python2.5 /sw/bin/python Configuring and Running X11 Applications on Mac OS X MacDailyNews - Lock your Mac OS X screen from the menu bar by adding lock icon Macworld: Mac OS X Hints: Quickly lock your screen Filesystems on the macOn a mac, writing to NTFS is not available out of the box in 10.4. Instead, we can install MacFuse and use NTFS-3G to obtain write access.How-to: Read and Write NTFS Windows Partition on Mac OS X - lifehack.org macfuse - implements a mechanism that makes it possible to implement a fully functional file system in a user-space program on Mac OS X. NTFS-3G: Stable Read/Write NTFS Driver MPlayer - The Movie Player - a very good open source cross-platform video player! Great for MacOSX. I thought it was pretty neat that you can drag and drop colors to set your Terminal background. Macworld: Mac OS X Hints: Set Terminal color via drag and drop DittyBot - An Applescript Adventure at Plastic Bugs iShowU - a nice screen cap program for the mac, $20 bucks. Ctrl-Click on app, "Show package contents" gets you into the packaging directory for an app. Chmox - a Mac OS X CHM viewer Cocoa for Windows + Flash Killer = SproutCore — RoughlyDrafted Magazine Applescript programmingAppleScript Language Guide: Introduction to AppleScript Language GuideCool utilities and apps for the maciTerm - iTerm is a great terminal for MacOSX. It provides a nice tabbed interface...emulation is also a bit better than Terminal.coconut-flavour.com - [coconutBattery 2.6.5] - this app can tell you about the load cycles, age, and capacity of your battery. (current battery mAh and original battery mAh) Very neat....shows me just how bad my battery has become... Transmission - is a fast, easy, and free multi-platform BitTorrent client. InsomniaX - allows you to turn off sleep/hibernate on your macbook when you close the lid. GIMP on OS X - GIMP goodness on MacOSX How to Clone Mac OS X to a New Hard Drive done using SuperDuper!, cool cloning is free! git on the macIt would be nice if git were included on the base install....Anyways, I've used the git-osx-installer - Google Code before with success. It also includes a finder plugin for launching git-gui. OpenInGitGui - git-osx-installer - Google Code. compare two folders on macFileMerge is a tool within the Apple Developer Tools. In /Developer/Applications/Utilities...or use spotlight to start it... Shows differences between files/folders on MacOSX.Homebrew - brew for macbrew is another package manager, written in Ruby. The preference is to install it into /usr/local. I have used it to install git and other code before with success. I like what I see.Check it, install brew: curl -Lsf http://github.com/mxcl/homebrew/tarball/master | sudo tar xvz --strip 1 -C/usr/local
Homebrew — MacPorts driving you to drink? Try Homebrew!Homebrew: OS X’s Missing Package Manager | Engine Yard Ruby on Rails Blog |
| Last Updated on Thursday, 16 June 2011 08:33 |

