Category Archives: Development

Prompt On Quitting Firefox

I’ve been using Firefox 4 for Mac for quite some time and I haven’t really noticed that even when my options are set to warn me before closing Firefox, it doesn’t. And if you set THAT option on, you probably need it to work as intended.

So yeah, how to fix that. According to this answer, you should:

  • Go to about:config
  • Look for the option browser.showQuitWarning
  • Toggle to true

That’s it. It should be active immediately after that.

Update A better way would be to install Always Ask (Firefox addon) clean and does exactly that. This addon shows a popup confirmation every time you try and Quit Firefox even if you have only one tab open. Works for me!
Update 2 Lifehacker has posted a detailed guide as well. You might want to check it here

FileMerge – The File Comparison Tool You Might Just Need

When you buy a Mac, you’re not just getting a gorgeous piece of hardware dressed in the most awesome operating system – you’re also getting most of the tools you’ll ever need to start being productive. There are a lot of these little apps that come bundled with a Mac but are never used, not because they’re useless, albeit because you might have never knew they’re there. Lots of these applications are found in your Utilities folder (/Applications/Utilities and /Developer/Applications/Utilities). Today I’ll be showing you a good example of one of these handy little hidden apps – FileMerge, an application that easily compares and merges files or directories.

FileMerge starts up with a simple interface to pick two files. You can drag and drop a couple and proceed with comparing them.

Once you take that to comparing step, you can see an easy interface for differences – additions, removals, and changes. By default all modifications are brought on from the right version of the file.

If you would like to use the left version for a specific change, select the arrow for the change and choose “Choose left” from the dropdown in the footer.

Once you’ve made all your changes you can drag the drawer from bottom up to find your final result or alternatively save your merged file straight away.

You could explore comparing directories but it’s quite the same idea.

It’s obviously not the most advanced of tools, and not the most compelling interface but it does get the job done very quickly and easily. A more advanced option would be Kaleidoscope which, for €29, takes this a step further and lets you compare images and gives you a whole lot of more options you can play around with.

Community Vs You

As developers, many of the choices we make consider the community as a dominant factor. Choosing software, frameworks, and even development languages. And that’s not just because theoretically speaking it’s the best thing to do, but also because practically, it was proven to be exactly that – the best thing to do. Along with time, learning curve, documentation, API, and others, of course.

And I’m not going to try to prove otherwise. All that I’m going to do is to try and introduce another factor, not necessarily as dominant, but rather one that should be greatly considered when making these very same choices.

You.

Your level of experience, how deep you can go, your debugging skills, your programmatic skills, and most of all – your passion. Because after all, if the community suddenly disappears, all that is going to remain is you.. and your choice.