Skip to content

Instantly share code, notes, and snippets.

Avatar

Mick Knutson mickknutson

View GitHub Profile
@mickknutson
mickknutson / file1.sh
Created Feb 12, 2012
gradle repositories error
View file1.sh
08:42:13.083 [DEBUG] [org.gradle.api.internal.tasks.execution.ExecuteAtMostOnceTaskExecuter] Finished executing task ':ch01:compileJava'
08:42:13.094 [ERROR] [org.gradle.BuildExceptionReporter]
08:42:13.099 [ERROR] [org.gradle.BuildExceptionReporter] FAILURE: Build failed with an exception.
08:42:13.104 [ERROR] [org.gradle.BuildExceptionReporter]
08:42:13.108 [ERROR] [org.gradle.BuildExceptionReporter] * What went wrong:
08:42:13.112 [ERROR] [org.gradle.BuildExceptionReporter] Could not resolve all dependencies for configuration ':ch01:compile'.
08:42:13.118 [ERROR] [org.gradle.BuildExceptionReporter] Cause: You must specify a URL for a Maven repository.
@mickknutson
mickknutson / file1.xml
Created Feb 2, 2012
tomcat 6 connector enableLookups="true"
View file1.xml
<Connector enableLookups="true"
port="8080"
protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
@mickknutson
mickknutson / file1.sh
Created Jan 18, 2012
Invalid style specification: MM/dd/yyyy stacktrace
View file1.sh
org.joda.time.format.DateTimeFormat.createFormatterForStyle(DateTimeFormat.java:702)
org.joda.time.format.DateTimeFormat.patternForStyle(DateTimeFormat.java:212)
com.comcast.uivr.web.LoggingController_Roo_Controller.ajc$interMethod$com_comcast_uivr_web_LoggingController_Roo_Controller$com_comcast_uivr_web_LoggingController$addDateTimeFormatPatterns(LoggingController_Roo_Controller.aj:98)
com.comcast.uivr.web.LoggingController.ajc$interMethodDispatch2$com_comcast_uivr_web$addDateTimeFormatPatterns(LoggingController.java:1)
com.comcast.uivr.web.LoggingController_Roo_Controller.ajc$interMethodDispatch1$com_comcast_uivr_web_LoggingController_Roo_Controller$com_comcast_uivr_web_LoggingController$addDateTimeFormatPatterns(LoggingController_Roo_Controller.aj)
com.comcast.uivr.web.LoggingController_Roo_Controller.ajc$interMethod$com_comcast_uivr_web_LoggingController_Roo_Controller$com_comcast_uivr_web_LoggingController$list(LoggingController_Roo_Controller.aj:66)
com.comcast.uivr.web.LoggingController.list(LoggingCo
View file1.java
@DateTimeFormat(style="yyyyMMdd'T'HHmmss.SSSZ")
private java.util.Date timestamp;
View file1.java
@DateTimeFormat(style="MM/dd/yyyy")
private java.util.Date timestamp;
View file1.json
"timestamp" : ISODate("2012-01-17T22:30:19.839Z")
View file1.java
@DateTimeFormat(iso=ISO.DATE_TIME)
private java.util.Date timestamp;
@mickknutson
mickknutson / file1.sh
Created Jan 12, 2012
Final Avaya Thread Usage
View file1.sh
-----12:15:03 PM -----:
1 established)
1 Foreign
1 LAST_ACK
1 SYN_SENT
7 LISTEN
70 CLOSE_WAIT
147 TIME_WAIT
238 ESTABLISHED
View file1.xml
<configuration>
<complianceLevel>1.6</complianceLevel>
</configuration>
@mickknutson
mickknutson / file1.xml
Created Jan 12, 2012
aspectj-maven-plugin-with-compliance
View file1.xml
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>aspectj-maven-plugin</artifactId>
<version>1.3.1</version>
<executions>
<execution>
<phase>process-sources</phase>
<goals>
<goal>compile</goal>
<goal>test-compile</goal>