Category Archives: Mac OSX

Git error after updating Xcode

Few days back I updated my Xcode and today when I opened my IDE to start coding, I realized the IDE is not recognising Git on my computer, so I tried to run git in terminal:

git --version

and I got the following error:

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

so I search internet and I found  Continue reading Git error after updating Xcode

Map a network drive in Mac OSX

There are several places where you need to map a network drive to your computer, for example when you are in a company network and you want to have the shared network drive of your company domain on your computer. The term “mapping” is a technical term for mounting or loading a network drive to a computer.

For this purpose there are more than one way to do it and map the network drive to your Mac OSX and in this article I’m explaining two of those ways which are easier, faster and safer, one from Finder window and the other one from Terminal.

Continue reading Map a network drive in Mac OSX

Find MAC Address of your Mac or Linux

Sometimes when you want to connect your computer to a new network via ethernet cable, network administrators may ask for your ethernet port MAC address (a.k.a physical address). There are several ways to find this address which is basically a number in a specific format and I’m going to explain these ways for all Linux-based operating systems in this post.

Continue reading Find MAC Address of your Mac or Linux

Install KeePass on Mac OSX

Most professionals use multiple highly complex passwords for every purpose  so the only problem usually occurs is saving password somewhere safe and accessible. There are few good choices for storing passwords, some are online such as LastPass and some are off-line in which the passwords will be encrypted and stored in files. The best password manager application I know and ever tested is KeePass.

The main reason why KeePass 2.x  is not so popular in Linux base operating system community is because this software does not have Linux or Mac version, but it is easy to run it on Linux. Mind that there are some native Linux applications such as KeePassX that can handle .kdb files which is used for KeePass 1.x but the KeePass2.x uses another file format which is .kdbx

In this tutorial, I’m going to write the best way to install KeePass on Mac OSX. Also you can find how to install KeePass on Linux in this website.

Continue reading Install KeePass on Mac OSX

Install wget on Mac OS X

When you are a Linux user, you are so familiar to wget command. In simple words, it is a command to download file from a given URL and port. Most Linux users and some windows users are familiar to this handy command download tool and on most Linux distributions it is pre-installed, but on Max OSX it is not installed and Apple does not offer it in AppStore, so the suer should install it manually, which is so straightforward, fast and easy.

In this tutorial I want to describe how to install wget on Mac OS X.

Continue reading Install wget on Mac OS X

Limit application CPU usage in Mac

This problem occurred to me when I was contributing with Folding@Home project of Stanford University. Their application (also known as fahclient) was using all my computers CPU and the temperature of my Mac’s graphic card was around 89 degrees centigrade. So I tried to limit the CPU usage of this application within it’s preferences menu, but it was not working at all, so I searched Internet and I found that this is a common problem an the solution was not that well-known ! So in this post I’m going to describe how to limit application CPU usage in Mac OSx. In this tutorial I’m going to use cputhrottle which is a small OS X command-line utility designed to limit the CPU usage of a process to which it attaches.

Continue reading Limit application CPU usage in Mac