Mac OS X

How to persistently set the priority of an app in Mac OS X

The question at superuser.com sounds a bit differently from what I chose for my post. It's: "How do I pass command line arguments to Dock items?". However the point is the same: how to launch an app with a commandline that is a bit different from what the app's developers had in mind.

DiffMerge - cross-platform visual diff tool

DiffMerge is an application to visually compare and merge files within Windows, Mac OS X and Linux.

  • Graphically shows the changes between two files. Includes intra-line highlighting and full support for editing.
  • Graphically shows the changes between 3 files. Allows automatic merging (when safe to do so) and full control over editing the resulting file.
  • Performs a side-by-side comparison of 2 folders, showing which files are only present in one file or the other, as well as file pairs which are identical or different.
  • Right-click on any two files in Windows Explorer to diff them immediately.
  • Rulesets and options provide for customized appearance and behavior.
  • Compatible with 42 different character encodings.
  • Identical feature set on Windows, Mac OS X, and Linux.


Slow DNS lookups in Firefox due to IPv6 issues

I've found that in certain cases Firefox can "hang" (wait for something and not respond Smiling ) while loading a site after a click. It turns out that another possible issue is with DNS lookups.

Using Trim Enabler to add TRIM support for a 3rd party SSD drive in Mac OS X

Apple has added TRIM support for SSD drives in the 10.6.8 patch for Snow Leopard and of course 10.7.* (Lion) has TRIM support too. Unfortunately Apple decided to enable TRIM support only for Apple shipped SSD drives, so people buying an SSD from any other manufacturer have to enable this support themselves.

Fixing hangs of Snow Leopard caused by torrent clients

Using a torrent client with lots of connections my (Snow) Leopard used to get stalled (it just hangs and no app seems to be responding, but the GUI remains mostly functional though). The solution seems to be a bit of a network tweaking.

Porting Team

"The Porting Team is a small community that specializes in porting Windows games and applications to the Mac with some tools we like to call wrappers (Cider, CrossOver, Wine)."

Wineskin (Wine wrapper for use in Mac OS X)

"Wineskin is a tool used to make ports of Windows software to Mac OS X. The ports are in the form of normal Mac application bundle wrappers. It works like a wrapper around the Windows software, and you can share just the wrappers if you choose. Best of all, its free! Make ports/wrappers to share with others, make ports of your own open source, free, or commercial software, or just make a port for yourself! Why install and use Windows if you don’t need to?"

Extracting subtitles from an MKV

Working with MKV (Matroska) video files you'll pretty soon hit on Mkvtoolnix. Using it you can easily extract any track (audio, video, subtitle) from an MKV file.

Mount block file on OSX

It's a bit tricky:
hdiutil attach -imagekey diskimage-class=CRawDiskImage -nomount filename

After that you can mount the disk device as usually:
mount -t ntfs /dev/diskn /mnt
(where n is the id of the disk device you got from the first command)

Mac OS X v10.6: Starting up with the 32-bit or 64-bit kernel

The available methods are:
  • To start up in 32-bit mode, press the keys "3" and "2" during boot. To start in 64-bit mode, press the keys "6" and "4" during boot.
  • To make your system boot in a specific mode persistently, use one of these commands:
    sudo systemsetup -setkernelbootarchitecture x86_64
    or
    sudo systemsetup -setkernelbootarchitecture i386
Syndicate content