This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def f_iterative(x): | |
| stack = [(x, 0)] # (参数, 状态): 0=初始, 1=等待内层f(x-0.5), 2=等待外层f(x-f(x-0.5)) | |
| results = {} # 缓存中间结果,避免重复计算 | |
| while stack: | |
| x, state = stack.pop() | |
| if x < 0: | |
| results[x] = -x | |
| continue |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| set -x | |
| . ./functions.sh | |
| pwdir="$(dirname '$0')" | |
| ip='download.eng.bos.redhat.com' | |
| alias wget='wget -nc' | |
| # Stop the script if any errors occur. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?xml version="1.0" encoding="UTF-8"?> | |
| <host xmlns="urn:jboss:domain:community:20.0" name="secondary"> | |
| <extensions> | |
| <extension module="org.jboss.as.jmx"/> | |
| <extension module="org.wildfly.extension.core-management"/> | |
| <extension module="org.wildfly.extension.elytron"/> | |
| </extensions> | |
| <management> | |
| <audit-log> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/batch-jberet/src/main/java/org/wildfly/extension/batch/jberet/deployment/JobOperatorService.java b/batch-jberet/src/main/java/org/wildfly/extension/batch/jberet/deployment/JobOperatorService.java | |
| index e22d1b5edee5..06229fbd18ac 100644 | |
| --- a/batch-jberet/src/main/java/org/wildfly/extension/batch/jberet/deployment/JobOperatorService.java | |
| +++ b/batch-jberet/src/main/java/org/wildfly/extension/batch/jberet/deployment/JobOperatorService.java | |
| @@ -21,6 +21,7 @@ | |
| import java.util.concurrent.atomic.AtomicBoolean; | |
| import java.util.function.Consumer; | |
| import java.util.function.Supplier; | |
| + | |
| import jakarta.batch.operations.JobExecutionAlreadyCompleteException; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| weli@192:/tmp | |
| ➤ cat foo.txt 02:05:38 | |
| abc | |
| def | |
| weli@192:/tmp | |
| ➤ vi foo.txt 02:05:41 | |
| weli@192:/tmp | |
| ➤ sed -e 's/def/xyz/' foo.txt 02:05:48 | |
| abc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| kind: Pod | |
| apiVersion: v1 | |
| metadata: | |
| name: mc | |
| spec: | |
| containers: | |
| - name: c0 | |
| image: ubuntu | |
| command: [ "/bin/bash", "-c", "while true; do echo c0; sleep 5 ; done" ] | |
| - name: c1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| --- standalone.xml 2022-11-19 01:25:16.000000000 +0800 | |
| +++ standalone.xml.orig 2022-11-19 01:09:23.000000000 +0800 | |
| @@ -6,17 +6,36 @@ | |
| <extension module="org.jboss.as.connector"/> | |
| <extension module="org.jboss.as.deployment-scanner"/> | |
| <extension module="org.jboss.as.ee"/> | |
| + <extension module="org.jboss.as.ejb3"/> | |
| <extension module="org.jboss.as.jaxrs"/> | |
| + <extension module="org.jboss.as.jdr"/> | |
| <extension module="org.jboss.as.jmx"/> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Only in standalone/configuration: standalone-full-ha.xml | |
| Only in standalone/configuration: standalone-full.xml | |
| Only in standalone/configuration: standalone-ha.xml | |
| Only in standalone/configuration: standalone-load-balancer.xml | |
| Only in standalone/configuration: standalone-microprofile-ha.xml | |
| Only in standalone/configuration: standalone-microprofile.xml | |
| diff -r standalone.new/configuration/standalone.xml standalone/configuration/standalone.xml | |
| 8a9 | |
| > <extension module="org.jboss.as.ejb3"/> | |
| 9a11 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Only in /Users/weli/works/wildfly/dist/target/wildfly-28.0.0.Beta1-SNAPSHOT: appclient | |
| Only in /Users/weli/works/wildfly/dist/target/wildfly-28.0.0.Beta1-SNAPSHOT/bin: domain.bat | |
| Only in /Users/weli/works/wildfly/dist/target/wildfly-28.0.0.Beta1-SNAPSHOT/bin: domain.conf | |
| Only in /Users/weli/works/wildfly/dist/target/wildfly-28.0.0.Beta1-SNAPSHOT/bin: domain.conf.bat | |
| Only in /Users/weli/works/wildfly/dist/target/wildfly-28.0.0.Beta1-SNAPSHOT/bin: domain.conf.ps1 | |
| Only in /Users/weli/works/wildfly/dist/target/wildfly-28.0.0.Beta1-SNAPSHOT/bin: domain.ps1 | |
| Only in /Users/weli/works/wildfly/dist/target/wildfly-28.0.0.Beta1-SNAPSHOT/bin: domain.sh | |
| Only in /Users/weli/works/wildfly/dist/target/wildfly-28.0.0.Beta1-SNAPSHOT/docs/examples/configs: domain-ec2.xml | |
| Only in /Users/weli/works/wildfly/dist/target/wildfly-28.0.0.Beta1-SNAPSHOT/docs/examples/configs: standalone-activemq-colocated.xml | |
| Only in /Users/weli/works/wildfly/dist/target/wildfly-28.0.0.Beta1-SNAPSHOT/docs/examples/configs: standalone-azure-full-ha.xml |
NewerOlder