Skip to content

Instantly share code, notes, and snippets.

View McPringle's full-sized avatar
🙃
Getting things done...

Marcus Fihlon McPringle

🙃
Getting things done...
View GitHub Profile
@McPringle
McPringle / console.log
Created February 20, 2016 16:35
IllegalArgumentException in AiroMem after updating from v1.0.2 to v1.0.3
/Users/marcus/Applications/wildfly-10.0.0.Final/bin/standalone.sh
/Library/Java/JavaVirtualMachines/jdk1.8.0_65.jdk/Contents/Home/bin/java -classpath "/Applications/IntelliJ IDEA 15.app/Contents/lib/idea_rt.jar:/Applications/IntelliJ IDEA 15.app/Contents/lib/util.jar" -Dfile.encoding=UTF-8 com.intellij.rt.execution.CommandLineWrapper /private/var/folders/x3/ty4zv5hx7hj7ght9bvlwqznw0000gn/T/classpath0.tmp com.intellij.javaee.oss.process.JavaeeProcess 62252 com.intellij.javaee.oss.jboss.agent.JBoss71Agent
[2016-02-20 05:32:27,334] Artifact sportchef:war: Server is not connected. Deploy is not available.
Detected server admin port: 9990
Detected server http port: 8080
JAVA_OPTS already set in environment; overriding default settings with values: -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:60931,suspend=y,server=n -Djava.awt.headless=true
=========================================================================
JBoss Bootstrap Environment
@McPringle
McPringle / CompletableFutureSolution.java
Created October 26, 2016 08:26
Two working solutions for exercise one, one with Java 8 CompletableFuture and one with Java 8 Stream API.
package ch.fihlon.reactive.pricecalculator;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;
import static java.util.concurrent.CompletableFuture.supplyAsync;
public class CompletableFutureSolution {
private static final int NUMBER_OF_SERVICE_CALLS = 10;

Keybase proof

I hereby claim:

  • I am McPringle on github.
  • I am mcpringle (https://keybase.io/mcpringle) on keybase.
  • I have a public key whose fingerprint is 9233 CD26 5582 3C1C 51DE 03FE C6B7 F469 EE36 3E1F

To claim this, I am signing this object:

@McPringle
McPringle / Failed tests
Created December 26, 2016 16:39
Class org.gradle.api.tasks.CopyErrorIntegrationTest
java.lang.AssertionError: expected build to fail but it did not.
at org.gradle.integtests.fixtures.executer.InProcessGradleExecuter.doRunWithFailure(InProcessGradleExecuter.java:144)
at org.gradle.integtests.fixtures.executer.AbstractGradleExecuter.runWithFailure(AbstractGradleExecuter.java:851)
at org.gradle.integtests.fixtures.executer.AbstractDelegatingGradleExecuter.doRunWithFailure(AbstractDelegatingGradleExecuter.java:34)
at org.gradle.integtests.fixtures.executer.AbstractGradleExecuter.runWithFailure(AbstractGradleExecuter.java:851)
at org.gradle.integtests.fixtures.executer.GradleExecuter$runWithFailure$1.call(Unknown Source)
at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117)
at org.gradle.api.tasks.CopyErrorIntegrationTest.reportsUnreadableSourceDir(CopyErrorIntegrationTest.groov
curl -v tumi.com
> Location: https://www.tumi.com/
curl -v https://www.tumi.com/
> Location: https://ch.tumi.com/
curl -v https://ch.tumi.com/
* connect to 165.160.15.20 port 443 failed: Operation timed out
@McPringle
McPringle / ktor 0.3.3-SNAPSHOT man install error details
Created June 4, 2017 14:56
ktor 0.3.3-SNAPSHOT man install error details
Running org.jetbrains.ktor.tests.jetty.JettyServletContainerHostTest
2017-06-04 16:48:35.159 [qtp424732838-4140] WARN o.e.j.util.thread.QueuedThreadPool -
java.lang.OutOfMemoryError: unable to create new native thread
at java.lang.Thread.start0(Native Method)
at java.lang.Thread.start(Thread.java:717)
at org.eclipse.jetty.util.thread.QueuedThreadPool.startThreads(QueuedThreadPool.java:476)
at org.eclipse.jetty.util.thread.QueuedThreadPool.access$200(QueuedThreadPool.java:49)
at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:635)
at java.lang.Thread.run(Thread.java:748)
2017-06-04 16:48:35.159 [qtp424732838-4142] WARN o.e.j.util.thread.QueuedThreadPool -
@McPringle
McPringle / build.log
Last active July 6, 2017 02:16
Moneta: complete build log with 15 test failures
jsr354-ri> mvn test
[INFO] Scanning for projects...
[WARNING] The project org.javamoney:moneta-parent:pom:1.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[WARNING] The project org.javamoney.moneta:moneta-core:bundle:1.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[WARNING] The project org.javamoney:moneta:pom:1.2-SNAPSHOT uses prerequisites which is only intended for maven-plugin projects but not for non maven-plugin projects. For such purposes you should use the maven-enforcer-plugin. See https://maven.apache.org/enforcer/enforcer-rules/requireMavenVersion.html
[INFO] ----------------------------

openpgp4fpr:9233CD2655823C1C51DE03FEC6B7F469EE363E1F