Skip to content

Instantly share code, notes, and snippets.

View mickknutson's full-sized avatar

Mick Knutson mickknutson

View GitHub Profile
@mickknutson
mickknutson / file1.sh
Created February 12, 2012 13:44
gradle repositories error
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 February 2, 2012 19:20
tomcat 6 connector enableLookups="true"
<Connector enableLookups="true"
port="8080"
protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443" />
@mickknutson
mickknutson / file1.sh
Created January 18, 2012 16:17
Invalid style specification: MM/dd/yyyy stacktrace
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
@mickknutson
mickknutson / file1.java
Created January 18, 2012 16:18
DateTimeFormat 2
@DateTimeFormat(style="yyyyMMdd'T'HHmmss.SSSZ")
private java.util.Date timestamp;
@mickknutson
mickknutson / file1.java
Created January 18, 2012 16:16
DateTimeFormat 1
@DateTimeFormat(style="MM/dd/yyyy")
private java.util.Date timestamp;
@mickknutson
mickknutson / file1.java
Created January 18, 2012 16:18
DateTimeFormat 3
@DateTimeFormat(iso=ISO.DATE_TIME)
private java.util.Date timestamp;
@mickknutson
mickknutson / file1.json
Created January 18, 2012 16:15
json timestamp
"timestamp" : ISODate("2012-01-17T22:30:19.839Z")
@mickknutson
mickknutson / file1.sh
Created January 12, 2012 14:07
Final Avaya Thread Usage
-----12:15:03 PM -----:
1 established)
1 Foreign
1 LAST_ACK
1 SYN_SENT
7 LISTEN
70 CLOSE_WAIT
147 TIME_WAIT
238 ESTABLISHED
@mickknutson
mickknutson / file1.xml
Created January 12, 2012 14:37
aspectj-maven-plugin-with-compliance
<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>
@mickknutson
mickknutson / file1.xml
Created January 12, 2012 14:36
complianceLevel
<configuration>
<complianceLevel>1.6</complianceLevel>
</configuration>