Archive for osx
how to clear dns cache osx Leopard
DNS request are usually cached, that’s good as it help to speeds up the lookups within the same host but sometimes we will want to clear the cache so it don’t hold the values that are no longer valid. To clear DNS cache in Mac OSX, we can do it with the help of Terminal. [...]
Read morehow to map a network drive in mac OS X
How to map network drive in Mac OS X. 1. In the Finder, click on the Gomenu, select Connect to Server. 2. Enter the address to where the resource is you wish to map. (i.e. smb://www.domain.com/foldername) 3. Enter your network password when prompted. 4. A new icon should appear on the desktop. That is your mapped network drive.
Read moreremove all .DS_Store files in a directory
The following command will remove all .DS_Store files in a directory where it is executed as well as that particular directory’s subdirectories: find . -name ‘*.DS_Store’ -type f -delete Why would you want to remove .DS_Store files? The .DS_Store files store Finder-specific preferences concerning the display of each of your folders. Removing these files is [...]
Read moreOSX pmset Power Management Command Line Tool
NAME pmset — manipulate power management settings SYNOPSIS pmset [-a | -b | -c | -u] [displaysleep minutes] [disksleep minutes] [sleep minutes] [womp 1/_] [ring 1/_] [autorestart 1/_] [powerbutton 1/_] [lidwake 1/_] [acwake 1/_] [lessbright 1/_] [halfdim 1/_] [sms 1/_] [boot] pmset -u [haltlevel percent] [haltafter minutes] [haltremain minutes] pmset -g [custom | live | [...]
Read moreOSX Sudden Motion Sensor
Replaced internal HD with Western Digital Scorpio 1TB SATA 8MB Cache 2.5 inch Blue Internal Hard Drive Not sure if it’s benificial to disable the OSX Sudden Motion Sensor as I have read that the Scorpio 1TB HD has Motion Sensor built in. Sudden Motion Sensor is designed to help prevent disk issues if the computer [...]
Read moreMake Internet Sharing DHCP work OSX 10.5
The following procedure is confirmed to work as written. Start Internet Sharing if it’s not already running. In Terminal, type cp /etc/bootpd.plist /tmp/bootpd.plist Stop Internet Sharing. Open /tmp/bootpd.plist for editing using TextEdit or whatever. Locate this section of the file, near the end: <key>reply_threshold_seconds</key> <integer>4</integer> Change the value 4 to 0. In Terminal, type sudo cp /tmp/bootpd.plist /etc Start Internet [...]
Read moreSnow Leopard OSX support for SSD “TRIM” command
Not yet … let me know when it has been implemented.
Read moreMacBook Pro 256GB SSD upgrade experience
Choosing a drive There are a bewildering number of options out there. Budget, as always, dictates the combination of speed and size available. Size You may not need as much space as you think so even if you intend on a fresh install clean-up your current drive to get an idea of requirements. Remembering to [...]
Read moreHow to edit the hosts file in Mac OS X
Step 1 – Open the Terminal.app Either by start typing Terminal on the Spotlight, or by going into Applications -> Utilities -> Terminal. Step 2 – Open the hosts file Open the hosts by typing on the Terminal that you have just opened: $ sudo nano /private/etc/hosts Type your user password when prompted. Step 3 [...]
Read moreHow to delete GPT Protective Partition with windows XP
In Windows XP Professional, if you cannot access or modify GPT disk, you can convert a GPT disk to MBR by using the clean command in DiskPart, which will remove all data and partition structures from the disk. Go to DOS command line (click on “Start Menu”, then “Run”, type in “cmd” in textbox, and [...]
Read more