Skip to content

Instantly share code, notes, and snippets.

View liweinan's full-sized avatar
🎯

阿男 liweinan

🎯
View GitHub Profile
@liweinan
liweinan / Jakarta REST 3.1 TCK Running Process.md
Last active March 1, 2022 01:18
Jakarta REST 3.1 TCK Running Process
@liweinan
liweinan / guava-dep.txt
Created December 21, 2021 13:20
guava-dep.txt
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jboss.resteasy:spring-boot-sample-app:jar:5.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 109, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jboss.resteasy:spring-boot-sample-app-for-wildfly:war:5.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-war-plugin is missing. @ line 127, column 21
[WARNING]
[WARNING] Some problems were encountered while building the effective model for org.jboss.resteasy:spring-boot-sample-app-no-jaxrs-application:jar:5.0.1-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 114, column 21
@liweinan
liweinan / resteasy-tracing-feature
Created December 12, 2021 18:49
resteasy-tracing-feature
resteasy-tracing-feature
@liweinan
liweinan / microprofile-context-propagation
Last active December 5, 2021 07:47
microprofile-context-propagation
## microprofile-context-propagation
➤ ./standalone.sh
=========================================================================
JBoss Bootstrap Environment
JBOSS_HOME: /Users/weli/works/wildfly-full-current
JAVA: /Users/weli/.sdkman/candidates/java/current/bin/java
JAVA_OPTS: -server -Xms64m -Xmx512m -XX:MetaspaceSize=96M -XX:MaxMetaspaceSize=256m -Djava.net.preferIPv4Stack=true -Djboss.modules.system.pkgs=org.jboss.byteman -Djava.awt.headless=true --add-exports=java.desktop/sun.awt=ALL-UNNAMED --add-exports=java.naming/com.sun.jndi.ldap=ALL-UNNAMED --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.invoke=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED --add-opens=java.base/java.io=ALL-UNNAMED --add-opens=java.base/java.security=ALL-UNNAMED --add-opens=java.base/java.util=ALL-UNNAMED --add-opens=java.base/java.util.concurrent=ALL-UNNAMED --add-opens=java.management/javax.management=ALL-UNNAMED --add-opens=java.naming/javax.naming=ALL-UNNAMED
Tinkering🪛
@liweinan
liweinan / install-resteasy-galleon.sh
Created September 12, 2021 23:31
Install RESTEasy Galleon Feature Pack
[wildfly-current]$ install wildfly:current
Feature pack installed.d.
======= ============ ==============
Product Build Update Channel
======= ============ ==============
wildfly 24.0.1.Final current
# https://github.com/resteasy/Resteasy/pull/2884/files#diff-f516c659d453ebc72fb73e5a37f07bcccaf553d2fa22e690b9feefb5947b5a4eR260
@liweinan
liweinan / resteasy-microprofile client diagram
Created September 10, 2021 08:28
resteasy-microprofile client diagram
resteasy-microprofile client diagram

The Freenode resignation FAQ, or: "what the fuck is going on?"

Update 2

Freenode staff have stepped down. The network that runs at freenode.org/net/com should now be assumed to be under control of a malicious party. Andrew Lee will likely gain control over the NickServ database at some point.

I recommend that you move to libera.chat as soon as possible, as the former Freenode staff has left the network that exists on the Freenode domains, and so they can no longer guarantee the safety of your information or community there. Basically, libera.chat is the continuation of Freenode.

#include<iostream>
using namespace std;
struct node {
int data;
node *next;
};
int main() {