Category: General Development
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!
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…
The Only Trait You’ll Need to Become a Great Programmer
I started reading “Clean Code” by Robert C. Martin (aka Uncle Bob) and wanted to share my thoughts on Chapter 1, aptly named “Clean Code.” Uncle Bob starts out showing what bad code is and what good code is. I won’t go much into bad code in this post other than a brief example below, and say…
How to get information of your jobs in RunDeck
Did you know RunDeck has an API so you can get information about your jobs? Here are a couple of examples: To check the system: /api/1/system/info To see jobs of a project: /api/1/jobs?project=<project_name> More info at RunDeck API | Version 2. Cheers!
SVN Fix: Could not use external editor to fetch log message
In case you encounter the following error using SVN — on my Mac, for me: svn: E205007: Could not use external editor to fetch log message; consider setting the $SVN_EDITOR environment variable or using the –message (-m) or –file (-F) optionssvn: E205007: None of the environment variables SVN_EDITOR, VISUAL or EDITOR are set, and no…