Posts Tagged ‘Mac’

Everyday more and more developers are switching to a Mac for development. For instance take a look at photos taken from the recent Google IO 2011 event, MBPs are everywhere. I am writing this post to help future or current Mac developers, so here is the list of my coding tools of the trade on the Mac. Please leave a comment if you find one of the following apps useful, or have alternative apps/solutions!

1. iOS (iPhone/iPad) and Mac development
For iOS and Mac coding Xcode is the ultimate tool. Xcode 4 has a really intuitive interface, compacts everything (code editor, UI editor etc) on a single window, supports tabs, and lot more. If you enrol on an Apple developer program, then you can get it for free, else you can find it on the Mac app store for 3.99€.

2. HTML/PHP/JavaScript/jQuery

For HTML/PHP/JavaScript/jQuery web projects I prefer Komodo Edit. Komodo Edit is a cross-platform (runs on Mac, Linux, Windows) editor, offering autocomplete syntax, project management, integrated file browser. I really enjoy the fast search (or search and replace) functionality. Hardcore users can even use VIM shortcuts. Have I mentioned that it is completely free? Yeap, and you can even code in Python, Ruby and more.

3. Java

For Java projects I choose Eclipse over NetBeans. I am not going to compare those two on this post, I am just more comfortable with Eclipse, Google provides official plugins for Eclipse (GWT, App Engine, Android). Both of them are free, and come in lots of flavors depending on the type of projects you want to develop.

4. Single file code viewing/editing
Sometimes you just have to quickly view or edit a single file. For this purpose TextWrangler  always comes in handy. I have previously reviewed TextWrangler as the best alternative to Notepad++ for Mac OS X. TextWrangler is free and available on the Mac App Store.

5. Source control

Every coding project should be under source control. I am a Git fan, managing it only via the terminal. Git is a free and super fast distributed source control system. You can also find valuable open source projects online at GitHub.

6. Apache/MySQL/PHP environment

For setting up an Apache/MySQL/PHP environment, the easiest solution is to install MAMP. Although you can individually setup Apache, MySQL, and PHP on the Mac OS, MAMP keeps everything in a single place. MAMP allows you to single-click start Apache/MySQL services using a widget. Of course you have full access to the httpd/php/mysql configuration files, you can install plugins, tweak etc. MySQL can be directly managed from the bundled phpMyAdmin. MAMP behaves like a regular app, meaning that you can uninstall it via a single drag and drop operation.

7. FTP/S3 file transfers
For  FTP/S3 file transfer purposes I have recently switched to Transmit. Transmit provides fast and reliable file transfers, easy favorites/bookmarks site management, and a dual-pane interface. You can buy Transmit via the Mac App Store for 26.99€, or purchase additional licenses via their website.

8. SQLite manager
SQLite databases can be accessed via a Firefox plugin called SQLite Manager.  SQLite Manager has a simple UI for running SQL queries, importing/exporting data, and managing your database. Free.

Read Full Post »

Java for Mac OS X 10.6 Update 2 delivers improved compatibility, security, and reliability by updating Java SE 6 to 1.6.0_20.

Please quit any web browsers and Java applications before installing this update.

For more details on this update, please visit this website: http://support.apple.com/kb/HT4141

For information on the security content of this update, please visit this website: http://support.apple.com/kb/HT1222

Update via the “Software Update…” on your Mac!

Read Full Post »

Photoshop for Mac, both CS4 and the latest CS5 editions, have a quite peculiar default option enabled.

While zooming in or out of any opened image, the image window is being automatically resized.
Personally I find it on one hand a bit helpful for the zoom-in function, but on the other hand highly annoying for the zoom-out function.

If you are trying to disable this feature, then simple go to:
Photoshop -> Preferences -> General…
And uncheck the option “Zoom Resizes Windows”, as shown on the screenshot below.

On a side note, this option is not enabled by default on the Windows Photoshop version.

Read Full Post »

Amazon has released the first beta version of Kindle for Mac.

Here is a features list:

– Get the best reading experience available on your Mac. No Kindle required.
– Access your Kindle books even if you don’t have your Kindle with you.
– Automatically synchronizes your last page read and annotations between devices with Whispersync.
– Create bookmarks and view the annotations you created on your Kindle.
– Search and browse more than 450,000 books, including 101 of 112 New York Times® Best Sellers. If you are a non-U.S. customer, book availability may vary.
– Find New York Times Best Sellers and new releases for $9.99, unless marked otherwise.
– Get free book samples – read the first chapter for free before you decide to buy.
– Books you purchase can also be read on a Kindle.
– Kindle newspapers, magazines, and blogs are not currently available for Kindle for Mac.

As for the requirements you need to have an Intel Mac running either Leopard (10.5.x) or Snow Leopard (10.6.x).

More Info – Download

Read Full Post »

Recently I had to setup a Java app on my Mac, which was running from the Terminal, and needed the JAVA_HOME variable set.

Here’s what had to be done:

– Start the Terminal app.
– Create/Edit ~/.bash_profile file.
Note: I first tried creating and using the ~/.bashrc file, but that didn’t work (Mac OS 10.6.2), while ~/.bash_profile worked as expected.


$ vi ~/.bash_profile

… and paste the following (make it a single line):

export JAVA_HOME=/System/Library/Frameworks/

… save and exit vi.

Restart Terminal app just to be sure that it worked, and try accessing it by typing:

$ echo $JAVA_HOME

If you see the correct JAVA path, then it is all done!

Read Full Post »

Please mind that this is not the final version!



Read Full Post »