Tag: OSX

  • Dealing with SQLite files in mobile apps

    Recently I found myself wanting to inspect what was in the application database outside of the mobile application I was working on, which as usual lead me to search for a solution on DuckDuckGo. I found a great link here, which basically says: Download and install SQLite command line tools if necessary (OSX comes with…

  • How to determine and set your default java version on OSX

    Open terminal and do the following: [korey@localhost ~]$ cd /Library/Java/JavaVirtualMachines [korey@localhost /Library/Java/JavaVirtualMachines]$ ls -al This will give you a list of JDKs that you have installed. To set the default java version to 1.8.0_131 for example, use the following command: [korey@localhost ~]$ /usr/libexec/java_home -v 1.8.0_131 –exec javac -version Related link

  • Manage Apache on OSX (Updated or Yosemite)

    Here is a little tip for customizing apache on OSX. The first thing you have to do is turn on Web Sharing in your System Preferences. This will start the local Apache server and you can access it by going to http://localhost. From here, you can start modifying it to your will. Apache customization is…

  • Getting Fancy with Terminal

    One of my recent adventures into NodeJS has led me down the path of MEAN and reading various articles on that, I came across various Terminal alternatives and enhancements. I know, I know, I am late to the party, but when I saw FishShell, I was sold. Then I saw Powerline and liked that too,…

  • Installing MongoDB on OSX (Yosemite)

    Installing MongoDB on OS X is an easy task. However, if you want the service to start each time your computer is restarted, some additional effort is required. The easiest way to get MongoDB installers is to use Homebrew. [korey@localhost ~]$ brew install mongodb At this point MongoDB is installed. To start it manually, first…

  • New iPads coming?

    Apple has invited the press to an October 22nd event since they “still have a lots to cover.” It is highly expected that they will announce the next generation of iPads, along with the new Mac Pro and OSX Mavericks, not to mention updates to existing MacBook Pros and possibly an Apple TV update. As…

  • Cleanup Your Open With Context Menu in OSX

    Recently I noticed that I had many duplicate entries in the Open With context menu on my Mac (Mountain Lion). Then after a clean re-install, I noticed the same behaviour repeating. For example, I had three entries for Even Note. Well, a little googling lead me to this link with this magic command to reset…

  • Is Mountain Lion Worth The Upgrade? (Updated)

    OSX Mountain Lion was released yesterday and it brings with it many new features and add-ons which is a great offer at $20 for the upgrade, but there are a few catches: You have to have a relatively recent Mac to get all the features.  For example, AirPlay screen sharing is only available if you…

  • 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…