Monthly Archive: July 2012

Jul 31

Stopping Axis2 in unix

If you’re having trouble killing axis2 via a init.d script or otherwise on unix, just do this: AXIS2_CHILD_PID=`ps aux | egrep "axis2server.sh|SimpleAxis2Server" | grep -v "egrep" | awk '{print $2;}'` echo "Killing stubborn AXIS2 child process that won't die with parent.. pid is ${AXIS2_CHILD_PID}" kill ${AXIS2_CHILD_PID} >/dev/null 2>&1 && echo OK || echo "failed, what …

Continue reading »

Jul 30

Personal Success

I saw a pretty great movie today that inspired me. The past year or so has been an interesting one in my personal and professional life. In that year it feels like I’ve really honed in on what I really want in career and what personal success truly is. Personal success is not a dollar …

Continue reading »

Jul 25

Maven build automatically removing a jar?

If you have a maven build mysteriously deleting the jar it’s building, double check your POM hierarchy to make sure you dont have some non-sense such as this in there: <plugin>     <groupId>org.apache.maven.plugins</groupId>     <artifactId>maven-clean-plugin</artifactId>     <version>2.1</version>     <executions>         <execution>             <id>auto-clean</id> …

Continue reading »

Jul 07

How to excel at bash scripting

The trick to being good at bash scripting is to realize that nobody in their right mind would ever want to write bash scripts, but someone has to.

Jul 06

Getting LogBack to log to console with TestNG and IntelliJ

If you’re having problems with a TestNG test using Logback not logging anything to the console inside IntelliJ, assuming you’re in a maven project, do the following: create the file src/test/resources/logback-test.xml Put this in it: <configuration>     <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">         <!– encoders are assigned the type      ch.qos.logback.classic.encoder.PatternLayoutEncoder by …

Continue reading »

Jul 06

Collecting Arcades: My very own NBA Jam machine for $350

I was 12 years old when NBA Jam was released in arcade form. I remember the first time I saw the game at showbiz pizza. It had unbelievable graphics beyond anything else at the time, and amazing forever memorable gameplay. Who can forget the first time they saw someone “On Fire”, or heard the snarky …

Continue reading »