Posts Tagged MacOS

Quickly Empty Trash on MacOS

So, I often end up in situations where there is just too much data in my Trash and emptying Trash on a Mac can take ages. The annoying bit is – while Trash is being emptied – you can not delete anything else meanwhile. I ran into a situation today where I needed 40GB space on my disk and the only way to do so was to empty trash which had about the same size of stuff in it. Deleting via the Finder window can take ages as it counts the files and deletes them, it almost seems like an endless process.

Apparently, you can do so via the Terminal window


cd ~/.Trash
rm -rf *

That command recursively and silently deletes everything in Trash within minutes.

Tags:

CF/Flex Connectivity in Flex Builder : Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.

I was setting up a new Project in Flex Builder with Application Server Type as ‘ColdFusion’. I had the default values in the Flex Builder wizard. But the Wizard wont let me go past the second screen. I kept getting this error :-

Invalid root. The WEB-INF/flex folder must contain either flex-config.xml or services-config.xml.

And I was sure that the WEB-INF folder actually had the correct files under it. Read the rest of this entry »

Tags: , , ,

Installing ColdFusion 9 on MacOSX with Apache : Broken Apache Config

I had to re-install ColdFusion 9 on my MacOS today and having installed CF approx. a million times before, I thought it would only take few minutes.

Here is what I did :-

1) Went to /Applications/ -> Moved existing “ColdFusion 9″ folder to Trash.
2) Ran the CF Installer and everything went well. But finally, the installer got stuck at “Installing WebServer Connectors” – I waited a few minutes but then gave up.
3) Repeat Steps 1 and 2.
4) I then decided to try the installation with the in-built webserver. That worked, but I could not load any pages at all in browser. Basically, Apache was not working.
5) I opened Terminal. Ran the command “sudo apachectl start” – It says “Already running”. At this point, I was wondering whats wrong.
6) Ran the command “sudo apachectl restart” and it appeared as if it got restarted. No changes.
7) Did some Search and ran this command. “sudo apachectl configtest” to make sure the Apache config was fine. Turns out it was throwing this error. Read the rest of this entry »

Tags: ,

Flex Builder Shortcuts for MacOS

Elad Elrom has compiled a pretty useful list of Flex Builder shortcuts for Mac users. You can grab the PDF version here. To me, this is something I could use on a daily basis. Thanks Elad.

Tags:

Talk to your Mac

I just read this very interesting article on how can you set up some commands to talk to your Mac. I didnt know this was possible.  I am going to try this as soon as I get home (I dont get to use my Mac at work :( )

By the way, I am a regular reader of makeuseof.com,  the articles are extremely useful and practical.

Tags:

Mac OS X Leopard: The Missing Manual

So, after being a MAC user for over 6 months, I finally decided to brush up my Mac skills . Till now, I have only been using some basic things like Firefox, Safari, iTunes, Eclipse, CF, SVN, and other basic stuff. Now, I want to go one step ahead and dive into the real power of Mac. Probably try and get used to the Terminal window.

Which is why, I just ordered this book : Mac OS X Leopard: The Missing Manual . I have read the book’s reviews and it looks like a good book for beginners/switchers like me.  Anyone already read this book and can give me a heads up?

Tags:

How to edit httpd.conf on MacOS

I know this is an easy one for most of you out there but not so easy for me! I am a relatively new Mac user and everytime I want to make some changes to my Apache configuration file, I open Finder and go to /etc/apache2/httpd.conf , open it with TextEdit or TextWrangler and make changes and thats when I get the message “httpd.conf cant be saved as you dont have access” . Damn! Read the rest of this entry »

Tags:

Setting up Subversion client on Mac

As the title says, I was trying to setup my Mac with a Subversion client. Althought I have been using Mac for a few months now, I always jump into my Windows VM to do certain things and this was one of them (purely because I like TortoiseSVN). However, today, I decided to setup Mac with a Subversion client. I know we can always use Subeclipse as an Eclipse plugin and that would serve all your requirements but I wanted something that would integrate with the Finder window. So, it turns out that I had to install the Subversion client and ScPlugin to get that working.

I found a really good step by step blog post on the very same subject and I thought I’d mention it here as a thanks to the author for taking the time to write a detailed informative post.

Tags:

Migrating emails from Outlook to Mac

I was trying to transfer all my emails (keeping the folder structure intact) from Outlook (on Windows) to Mac. I decided to go with Thunderbird as my email client on Mac (the 3 contestants were Mail, Entourage and Thunderbird).

To my surprise, it was not the most straight forward thing to transfer emails over (as I had thought). Apparently, Mail (email program on Mac) needs mbox files and you cant convert your .pst files easily to mbox files. There are a few apps out there that would do this for you but they are all paid ones. I didnt think it was worth it to pay for something so simple. After looking at a few options, the one I found to be the easiest was this :-

1) Install Thunderbird on your Windows machine and import email/settings/addresses etc from MS Outlook into Thunderbird. (might take a while if you have lots of emails,  took me about 20 mins to do this)

2) Copy the Thunderbird profile to a USB stick or drive.

3) Copy the profile on to your Mac and then if you prefer to use Mail , you can import the Thunderbird profile into Mail or if you prefer to use Thunderbird ( like I did ), you can just replace your default profile folder with the ones that you just copied over. Or you can restore the backed up profile. There is a program called Mozbackup which can backup and restore profiles for you and you wont have to bother about knowing where the profile is etc but unfortunately it only works for Windows. So, would work only for a Windows to Windows transfer.

Thats it, you should be done.  I found this to be the easiest and cheapest way to transfer emails over, I might be wrong though.

Anyone got any better ideas ?

Tags:

Early Days with my Mac

As stated in my earlier post, I have got myself a Mac recently. There was no real reason for me to do so, but I just wanted to go ahead and try it and I had also heard some good things about it from a few people, so I thought lets get one then! Before this, I never really worked on any OS other than Windows, which makes it a bit slow when it comes to getting my head around some of the stuff.

So far, I only have gotten as far as setting up Eclipse/ColdFusion on the machine, install some IM softwares, install FTP client, setup my email and I think thats about it. In general, things seem to be taking more time than normal. I will try and put some of my initial thoughts on some of the things I notice and I know I could be completely wrong because of my lack of awareness in the Mac world.

Things I don’t like :-

1) Nothing is without a cost! – That seems to be the norm in the Mac world. Every little utility you need e.g. Text editor , ftp clients etc are all with a price tag. I am not against paying for softwares but , to be honest, coming from Windows, I am not used to it. Again, I could be wrong but if thats the case I would like to be corrected.

2) Some very basic things like making hidden files visible and vice versa is not part of the OS or atleast that’s what I found out from my little search on the subject. I would have expected this to be a simple toggle on/off config in the Finder window. Cant think of a reason why its not there.

3) I am not sure if I am right or not but I could not find a way to eject a CD/DVD other than ejecting it from the context menu. I was expecting a hardware eject button (spent a fair amount of time looking for it actually and finally said to myself, “get over Windows” !!)

There are a few other minor things but it all comes down to getting used to it I guess.

Things I like :-

1) I love the dock and the way the whole thing works! The way the dock elements start jumping when an app needs attention is just awesome!

2) I love the fact that I dont really have to worry about viruses when I am on Mac. Getting an Antivirus up and making sure its always up-to-date and occassional cleanup/system checks were just so annoying in Windows.

3) I also like that Apache/PHP is all built in and no extra effort is required to get those things up and running.

I like it overall as a better system to work with, its more stable and reliable and I beleive I just need to give myself some time to get used to it.

Tags:

WP SlimStat