Random MacOSX tidbits 2
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
-
Lesen Sie Informationen über Internet Casinos auf unserem Online Casino Portal punenet.com. Auch auf Deutsch verfügbar.
-
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.