GCC for those of you who are not familiar with computer programming is a very popular and portal open source compiler for both C and C++. Many mainstream *NIX distributions come with this package installed or ready for deployment right out of the box, I suspected the Macintosh’s BSD base would be no exception. I was wrong. There are a couple of steps we need to take first.
GCC is not available own its own first we need to head over to Apple Developers and download Xcode. Xcode is Apples development environment in which we can choose to install development related packages. You can find the software here: https://developer.apple.com/xcode/. This IDE is a big animal so be prepared for some download delays. Once you have it installed feel free to read forward. Continue reading →
Shortly after moving to the Mac I found myself struggling to set the systems hostname. After years of being a Windows administrator I first decided to check around System Preferences. To my surprise I could not locate the option I was looking for. Eventually after some digging around I found the way to change the Mac OS host permanently. Shall we open a bash terminal? Enter the following into your terminal…
sudo scutil --set HostName XXXXXXXX.local
(Hopefully I did not have to explain to replace XXXXXXXX with whatever you wanted your hostname to be.) Continue reading →
With home networking growing faster and further everyday some of us find ourselves in need of advanced tools to see what is happening out on our networks. Traditionally this would mean searching for reputable software that gives us these abilities. In most cases downloading many tools that do one specific job each. That’s a lot of work! Something you may not realize if you are working on a Mac is that you have a full suite of these tools in the Utilities folder. From the finder bar choose Go > Utilities > Network Utility. You should be presented with a window and toolbar shown below.
Tab 1 – Info Although not really a tool this is still very useful. Here you can find some of the same information as you would expect from the ifconfig command with a few extras. The info tab takes it a step further by including a “Transfer Statistics” pane! Here you can monitor packet loss, collisions and much more.
Tab 2 - Netstat
Netstat is a beast of a network tool that exists in Windows, Linux, Unix and most desktop operating systems. Netstat could be an entire article in itself but I’ll try to stay to the basic idea for this introduction. Netstat has 4 modes of operation in the Network Utility; routing table information, network statistics, multicast information and current socket state. Continue reading →
Removing or uninstalling applications in Mac OS X is as simple as dragging the icon from applications to the trash in the dock but how do we know what gets left behind? It is not unusual for software to create many folders and files that make their operations possible. These files are placed in the deep cold depths of the Mac OS X Library. The Mac has four library locations you should know about;
You may not be familiar with the last 2 locations, that’s because the Mac does not let you see them by default. Although hidden you can still access them from Finder Bar > Go > Go to Folder and entering the respective path.
Like most unix based operating systems Macintosh comes bundled with the Apache web server but starting the daemon has become a little less simple with the latest updates to OS X. Traditionally there has been a Web Sharing option in System Preferences to toggle the httpd service on and off. I am not sure why Apple decided to remove the toggle switch as it seems like a step backward. Never the less the universal binary still exists in /bin/.
Before we go around starting processes we will need to quickly read through our config file for Apache (which from this point forward will be referred to as it’s process name httpd). Continue reading →
Computer security is a major concern for a lot of people now and protecting your information has never been easier with Mac OS X. In this tutorial we will create an encrypted volume and modify it to feel more like a regular folder.
Before we begin lets look at exactly what volumes and images are. Volumes are much like a USB drive, hard disk or CD, they are a file system that the computer can read or write information to. A common volume you may not think about is your Mac’s hard disk, commonly called Macintosh HD. This is where all your data like music, photos and videos are stored for when you need to open them later. An image is a way of packaging one or more volumes to a single file on another volume. Are you still with me? I know that can sound confusing but think of it this way, have you ever copied a CD? The software copying the CD records the file system (all the information on the CD) to your computer’s hard disk as a temporary place to keep it. The software needs some way to recall this information when creating the copy, thus creates an image containing the volume of the CD. Some common image extensions you may have seen before include ISO, BIN and DMG. In the Mac world the common extension is DMG while the Windows world prefers ISO. Hopefully I still have your attention and I promise this will relate to password protected folders very shortly. Let go ahead and get started. Continue reading →
A problem I see coming up more and more with Mac OS X is the doubling up of entries in the systems Open With context menu. It seems when certain applications update themselves they are not removing the old pointer from the LaunchServices database. In other cases that are harder to explain users have opened their menu to find all of the items duplicated several times for no reason. What ever the cause may be the fix is simpler then you may think. Continue reading →
What your looking at is Apple computers new Magic Mouse ushering in the next generation of pointing devices. What makes the magic so special is the touch sensitive top. If you have a MacBook you are most likely familiar with the gestures you can preform on the Trackpad. Similarly the Magic Mouse has different gestures you can preform on the face of the mouse. I’m going to break this review into several categories and score the mouse on each, the categories are…
I would be lying if I didn’t say I took my turn bashing Mac OS along with my Windows friends, but secretly I had always admired the looks and unix core of the system. Something about Mac OS makes it a pleasure to use, whether your editing photos, developing software or up to no-good with the bash terminal. Like most people saying that Mac OS is crap I had never actually had any prolonged experience with it. Growing up I had been fortunate enough to get comfortable withusing Linux due to my boredom and frustrations with the limitations of Microsoft Windows. Linux was my first stepping stone on my way to Continue reading →