10
May2012
Comments Off on Default path on OSX
Default path on OSX
Started working with Homebrew recently instead of Macports to install third party packages on OSX. Homebrew comes with a doctor command that lets you know any conflicts that may cause it to not function properly. Short of it all is that Homebrew told me I needed to modify my path to make sure the /usr/local/bin is before /usr/bin. But where is the path defined on OSX?
it is in /etc/paths (at least on OSX Mountain Lion). This file is a list of paths, each defined on a separate line which also specified their order. In order to update it run:
sudo vi /etc/paths
here is what mine looks like:
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin
read more
20
Oct2010
Comments Off on FaceTime for Mac
20
Oct2010
Comments Off on App Store for the Mac?
App Store for the Mac?
Did you watch Apple’s keynote speech this morning (or afternoon depending on your timezone)?
There were some pretty interesting announcements, but the most significant of those is the new Mac App Store. Its being opened in 90 days and it works pretty much just like the iOS App Store. But, what does that mean for the apps that it offers, and for the developers?
There has not been anything like this before, and its a merge of two different ways of thinking (so to speak). The success of the App Store has been mostly due to it being the single source to get software, but you cannot discount the pricing of the apps that are found there. I mean anything above $5 is considered pricey for the App Store. In the mean time, there are apps that go for hunders of dollars in the desktop space, not to mention the fact that most companies offering apps already have a sales channel.
Does this mean that they will just add 30% to the apps to make them more easily available?
What does the licensing mean to these vendors?
Will every app need to be reviewed and approved?
With the App Store, you can buy a single copy for all your personal Macs, and updates are free if its anything like the iOS App Store. There was no mention of how the latter situation would be handled specifically since major upgrades are never currently free, but as you can see it has a lot of implications.
I couldn’t get any more details at this stage since the site would not let me in right now, but what are your thoughts? read more
5
Oct2010
Comments Off on Get going with Tomcat & Eclipse on OSX
Get going with Tomcat & Eclipse on OSX
I recently had to move a project off of Google App Engine. To my surprise, Google App Engines performance was just not fast enough for this project.
In any case, this lead to my installation of Tomcat on OSX and integrating into Eclipse so here is how to do it:
- Get the latest tomcat: http://tomcat.apache.org/index.html. You need to make sure you get the tar or zip file.
- Move the download to /usr/local/.
- Start a super shell:
- If you downloaded the tar, you may have noticed the warning that it will not work with OSX tar command, so make sure to use gnutar which comes with OSX.
- Now you can change owner ship on this new folder so you can start and stop tomcat without having to sudo, but I left it as is.
- Create a link to the folder so that you make your life eaiser in the long term when you install newer versions:
- Go back to your home folder and create a new script :
- Now you can start and stop tomcat from your home folder
$ sudo sh
$ gnutar xzvf apache-tomcat-6.0.26.tar.gz
$ ln -s apache-tomcat-6.0.26 tomcat
#!/bin/sh
export CATALINA_HOME=/usr/local/tomcat
export JAVA_HOM=/usr
if [ "$1" == "start" ] ; then
$CATALINA_HOME/bin/startup.sh
else
$CATALINA_HOME/bin/shutdown.sh
fi
$ sudo ./tomcat.sh start <== To start
$ sudo ./tomcat.sh <== To stop
- Go to Eclipse Preferences ->Server -> Runtime Environments
- Click Add and select the right Tomcat Version
- Put in /usr/local/tomcat for the Tomcat Installation directory (the link we created above)
- Click Finish and you should be setup
-
Good Luck! read more
30
Sep2010
Comments Off on Launch VNC From the terminal
Launch VNC From the terminal
Mac OSX Hints has a very nifty tip on launching VNC from The terminal!
Take a look: http://hints.macworld.com/article.php?story=20100927085636535 read more