• GIT Commands Cheat Sheet

    A cheat sheet of git commands that I use the most, and also of the ones I use the least (which is really much more important to have on a cheat sheet).

  • Linux Commands Cheat Sheet

    This outputs your stuff in a folder called ‘packageName’: tar -xvzf packageName.tar.gz   This can help tell you what version of linux or at least linux kernel you are running: uname -a   Find a process and kill it: Run this ‘ps’ command to find the process, in this case the MySQL Daemon “mysqld”. ps more

  • When Making a Directive for AngularJS

    Worth Reading:  https://docs.angularjs.org/guide/directive Especially this at the very bottom of that page: By ‘expose an API’, they mean ‘add some this.doSomething() {…} functions to the controller that are reachable from outside the controller’.  Like public class methods.  If you’re not needing any of those, don’t add a controller to the directive.

  • Error starting Grails: com/springsource/loaded/ri/ReflectiveInterceptor

    If you are getting this error when trying to start a Grails Project in Intellij: Error starting Grails: com/springsource/loaded/ri/ReflectiveInterceptor try deleting the ./.slcache folder at the top level of your project: projectname/.slcache This problem came when I was trying to update an app to a newer version of Grails.  The above solved the problem for more

  • Windows Command Line Cheat Sheet

    Change Drive from Command Line You are here: D:\You want to go here: C:\ Type just: C: and hit enter. You are here: C:\Windows\System32\drivers\You want to go here: C:\ Type: C:\ and hit enter. Notice you have to type the back slash in this case. Running Commands Run a command whose path has spaces in more