You can quit applications by using the Force Quit menu (⌘⌥ESC) but sometimes we need to quite a background application or the application on a remote machine. In Terminal we can do this using the top and kill commands.
Here’s a list of some useful commonly seen Mac symbols, great for when you have to write documentation:
First, pressing ⌘⌥T (Cmd + Opt + T ) will bring up the special characters menu.
To give us access to these technical codes, we’ll need to add them.
Continue reading Mac OS: Useful Unicode Symbols
In this beginner’s tutorial I’ll walk through the steps to making your first Python program that works with the Twitter API. This will allow you to perform actions with Twitter’s code without being on the website, and also open up other options that are not readily available to normal users.
For this tutorial we’re first going to need a Twitter dev account. Don’t worry, this is a very simple step.
Mac OS has Python built-in, and also has the cool command ‘easy_install’ already part of the system. This command lets us easily grab and install Python modules and their dependencies. However, this tool does not allow us to uninstall them. For that we’ll need to get another command – one that we can get using the easy_install command.
First we’re going to install pip on our system, a command that will help us cleanly uninstall Python code when we need to. Open up your terminal and type: Continue reading Mac OS & Python: Add and remove Python modules
Applescript is a great tool for us Mac users. It’s a scripting language that’s easy and simple enough to not scare away true beginners. A fun feature of Applescript is how to write code, since almost looks like regular English sentences. Applescript was the first scripting language I felt comfortable using. However, its ceiling of limits is pretty low. For some tasks it’s better to turn to other tools.
When jumping from the Applescript ship to Python, the water seems mighty cold. There is a lot more ‘computer code’ and all the commands are new and foreign. Plus, the language’s name is a type of snake! You’ll be feeling homesick for the ease of Applescript, but these feelings will pass.
Python’s developers wanted to create a language that was fun to learn and use, that’s why they named it after the British comedic troupe, Monty Python. And when compared to other languages, like C and Pearl, it is easy to pickup and learn. Continue reading Mac OS & Python: An Introduction for the Applescripter
You have a directory full of important folders, and you want each one compressed separately. Doing this by hand would take waaay to much time. Of course, we can do this in terminal, and with one line of code (sweet!) so it’s easy to use.
For this we use the “Find” command built in into our computer. From there we’ll have two choices, to use compress it to a zip file for a dmg file.
For those out there that are new to using Terminal, or need a quick review, this is a quick overview of the “cd” and “ls” commands. These two commands are the basic tools for navigating the file structure “inside” of your Mac. Once these two are mastered, you will be able to comfortably move onto doing cooler, more complicated commands that can be run in Terminal. Continue reading Mac OS: Command basics – “cd” and “ls”
If you are still using an Adobe Photoshop CS3 or CS4, you might have run into some funky Applescript errors. These errors sometimes pop-up as, “Error loading /Library/ScriptingAdditions/Adobe Unit Types.osax”, or “Can’t make 720 into type traditional points”, or something similar.
The fix for this is easy, and is provided straight from Adobe. The error comes from a conflict between the old 32-bit component and the newer 64-bit scripting environment of Mac OS X 10.6+ (Snow Leapard, Lion, and Mountain Lion).
There are three ways to fix the issue, but simplest is to download the updated file and install it into the “/Library/ScriptingAdditions” folder of your Mac, then restart your computer.
Pidgin does a great job of connecting all the chat & IM protocols together, and is available on Windows, Mac, and Linux (yeah!), plus it’s open-source and free! Its interface is dead-simple, but sometimes its setup can be confusing for beginners.
If you have a custom email domain for your gmail account, setting up to use Google Talk through Pidgin needs a couple extra tweaks to the settings. Follow these easy steps to get started.