Random MacOSX tidbits 2

Posted by Peter Burkholder Tue, 18 Sep 2007 10:02:00 GMT

Disk cleanup aides

Again, some chatter at work that I wanted to note for

  • Grand Perspective
  • Disk Inventory X
  • OmniSweeper
  • AppZapper: find and destray application that haven’t been used in a long time
  • Monolingual: remove localizations for unused languages
  • Delocalizer: ditto

Setting localhost DNS for development sites (Mac OS X)

There’s been a discussion at work on how to get devlelopment sites, e.g. http://mysite.local, to resolve to 127.0.0.1. My colleague Ethan Winn passed along this:

#!/bin/sh

# usage:  make_vhost_dns.sh my_site.dev.local

sudo niutil -create . /machines/$1
sudo niutil -createprop . /machines/$1 ip_address 127.0.0.1
sudo niutil -createprop . /machines/$1 name $1
sudo niutil -createprop . /machines/$1 serves './local'
exit

That’s all

Comments

Leave a response

  1. internet casinos Thu, 29 Nov 2007 08:12:54 GMT
    Lesen Sie Informationen über Internet Casinos auf unserem Online Casino Portal punenet.com. Auch auf Deutsch verfügbar.
  2. migliori bonus del casino Sun, 09 Dec 2007 04:54:56 GMT
    Chi sceglie i migliori Bonus del casino non se ne pente mai ed in fin dei conti vince più soldi ai giochi del casinò, come vedrete nel nostro sito.
Comments