Skip to content

Instantly share code, notes, and snippets.

Avatar

Mick Knutson mickknutson

View GitHub Profile
View avaya-sockets-initial.sh
-----04:29:38 PM -----:
207 CLOSE_WAIT
127 TIME_WAIT
196 ESTABLISHED
View avaya-sockets-1st-pass.sh
-----05:16:11 PM -----:
1 established)
1 Foreign
1 LAST_ACK
1 SYN_SENT
7 LISTEN
88 CLOSE_WAIT
172 TIME_WAIT
313 ESTABLISHED
View aspectj-maven-plugin.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>
@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
@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
@mickknutson
mickknutson / file1.sh
Created Jan 12, 2012
groovy-parameter-types-error
View file1.sh
[ERROR] C:\usr\SYNCH\PACKT\3166\Chapters_Code\ch05\target\generated-sources\groovy-stubs\main\com\baselogic\chapter05\utils\StringUtilities.java:26:0::0
Syntax error, parameterized types are only available if source level is 5.0
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException:
Failed to execute goal org.codehaus.mojo:aspectj-maven-plugin:1.3.1:compile (default) on project ch05:
Compiler errors: error at public static java.lang.String getRequestQueryString(java.util.Map<java.lang.String, java.lang.String> parameters) { return (java.lang.String)null;}
^^^^^^^^^^^^
C:\usr\SYNCH\PACKT\3166\Chapters_Code\ch05\target\generated-sources\groovy-stubs\main\com\baselogic\chapter05\utils\StringUtilities.java:26:0::0
The type Map is not generic; it cannot be parameterized with arguments <String, String>
error at public static java.lang.String getRequestQueryString(java.util.Map<java.lang.String, java.lang.String> p
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>
View file1.json
"timestamp" : ISODate("2012-01-17T22:30:19.839Z")
View file1.java
@DateTimeFormat(style="MM/dd/yyyy")
private java.util.Date timestamp;