Writing
My global .gitignore
Adding my .gitignore file so I can look it up in the future. # Eclipse .classpath .project .settings/ # Intellij .idea/ *.iml *.iws # OS .DS_Store *.sw? # Maven log/ target/ And then configure Git to use it globally by: git config –global core.excludesfile ~/.gitignore Voila!
How to get admin access to Tomcat 7 on OS X Yosemite
In continuing the path to learn more about Tomcat 7, I had to configured my local instance to give me admin access to the “Server Status,” “Manager App,” and “Host Manager” pages. It was actually quiet easy. In your terminal, go to /usr/local/Cellar/tomcat7/7.0.63/libexec/conf vim tomcat-users.xml Add the following: <role rolename="manager-gui"/> <role rolename="admin-gui"/> <user username="tomcat" password="s3cret"…
Installing Tomcat 7 on OS X Yosemite
I needed to install Tomcat 7 on my new MacBook Pro running OS X Yosemite, and I knew I wanted to take advantage of Homebrew. As expected, it was a breeze. In your terminal, do “brew install tomcat7” Type “catalina start” Navigate to http://localhost:8080 In my case, I was running version 7.0.63 with Java 1.8.0.51.…
IntelliJ IDEA: Pass M2_HOME to the IDE on OS X Yosemite
I had issues in Yosemite with IntelliJ always complaining that it couldn’t see my M2_HOME variable, even though I had it in my .bash_profile. Turns out that only works in the terminal. In any case, this worked — I verified it on my Mac, which runs v10.10.5. 1. Save this plist in ~/Library/LaunchAgents/ as custom.startup.plist…
Export Evernote entries into Day One
Script that will help you move to Day One from Evernote. I use Day One to do my brain-dumps. If you want to export Evernote Items to Day One, this AppleScript lets you select notes in Evernote and transfer a plain text version directly into Day One. Source: Export Evernote Items to Day One