Skip to content

Instantly share code, notes, and snippets.

Avatar

Marc Savy msavy

View GitHub Profile
View gist:a8bd8d2b796b604010f5209703c14f88
<settings>
<servers>
<server>
<id>2_maven_bartr</id>
<username>admin</username>
<password>S^H,IZ0Kf7pvzu57iqte</password>
<configuration></configuration>
</server>
</servers>
<profiles>
View keybase.md

Keybase proof

I hereby claim:

  • I am msavy on github.
  • I am marcsavy (https://keybase.io/marcsavy) on keybase.
  • I have a public key ASApV8kYcjrGepN3Y04av-5B2G3_8NvZ1SKVypdm9_rv2wo

To claim this, I am signing this object:

View diffexample
diff --git a/api/package-lock.json b/api/package-lock.json
index a3210c4..69e3b6d 100644
--- a/api/package-lock.json
+++ b/api/package-lock.json
@@ -14,6 +14,11 @@
"eslint-plugin-react": "^7.10.0"
}
},
+ "@appliedblockchain/parity-revert-reason": {
+ "version": "1.0.3",
View gist:3165f753f8cf16d24e58ee7bb14beaab
$ jabba install openjdk-shenandoah@1.8.0
Downloading openjdk-shenandoah@1.8.0 (https://builds.shipilev.net/openjdk-shenandoah-jdk8/openjdk-shenandoah-jdk8-latest-linux-x86_64-release.tar.xz)
40199568/40199568
Extracting /tmp/jabba-d-363427680 to /home/msavy/.jabba/jdk/openjdk-shenandoah@1.8.0
openjdk-shenandoah@1.8 -> /home/msavy/.jabba/jdk/openjdk-shenandoah@1.8.0
$ java -version
openjdk version "1.8.0-builds.shipilev.net-openjdk-shenandoah-jdk8"
OpenJDK Runtime Environment (build 1.8.0-builds.shipilev.net-openjdk-shenandoah-jdk8-b422-20190718-aarch64-shenandoah-jdk8u222-b10)
OpenJDK 64-Bit Server VM (build 25.71-b422-20190718-aarch64-shenandoah-jdk8u222-10, mixed mode)
View console.log
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://static.halifax.co.uk/assets/css/icon-fonts/cms/Halifax/fonts/icomoon.ttf?yytztc. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://static.halifax.co.uk/assets/fonts/Agenda-Regular/agendaRegular.woff. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://static.halifax.co.uk/assets/fonts/Agenda-Bold/agendaBold.woff. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://static.halifax.co.uk/assets/fonts/Helvetica-Neue-Condensed/helveticaNeueCondensedBlack.woff. (Reason: CORS header ‘Access-Control-Allow-Origin’ missing).
Cross-Origin Request Blocked: The Same Origin Policy disallows rea
View output.json
{
"components" : {
"schemas" : {
"test.io.smallrye.openapi.runtime.scanner.entities.KitchenSink" : {
"description" : "This is the kitchen sink description!",
"required" : [ "booking", "ccList", "creditCardMap", "fooArray", "fuzzListWildcard", "seatPreference", "unsafeList" ],
"properties" : {
"array" : {
"type" : "array",
"items" : {
View example.java
/*
* (non-Javadoc)
* @see io.apiman.gateway.engine.policies.AbstractMappedPolicy#doProcessFailure(io.apiman.gateway.engine.beans.PolicyFailure, io.apiman.gateway.engine.policy.IPolicyContext, java.lang.Object, io.apiman.gateway.engine.policy.IPolicyFailureChain)
*/
@Override
protected void doProcessFailure(PolicyFailure failure, IPolicyContext context, CorsConfigBean config,
IPolicyFailureChain chain) {
System.out.println("In process failure");
failure.getHeaders().put("X-FROM-PROCESS-FAILURE", "Hello!");
View diff.patch
diff --git a/pom.xml b/pom.xml
index 2e7287d..8de48bf 100644
--- a/pom.xml
+++ b/pom.xml
@@ -307,20 +307,21 @@
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
View gist:b37951b7956822924fafa0b7aac52807
[INFO] --- nexus-staging-maven-plugin:1.6.3:deploy (injected-nexus-deploy) @ apiman-tools-i18n ---
[INFO] Performing local staging (local stagingDirectory="/home/msavy/apiman-release/target/git-repos/apiman/target/nexus-staging/staging")...
[INFO] + Using server credentials "ossrh" from Maven settings.
[INFO] * Connected to Nexus at https://oss.sonatype.org:443/, is version 2.14.8-01 and edition "Professional"
[INFO] * Using staging profile ID "4073c4fbdd610a" (matched by Nexus).
[INFO] Installing /home/msavy/apiman-release/target/git-repos/apiman/tools/i18n/target/apiman-tools-i18n-1.4.0.Final.jar to /home/msavy/apiman-release/target/git-repos/apiman/target/nexus-staging/staging/4073c4fbdd610a/io/apiman/apiman-tools-i18n/1.4.0.Final/apiman-tools-i18n-1.4.0.Final.jar
[INFO] Installing /home/msavy/apiman-release/target/git-repos/apiman/tools/i18n/pom.xml to /home/msavy/apiman-release/target/git-repos/apiman/target/nexus-staging/staging/4073c4fbdd610a/io/apiman/apiman-tools-i18n/1.4.0.Final/apiman-tools-i18n
View gist:02aec1de26a6c1b24e15e3214155d1f1
{
"auth": {
"type": "basic",
"config": {
"username": "admin",
"password": "admin123!"
}
}
}
You can’t perform that action at this time.